DXR is a code search and navigation tool aimed at making sense of large projects. It supports full-text and regex searches as well as structural queries.

Mercurial (27a812186ff4)

VCS Links

Line Code
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27
# This Source Code Form is subject to the terms of the Mozilla Public
# License, v. 2.0. If a copy of the MPL was not distributed with this
# file, You can obtain one at http://mozilla.org/MPL/2.0/.

# Setup for build cache

bucket=
if test -z "$SCCACHE_DISABLE" -a -f "$topsrcdir/sccache/sccache.py"; then
    case `hostname` in
    try*spot*.use1.mozilla.com|try*ec2*.use1.mozilla.com)
        bucket=mozilla-releng-s3-cache-us-east-1-try
        ;;
    try*spot*.usw2.mozilla.com|try*ec2*.usw2.mozilla.com)
        bucket=mozilla-releng-s3-cache-us-west-2-try
        ;;
    esac
fi

if test -z "$bucket"; then
    ac_add_options --with-ccache
else
    mk_add_options "export SCCACHE_BUCKET=$bucket"
    mk_add_options "export SCCACHE_NAMESERVER=169.254.169.253"
    ac_add_options "--with-compiler-wrapper=python2.7 $topsrcdir/sccache/sccache.py"
    mk_add_options MOZ_PREFLIGHT+=build/sccache.mk
    mk_add_options MOZ_POSTFLIGHT+=build/sccache.mk
fi