Backed out changeset 2450366cf7ca (bug 1891629) for causing win msix mochitest failures
[gecko.git] / build / mozconfig.common
bloba67407ce4c9553b9ab89aba333380bd44312e849
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-js-shell
21 . "$topsrcdir/build/mozconfig.automation"
22 . "$topsrcdir/build/mozconfig.rust"
23 . "$topsrcdir/build/mozconfig.cache"
25 if [ -n "$TASKCLUSTER_PGO_PROFILE_USE" -a -z "$USE_ARTIFACT" ]; then
26     export MOZ_LTO=cross
27     ac_add_options --enable-profile-use=cross
28     ac_add_options --with-pgo-jarlog="${MOZ_FETCHES_DIR}/en-US.log"
29     ac_add_options --with-pgo-profile-path="${MOZ_FETCHES_DIR}/merged.profdata"