build/mozconfig.common
author AndiAJ <andiaj@users.noreply.github.com>
Tue, 15 Jul 2025 12:24:39 +0000 (10 hours ago)
changeset 796640 bb851a378010881961ccfae598f355ea1211941d
parent 675860 e13c34793b955214e9e6b8f5593272c5d88413ba
permissions -rw-r--r--
Bug 1977313 - Fix failing custom search engines related UI tests r=aaronmt The UI test started to fail after this [[ https://phabricator.services.mozilla.com/D252233 | change ]] landed. To fix the 2 UI tests I've removed the snackbar assertions. Both tests successfuly passed 10x on Firebase ✅ Differential Revision: https://phabricator.services.mozilla.com/D257244
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
104251
ceb6f653de08c195bfc4c7458e4b7e78826d326a Bug 738612 - Include common mozconfigs so try pushes can modify them easily. r=ted
Steve Fink <sfink@mozilla.com>
parents:
diff changeset
     1
# This Source Code Form is subject to the terms of the Mozilla Public
ceb6f653de08c195bfc4c7458e4b7e78826d326a Bug 738612 - Include common mozconfigs so try pushes can modify them easily. r=ted
Steve Fink <sfink@mozilla.com>
parents:
diff changeset
     2
# License, v. 2.0. If a copy of the MPL was not distributed with this
ceb6f653de08c195bfc4c7458e4b7e78826d326a Bug 738612 - Include common mozconfigs so try pushes can modify them easily. r=ted
Steve Fink <sfink@mozilla.com>
parents:
diff changeset
     3
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
ceb6f653de08c195bfc4c7458e4b7e78826d326a Bug 738612 - Include common mozconfigs so try pushes can modify them easily. r=ted
Steve Fink <sfink@mozilla.com>
parents:
diff changeset
     4
142779
543772de681ee33182817f560050e58757475b9f Bug 904979 - Add build option for rel-eng type builds. r=ted
Mike Hommey <mh+mozilla@glandium.org>
parents: 139383
diff changeset
     5
# Common mozconfig for official builds.
104251
ceb6f653de08c195bfc4c7458e4b7e78826d326a Bug 738612 - Include common mozconfigs so try pushes can modify them easily. r=ted
Steve Fink <sfink@mozilla.com>
parents:
diff changeset
     6
#
ceb6f653de08c195bfc4c7458e4b7e78826d326a Bug 738612 - Include common mozconfigs so try pushes can modify them easily. r=ted
Steve Fink <sfink@mozilla.com>
parents:
diff changeset
     7
# Add options to this file that will be inherited by all in-tree mozconfigs.
ceb6f653de08c195bfc4c7458e4b7e78826d326a Bug 738612 - Include common mozconfigs so try pushes can modify them easily. r=ted
Steve Fink <sfink@mozilla.com>
parents:
diff changeset
     8
# This is useful for eg try builds with nondefault options that apply to all
104252
81bbb0b8aff26fa8ff5811eab3c721ae06331416 Bug 738612 - Add mozconfig "override" files to be included after everything else, for overriding previously set options. r=ted
Steve Fink <sfink@mozilla.com>
parents: 104251
diff changeset
     9
# architectures, though note that if you want to override options set in
81bbb0b8aff26fa8ff5811eab3c721ae06331416 Bug 738612 - Add mozconfig "override" files to be included after everything else, for overriding previously set options. r=ted
Steve Fink <sfink@mozilla.com>
parents: 104251
diff changeset
    10
# another mozconfig file, you'll need to use mozconfig.common.override instead
81bbb0b8aff26fa8ff5811eab3c721ae06331416 Bug 738612 - Add mozconfig "override" files to be included after everything else, for overriding previously set options. r=ted
Steve Fink <sfink@mozilla.com>
parents: 104251
diff changeset
    11
# of this file.
129860
b49b5f42be79bf9290a0beca397e4ec7fbe054f4 Bug 863091 - Make auto clobbering opt-in rather than opt-out; r=glandium
Ed Morley <emorley@mozilla.com>
parents: 104252
diff changeset
    12
462726
0d70e7e3302091699c769aa75d7389b1b3c2b5a8 Bug 1530908 - Don't use different mozconfigs for artifact builds. r=chmanchester
Mike Hommey <mh+mozilla@glandium.org>
parents: 459203
diff changeset
    13
if test -n "$USE_ARTIFACT"; then
0d70e7e3302091699c769aa75d7389b1b3c2b5a8 Bug 1530908 - Don't use different mozconfigs for artifact builds. r=chmanchester
Mike Hommey <mh+mozilla@glandium.org>
parents: 459203
diff changeset
    14
. "$topsrcdir/build/mozconfig.artifact.automation"
0d70e7e3302091699c769aa75d7389b1b3c2b5a8 Bug 1530908 - Don't use different mozconfigs for artifact builds. r=chmanchester
Mike Hommey <mh+mozilla@glandium.org>
parents: 459203
diff changeset
    15
fi
0d70e7e3302091699c769aa75d7389b1b3c2b5a8 Bug 1530908 - Don't use different mozconfigs for artifact builds. r=chmanchester
Mike Hommey <mh+mozilla@glandium.org>
parents: 459203
diff changeset
    16
129860
b49b5f42be79bf9290a0beca397e4ec7fbe054f4 Bug 863091 - Make auto clobbering opt-in rather than opt-out; r=glandium
Ed Morley <emorley@mozilla.com>
parents: 104252
diff changeset
    17
mk_add_options AUTOCLOBBER=1
139383
f710d274e85384688e0e987b901d0f9d071ec0a6 Bug 895253 - Disable crash reporter when cross building across different OSes (e.g. OSX android builds). r=ted
Mike Hommey <mh+mozilla@glandium.org>
parents: 129860
diff changeset
    18
288015
72e0643586509c61b8090e5f93f7b4185976d8dc Bug 1254873 - Make --disable-js-shell the default for non-js-standalone builds. r=chmanchester
Mike Hommey <mh+mozilla@glandium.org>
parents: 259958
diff changeset
    19
ac_add_options --enable-js-shell
72e0643586509c61b8090e5f93f7b4185976d8dc Bug 1254873 - Make --disable-js-shell the default for non-js-standalone builds. r=chmanchester
Mike Hommey <mh+mozilla@glandium.org>
parents: 259958
diff changeset
    20
189901
26b95471c5f8f41dfcb207c9358ae70d0f7ad434 Bug 978211 - enable MOZ_AUTOMATION_* flags in linux mozconfigs; r=glandium
Mike Shal <mshal@mozilla.com>
parents: 142779
diff changeset
    21
. "$topsrcdir/build/mozconfig.automation"
326065
71ca80cc382f4d193ffc35adf777de4095c4d3d5 Bug 1283898 - Make tooltool rust available in all automation. r=gps
Ralph Giles <giles@mozilla.com>
parents: 295174
diff changeset
    22
. "$topsrcdir/build/mozconfig.rust"
370944
78f62bcbe088bc85248910a3b02ed8c863e98986 Bug 1382502 - Include mozconfig.cache in most cases. r=ted
Mike Hommey <mh+mozilla@glandium.org>
parents: 370053
diff changeset
    23
. "$topsrcdir/build/mozconfig.cache"
618345
79c8174b22e49fb91455e822fa867bbb81f117c6 Bug 1770251 - Centralize PGO mozconfig bits. r=firefox-build-system-reviewers,andi
Mike Hommey <mh+mozilla@glandium.org>
parents: 580655
diff changeset
    24
79c8174b22e49fb91455e822fa867bbb81f117c6 Bug 1770251 - Centralize PGO mozconfig bits. r=firefox-build-system-reviewers,andi
Mike Hommey <mh+mozilla@glandium.org>
parents: 580655
diff changeset
    25
if [ -n "$TASKCLUSTER_PGO_PROFILE_USE" -a -z "$USE_ARTIFACT" ]; then
79c8174b22e49fb91455e822fa867bbb81f117c6 Bug 1770251 - Centralize PGO mozconfig bits. r=firefox-build-system-reviewers,andi
Mike Hommey <mh+mozilla@glandium.org>
parents: 580655
diff changeset
    26
    export MOZ_LTO=cross
79c8174b22e49fb91455e822fa867bbb81f117c6 Bug 1770251 - Centralize PGO mozconfig bits. r=firefox-build-system-reviewers,andi
Mike Hommey <mh+mozilla@glandium.org>
parents: 580655
diff changeset
    27
    ac_add_options --enable-profile-use=cross
79c8174b22e49fb91455e822fa867bbb81f117c6 Bug 1770251 - Centralize PGO mozconfig bits. r=firefox-build-system-reviewers,andi
Mike Hommey <mh+mozilla@glandium.org>
parents: 580655
diff changeset
    28
    ac_add_options --with-pgo-jarlog="${MOZ_FETCHES_DIR}/en-US.log"
79c8174b22e49fb91455e822fa867bbb81f117c6 Bug 1770251 - Centralize PGO mozconfig bits. r=firefox-build-system-reviewers,andi
Mike Hommey <mh+mozilla@glandium.org>
parents: 580655
diff changeset
    29
    ac_add_options --with-pgo-profile-path="${MOZ_FETCHES_DIR}/merged.profdata"
79c8174b22e49fb91455e822fa867bbb81f117c6 Bug 1770251 - Centralize PGO mozconfig bits. r=firefox-build-system-reviewers,andi
Mike Hommey <mh+mozilla@glandium.org>
parents: 580655
diff changeset
    30
fi