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 # Common mozconfig for official builds.
7 # Add options to this file that will be inherited by all in-tree mozconfigs.
8 # This is useful for eg try builds with nondefault options that apply to all
9 # architectures, though note that if you want to override options set in
10 # another mozconfig file, you'll need to use mozconfig.common.override instead
13 if test -n "$USE_ARTIFACT"; then
14 . "$topsrcdir/build/mozconfig.artifact.automation"
17 mk_add_options AUTOCLOBBER=1
19 ac_add_options --enable-crashreporter
21 ac_add_options --enable-js-shell
23 . "$topsrcdir/build/mozconfig.automation"
24 . "$topsrcdir/build/mozconfig.rust"
25 . "$topsrcdir/build/mozconfig.cache"
27 if [ -n "$TASKCLUSTER_PGO_PROFILE_USE" -a -z "$USE_ARTIFACT" ]; then
29 ac_add_options --enable-profile-use=cross
30 ac_add_options --with-pgo-jarlog="${MOZ_FETCHES_DIR}/en-US.log"
31 ac_add_options --with-pgo-profile-path="${MOZ_FETCHES_DIR}/merged.profdata"