allowlist (1029B)
1 # 'nightly' contains things that are in nightly mozconfigs and allowed to be missing from release builds. 2 # Other keys in allowlist contain things are in that branches mozconfigs and allowed to be missing from nightly builds. 3 allowlist = { 4 'release': {}, 5 'nightly': {}, 6 } 7 8 all_platforms = ['win64', 'win64-aarch64', 'win32', 'linux64', 'macosx64'] 9 10 for platform in all_platforms: 11 allowlist['nightly'][platform] = [ 12 'ac_add_options --with-branding=browser/branding/nightly', 13 ] 14 15 allowlist['nightly']['macosx64'] += [ 16 'ac_add_options --enable-instruments', 17 ] 18 19 allowlist['nightly']['win64'] += [ 20 '. "$topsrcdir/browser/config/mozconfigs/win64/common-win64"', 21 ] 22 23 for platform in all_platforms: 24 allowlist['release'][platform] = [ 25 'ac_add_options --enable-update-channel=release', 26 'ac_add_options --enable-official-branding', 27 ] 28 29 allowlist['release']['linux64'] += [ 30 'export MOZILLA_OFFICIAL=1', 31 ] 32 33 if __name__ == '__main__': 34 import pprint 35 pprint.pprint(allowlist)