mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-23 02:05:42 +00:00
950df90502
moz.configure automatically enables profiling if the milestone is Nightly (see js/moz.configure:226). So, --enable-profiling in the nightly mozconfigs is redundant and can be removed. The whitelist has also been updated to reflect the removal of this line. MozReview-Commit-ID: 7nUJVcFOp6c --HG-- extra : rebase_source : 86db8c2bf646c83701ade8c4a10d667d1c2da6f1
52 lines
1.6 KiB
Plaintext
52 lines
1.6 KiB
Plaintext
# 'nightly' contains things that are in nightly mozconfigs and allowed to be missing from release builds.
|
|
# Other keys in whitelist contain things are in that branches mozconfigs and allowed to be missing from nightly builds.
|
|
whitelist = {
|
|
'release': {},
|
|
'nightly': {},
|
|
}
|
|
|
|
all_platforms = ['win64', 'win32', 'linux32', 'linux64', 'macosx64']
|
|
|
|
for platform in all_platforms:
|
|
whitelist['nightly'][platform] = [
|
|
'ac_add_options --with-branding=browser/branding/nightly',
|
|
]
|
|
|
|
whitelist['nightly']['macosx64'] += [
|
|
'ac_add_options --disable-install-strip',
|
|
'ac_add_options --enable-instruments',
|
|
'ac_add_options --enable-dtrace',
|
|
'if test `uname -s` != Linux; then',
|
|
]
|
|
|
|
whitelist['nightly']['win64'] += [
|
|
'. "$topsrcdir/browser/config/mozconfigs/win64/common-win64"',
|
|
]
|
|
|
|
for platform in all_platforms:
|
|
whitelist['release'][platform] = [
|
|
'ac_add_options --enable-update-channel=release',
|
|
'ac_add_options --enable-official-branding',
|
|
'export BUILDING_RELEASE=1',
|
|
'if [ -n "$ENABLE_RELEASE_PROMOTION" ]; then',
|
|
'MOZ_AUTOMATION_UPDATE_PACKAGING=1',
|
|
'fi',
|
|
]
|
|
whitelist['release']['win32'] += ['ac_add_options MOZ_PGO=1']
|
|
whitelist['release']['win64'] += ['ac_add_options MOZ_PGO=1']
|
|
|
|
whitelist['release']['linux32'] += [
|
|
'export MOZILLA_OFFICIAL=1',
|
|
'export MOZ_TELEMETRY_REPORTING=1',
|
|
'ac_add_options MOZ_PGO=1',
|
|
]
|
|
whitelist['release']['linux64'] += [
|
|
'export MOZILLA_OFFICIAL=1',
|
|
'export MOZ_TELEMETRY_REPORTING=1',
|
|
'ac_add_options MOZ_PGO=1',
|
|
]
|
|
|
|
if __name__ == '__main__':
|
|
import pprint
|
|
pprint.pprint(whitelist)
|