Bug 1839316: part 5) Guard the "fetchpriority" attribute behind a pref. r=kershaw...
[gecko.git] / build / mozconfig.common
blobe40875b9e0aff64862df92078e06032153d3f74e
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
11 # of this file.
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
28     export MOZ_LTO=cross
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"