1 # This Source Code Form is subject to the terms of the Mozilla Public
2 # License, v. 2.0. If a copy of the MPL was not distributed with this
3 # file, You can obtain one at http://mozilla.org/MPL/2.0/.
5 MOZ_AUTOMATION_L10N_CHECK=0
7 if [ "x$IS_NIGHTLY" = "xyes" ]; then
8 MOZ_AUTOMATION_UPLOAD_SYMBOLS=1
9 MOZ_AUTOMATION_UPDATE_PACKAGING=1
11 . "$topsrcdir/build/mozconfig.common"
13 if [ -d "$topsrcdir/clang" ]; then
14 # mozilla-central based build
15 export CC=$topsrcdir/clang/bin/clang
16 export CXX=$topsrcdir/clang/bin/clang++
17 export LLVMCONFIG=$topsrcdir/clang/bin/llvm-config
18 elif [ -d "$topsrcdir/../clang" ]; then
19 # comm-central based build
20 export CC=$topsrcdir/../clang/bin/clang
21 export CXX=$topsrcdir/../clang/bin/clang++
22 export LLVMCONFIG=$topsrcdir/../clang/bin/llvm-config
25 # If not set use the system default clang
30 # If not set use the system default clang++
31 if [ -z "$CXX" ]; then
35 . "$topsrcdir/build/mozconfig.cache"