summaryrefslogtreecommitdiffstats
path: root/browser/config/mozconfigs/whitelist
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-07 17:32:43 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-07 17:32:43 +0000
commit6bf0a5cb5034a7e684dcc3500e841785237ce2dd (patch)
treea68f146d7fa01f0134297619fbe7e33db084e0aa /browser/config/mozconfigs/whitelist
parentInitial commit. (diff)
downloadthunderbird-upstream.tar.xz
thunderbird-upstream.zip
Adding upstream version 1:115.7.0.upstream/1%115.7.0upstream
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'browser/config/mozconfigs/whitelist')
-rw-r--r--browser/config/mozconfigs/whitelist41
1 files changed, 41 insertions, 0 deletions
diff --git a/browser/config/mozconfigs/whitelist b/browser/config/mozconfigs/whitelist
new file mode 100644
index 0000000000..d4300b0344
--- /dev/null
+++ b/browser/config/mozconfigs/whitelist
@@ -0,0 +1,41 @@
+# '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', 'win64-aarch64', '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 --enable-instruments',
+ 'ac_add_options --enable-dtrace',
+ 'if test `uname -s` != Linux; then',
+ 'fi',
+]
+
+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',
+ ]
+
+whitelist['release']['linux32'] += [
+ 'export MOZILLA_OFFICIAL=1',
+]
+whitelist['release']['linux64'] += [
+ 'export MOZILLA_OFFICIAL=1',
+]
+
+if __name__ == '__main__':
+ import pprint
+ pprint.pprint(whitelist)