1 # 'nightly' contains things that are in nightly mozconfigs and allowed to be missing from release builds.
2 # Other keys in whitelist contain things are in that branches mozconfigs and allowed to be missing from nightly builds.
8 all_platforms = ['win64', 'win64-aarch64', 'win32', 'linux32', 'linux64', 'macosx64']
10 for platform in all_platforms:
11 whitelist['nightly'][platform] = [
12 'ac_add_options --with-branding=browser/branding/nightly',
15 whitelist['nightly']['macosx64'] += [
16 'ac_add_options --enable-instruments',
17 'ac_add_options --enable-dtrace',
18 'if test `uname -s` != Linux; then',
22 whitelist['nightly']['win64'] += [
23 '. "$topsrcdir/browser/config/mozconfigs/win64/common-win64"',
26 for platform in all_platforms:
27 whitelist['release'][platform] = [
28 'ac_add_options --enable-update-channel=release',
29 'ac_add_options --enable-official-branding',
32 whitelist['release']['linux32'] += [
33 'export MOZILLA_OFFICIAL=1',
35 whitelist['release']['linux64'] += [
36 'export MOZILLA_OFFICIAL=1',
39 if __name__ == '__main__':
41 pprint.pprint(whitelist)