summaryrefslogtreecommitdiffstats
path: root/comm/mail/config
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 /comm/mail/config
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 'comm/mail/config')
-rw-r--r--comm/mail/config/mozconfigs/common3
-rw-r--r--comm/mail/config/mozconfigs/l10n-common12
-rw-r--r--comm/mail/config/mozconfigs/linux32/common-linux3212
-rw-r--r--comm/mail/config/mozconfigs/linux32/debug4
-rw-r--r--comm/mail/config/mozconfigs/linux32/l10n-mozconfig6
-rw-r--r--comm/mail/config/mozconfigs/linux32/nightly2
-rw-r--r--comm/mail/config/mozconfigs/linux32/release3
-rw-r--r--comm/mail/config/mozconfigs/linux64-aarch64/common19
-rw-r--r--comm/mail/config/mozconfigs/linux64-aarch64/opt2
-rw-r--r--comm/mail/config/mozconfigs/linux64/code-coverage16
-rw-r--r--comm/mail/config/mozconfigs/linux64/code-coverage-debug9
-rw-r--r--comm/mail/config/mozconfigs/linux64/code-coverage-opt9
-rw-r--r--comm/mail/config/mozconfigs/linux64/common-linux6412
-rw-r--r--comm/mail/config/mozconfigs/linux64/debug4
-rw-r--r--comm/mail/config/mozconfigs/linux64/debug-searchfox-clang14
-rw-r--r--comm/mail/config/mozconfigs/linux64/l10n-mozconfig1
-rw-r--r--comm/mail/config/mozconfigs/linux64/nightly2
-rw-r--r--comm/mail/config/mozconfigs/linux64/nightly-asan23
-rw-r--r--comm/mail/config/mozconfigs/linux64/nightly-asan-reporter18
-rw-r--r--comm/mail/config/mozconfigs/linux64/release3
-rw-r--r--comm/mail/config/mozconfigs/linux64/source11
-rw-r--r--comm/mail/config/mozconfigs/linux64/tsan22
-rw-r--r--comm/mail/config/mozconfigs/macosx64-aarch64/common-opt21
-rw-r--r--comm/mail/config/mozconfigs/macosx64-aarch64/nightly12
-rw-r--r--comm/mail/config/mozconfigs/macosx64-aarch64/release7
-rw-r--r--comm/mail/config/mozconfigs/macosx64/common-opt9
-rw-r--r--comm/mail/config/mozconfigs/macosx64/debug12
-rw-r--r--comm/mail/config/mozconfigs/macosx64/debug-searchfox13
-rw-r--r--comm/mail/config/mozconfigs/macosx64/l10n-mozconfig9
-rw-r--r--comm/mail/config/mozconfigs/macosx64/nightly12
-rw-r--r--comm/mail/config/mozconfigs/macosx64/release7
-rw-r--r--comm/mail/config/mozconfigs/win32/common-win3219
-rw-r--r--comm/mail/config/mozconfigs/win32/debug18
-rw-r--r--comm/mail/config/mozconfigs/win32/l10n-mozconfig2
-rw-r--r--comm/mail/config/mozconfigs/win32/nightly19
-rw-r--r--comm/mail/config/mozconfigs/win32/release15
-rw-r--r--comm/mail/config/mozconfigs/win64/common-win6419
-rw-r--r--comm/mail/config/mozconfigs/win64/debug18
-rw-r--r--comm/mail/config/mozconfigs/win64/debug-searchfox16
-rw-r--r--comm/mail/config/mozconfigs/win64/l10n-mozconfig2
-rw-r--r--comm/mail/config/mozconfigs/win64/nightly20
-rw-r--r--comm/mail/config/mozconfigs/win64/nightly-asan17
-rw-r--r--comm/mail/config/mozconfigs/win64/nightly-asan-reporter20
-rw-r--r--comm/mail/config/mozconfigs/win64/plain-debug3
-rw-r--r--comm/mail/config/mozconfigs/win64/plain-opt6
-rw-r--r--comm/mail/config/mozconfigs/win64/release14
-rw-r--r--comm/mail/config/version.txt1
-rw-r--r--comm/mail/config/version_display.txt1
-rw-r--r--comm/mail/config/whats_new_page.yml28
49 files changed, 547 insertions, 0 deletions
diff --git a/comm/mail/config/mozconfigs/common b/comm/mail/config/mozconfigs/common
new file mode 100644
index 0000000000..3017815b5a
--- /dev/null
+++ b/comm/mail/config/mozconfigs/common
@@ -0,0 +1,3 @@
+ac_add_options --enable-project=comm/mail
+
+. "$topsrcdir/build/mozconfig.common.override"
diff --git a/comm/mail/config/mozconfigs/l10n-common b/comm/mail/config/mozconfigs/l10n-common
new file mode 100644
index 0000000000..151ac3f02d
--- /dev/null
+++ b/comm/mail/config/mozconfigs/l10n-common
@@ -0,0 +1,12 @@
+. "$topsrcdir/comm/mail/config/mozconfigs/common"
+
+ac_add_options --enable-official-branding
+
+ac_add_options --enable-update-channel="${MOZ_UPDATE_CHANNEL}"
+ac_add_options --disable-nodejs
+. "$topsrcdir/build/mozconfig.no-compile"
+
+# Needed to enable breakpad in application.ini
+export MOZILLA_OFFICIAL=1
+
+ac_add_options --with-l10n-base="${MOZ_FETCHES_DIR}/l10n-central"
diff --git a/comm/mail/config/mozconfigs/linux32/common-linux32 b/comm/mail/config/mozconfigs/linux32/common-linux32
new file mode 100644
index 0000000000..a95b77b46f
--- /dev/null
+++ b/comm/mail/config/mozconfigs/linux32/common-linux32
@@ -0,0 +1,12 @@
+# This file is sourced by the nightly, debug, and release mozconfigs.
+. "$topsrcdir/build/unix/mozconfig.linux32"
+
+ac_add_options --enable-update-channel=${MOZ_UPDATE_CHANNEL}
+
+# Needed to enable breakpad in application.ini
+export MOZILLA_OFFICIAL=1
+
+# Package js shell.
+export MOZ_PACKAGE_JSSHELL=1
+
+. "$topsrcdir/comm/mail/config/mozconfigs/common"
diff --git a/comm/mail/config/mozconfigs/linux32/debug b/comm/mail/config/mozconfigs/linux32/debug
new file mode 100644
index 0000000000..08f3610baf
--- /dev/null
+++ b/comm/mail/config/mozconfigs/linux32/debug
@@ -0,0 +1,4 @@
+. "$topsrcdir/comm/build/mozconfig.comm-sccache"
+. "$topsrcdir/comm/mail/config/mozconfigs/linux32/common-linux32"
+
+ac_add_options --enable-debug
diff --git a/comm/mail/config/mozconfigs/linux32/l10n-mozconfig b/comm/mail/config/mozconfigs/linux32/l10n-mozconfig
new file mode 100644
index 0000000000..56ebfc01a8
--- /dev/null
+++ b/comm/mail/config/mozconfigs/linux32/l10n-mozconfig
@@ -0,0 +1,6 @@
+. "$topsrcdir/comm/mail/config/mozconfigs/l10n-common"
+
+if test `uname -m` = "x86_64"; then
+ ac_add_options --target=i686-pc-linux
+ ac_add_options --host=i686-pc-linux
+fi
diff --git a/comm/mail/config/mozconfigs/linux32/nightly b/comm/mail/config/mozconfigs/linux32/nightly
new file mode 100644
index 0000000000..213649c860
--- /dev/null
+++ b/comm/mail/config/mozconfigs/linux32/nightly
@@ -0,0 +1,2 @@
+. "$topsrcdir/comm/build/mozconfig.comm-sccache"
+. "$topsrcdir/comm/mail/config/mozconfigs/linux32/common-linux32"
diff --git a/comm/mail/config/mozconfigs/linux32/release b/comm/mail/config/mozconfigs/linux32/release
new file mode 100644
index 0000000000..17ac4c3276
--- /dev/null
+++ b/comm/mail/config/mozconfigs/linux32/release
@@ -0,0 +1,3 @@
+. "$topsrcdir/comm/mail/config/mozconfigs/linux32/common-linux32"
+
+ac_add_options --enable-official-branding
diff --git a/comm/mail/config/mozconfigs/linux64-aarch64/common b/comm/mail/config/mozconfigs/linux64-aarch64/common
new file mode 100644
index 0000000000..8d7f17fef7
--- /dev/null
+++ b/comm/mail/config/mozconfigs/linux64-aarch64/common
@@ -0,0 +1,19 @@
+# This file is sourced by the nightly, debug, and release mozconfigs.
+. "$topsrcdir/build/unix/mozconfig.linux"
+
+ac_add_options --enable-update-channel=${MOZ_UPDATE_CHANNEL}
+
+. $topsrcdir/build/unix/mozconfig.linux
+
+unset NASM
+ac_add_options --target=aarch64
+
+# Needed to enable breakpad in application.ini
+export MOZILLA_OFFICIAL=1
+
+# Package js shell.
+export MOZ_PACKAGE_JSSHELL=1
+
+unset MOZ_STDCXX_COMPAT
+
+. "$topsrcdir/comm/mail/config/mozconfigs/common"
diff --git a/comm/mail/config/mozconfigs/linux64-aarch64/opt b/comm/mail/config/mozconfigs/linux64-aarch64/opt
new file mode 100644
index 0000000000..5579142578
--- /dev/null
+++ b/comm/mail/config/mozconfigs/linux64-aarch64/opt
@@ -0,0 +1,2 @@
+. "$topsrcdir/comm/build/mozconfig.comm-sccache"
+. "$topsrcdir/comm/mail/config/mozconfigs/linux64-aarch64/common"
diff --git a/comm/mail/config/mozconfigs/linux64/code-coverage b/comm/mail/config/mozconfigs/linux64/code-coverage
new file mode 100644
index 0000000000..d072916ff5
--- /dev/null
+++ b/comm/mail/config/mozconfigs/linux64/code-coverage
@@ -0,0 +1,16 @@
+. "$topsrcdir/comm/mail/config/mozconfigs/linux64/nightly"
+
+ac_add_options --disable-install-strip
+ac_add_options --disable-elf-hack
+ac_add_options --disable-sandbox
+ac_add_options --disable-dmd
+ac_add_options --disable-profiling
+ac_add_options --disable-warnings-as-errors
+ac_add_options --without-wasm-sandboxed-libraries
+ac_add_options --enable-coverage
+
+CLANG_LIB_DIR="$(cd $MOZ_FETCHES_DIR/clang/lib/clang/* && cd lib/linux && pwd)"
+export LDFLAGS="--coverage -L$CLANG_LIB_DIR"
+export LIBS="-lclang_rt.profile-x86_64"
+export RUSTFLAGS="-Ccodegen-units=1 -Zprofile -Cpanic=abort -Zpanic_abort_tests -Clink-dead-code -Coverflow-checks=off"
+export RUSTDOCFLAGS="-Cpanic=abort"
diff --git a/comm/mail/config/mozconfigs/linux64/code-coverage-debug b/comm/mail/config/mozconfigs/linux64/code-coverage-debug
new file mode 100644
index 0000000000..f362f2ba41
--- /dev/null
+++ b/comm/mail/config/mozconfigs/linux64/code-coverage-debug
@@ -0,0 +1,9 @@
+. "$topsrcdir/comm/mail/config/mozconfigs/linux64/code-coverage"
+
+ac_add_options --enable-debug=-g1
+ac_add_options --enable-rust-tests
+
+# https://bugs.llvm.org/show_bug.cgi?id=49226
+# LLD 12.0.0 had a behavior change that breaks coverage builds.
+# Passing --no-fortran-common restores the old behavior.
+export LDFLAGS="$LDFLAGS -Wl,--no-fortran-common"
diff --git a/comm/mail/config/mozconfigs/linux64/code-coverage-opt b/comm/mail/config/mozconfigs/linux64/code-coverage-opt
new file mode 100644
index 0000000000..427eeaaf3b
--- /dev/null
+++ b/comm/mail/config/mozconfigs/linux64/code-coverage-opt
@@ -0,0 +1,9 @@
+. "$topsrcdir/comm/mail/config/mozconfigs/linux64/code-coverage"
+
+ac_add_options --enable-debug-symbols=-g1
+ac_add_options --enable-rust-tests
+
+# https://bugs.llvm.org/show_bug.cgi?id=49226
+# LLD 12.0.0 had a behavior change that breaks coverage builds.
+# Passing --no-fortran-common restores the old behavior.
+export LDFLAGS="$LDFLAGS -Wl,--no-fortran-common"
diff --git a/comm/mail/config/mozconfigs/linux64/common-linux64 b/comm/mail/config/mozconfigs/linux64/common-linux64
new file mode 100644
index 0000000000..14f08de4d4
--- /dev/null
+++ b/comm/mail/config/mozconfigs/linux64/common-linux64
@@ -0,0 +1,12 @@
+# This file is sourced by the nightly, debug, and release mozconfigs.
+. "$topsrcdir/build/unix/mozconfig.linux"
+
+ac_add_options --enable-update-channel=${MOZ_UPDATE_CHANNEL}
+
+# Needed to enable breakpad in application.ini
+export MOZILLA_OFFICIAL=1
+
+# Package js shell.
+export MOZ_PACKAGE_JSSHELL=1
+
+. "$topsrcdir/comm/mail/config/mozconfigs/common"
diff --git a/comm/mail/config/mozconfigs/linux64/debug b/comm/mail/config/mozconfigs/linux64/debug
new file mode 100644
index 0000000000..ce0b53d48d
--- /dev/null
+++ b/comm/mail/config/mozconfigs/linux64/debug
@@ -0,0 +1,4 @@
+. "$topsrcdir/comm/build/mozconfig.comm-sccache"
+. "$topsrcdir/comm/mail/config/mozconfigs/linux64/common-linux64"
+
+ac_add_options --enable-debug
diff --git a/comm/mail/config/mozconfigs/linux64/debug-searchfox-clang b/comm/mail/config/mozconfigs/linux64/debug-searchfox-clang
new file mode 100644
index 0000000000..d106cf76fa
--- /dev/null
+++ b/comm/mail/config/mozconfigs/linux64/debug-searchfox-clang
@@ -0,0 +1,14 @@
+MOZ_AUTOMATION_BUILD_SYMBOLS=0
+MOZ_AUTOMATION_CHECK=0
+
+. "$topsrcdir/build/unix/mozconfig.linux"
+. "$topsrcdir/comm/mail/config/mozconfigs/common"
+
+ac_add_options --enable-debug
+
+# Add the static checker
+ac_add_options --enable-clang-plugin
+ac_add_options --enable-mozsearch-plugin
+
+# Disable enforcing that add-ons are signed by the trusted root
+MOZ_REQUIRE_ADDON_SIGNING=0
diff --git a/comm/mail/config/mozconfigs/linux64/l10n-mozconfig b/comm/mail/config/mozconfigs/linux64/l10n-mozconfig
new file mode 100644
index 0000000000..a370f145f0
--- /dev/null
+++ b/comm/mail/config/mozconfigs/linux64/l10n-mozconfig
@@ -0,0 +1 @@
+. "$topsrcdir/comm/mail/config/mozconfigs/l10n-common"
diff --git a/comm/mail/config/mozconfigs/linux64/nightly b/comm/mail/config/mozconfigs/linux64/nightly
new file mode 100644
index 0000000000..25616f9ff8
--- /dev/null
+++ b/comm/mail/config/mozconfigs/linux64/nightly
@@ -0,0 +1,2 @@
+. "$topsrcdir/comm/build/mozconfig.comm-sccache"
+. "$topsrcdir/comm/mail/config/mozconfigs/linux64/common-linux64"
diff --git a/comm/mail/config/mozconfigs/linux64/nightly-asan b/comm/mail/config/mozconfigs/linux64/nightly-asan
new file mode 100644
index 0000000000..1e2faf5767
--- /dev/null
+++ b/comm/mail/config/mozconfigs/linux64/nightly-asan
@@ -0,0 +1,23 @@
+. "$topsrcdir/comm/build/mozconfig.comm-sccache"
+. "$topsrcdir/comm/mail/config/mozconfigs/linux64/common-linux64"
+
+# We still need to build with debug symbols
+ac_add_options --disable-debug
+ac_add_options --enable-optimize="-O2 -gline-tables-only"
+
+# ASan specific options on Linux
+ac_add_options --enable-valgrind
+
+. "$topsrcdir/build/unix/mozconfig.asan"
+ac_add_options --disable-elf-hack
+
+# Piggybacking UBSan for now since only a small subset of checks are enabled.
+# A new build can be created when appropriate.
+ac_add_options --enable-undefined-sanitizer
+
+# Need this to prevent name conflicts with the normal nightly build packages
+export MOZ_PKG_SPECIAL=asan
+
+# Disable telemetry
+ac_add_options MOZ_TELEMETRY_REPORTING=
+
diff --git a/comm/mail/config/mozconfigs/linux64/nightly-asan-reporter b/comm/mail/config/mozconfigs/linux64/nightly-asan-reporter
new file mode 100644
index 0000000000..c38fa607a4
--- /dev/null
+++ b/comm/mail/config/mozconfigs/linux64/nightly-asan-reporter
@@ -0,0 +1,18 @@
+. "$topsrcdir/comm/mail/config/mozconfigs/linux64/common-linux64"
+
+# We still need to build with debug symbols
+ac_add_options --disable-debug
+ac_add_options --enable-optimize="-O2 -gline-tables-only"
+
+# ASan specific options on Linux
+ac_add_options --enable-valgrind
+
+. $topsrcdir/build/unix/mozconfig.asan
+ac_add_options --disable-elf-hack
+
+ac_add_options --enable-address-sanitizer-reporter
+
+# Need this to prevent name conflicts with the normal nightly build packages
+export MOZ_PKG_SPECIAL=asan-reporter
+
+. "$topsrcdir/build/mozconfig.common.override"
diff --git a/comm/mail/config/mozconfigs/linux64/release b/comm/mail/config/mozconfigs/linux64/release
new file mode 100644
index 0000000000..65ab47554f
--- /dev/null
+++ b/comm/mail/config/mozconfigs/linux64/release
@@ -0,0 +1,3 @@
+. "$topsrcdir/comm/mail/config/mozconfigs/linux64/common-linux64"
+
+ac_add_options --enable-official-branding
diff --git a/comm/mail/config/mozconfigs/linux64/source b/comm/mail/config/mozconfigs/linux64/source
new file mode 100644
index 0000000000..e4095057f0
--- /dev/null
+++ b/comm/mail/config/mozconfigs/linux64/source
@@ -0,0 +1,11 @@
+. "$topsrcdir/comm/mail/config/mozconfigs/common"
+
+# The source "build" only needs a mozconfig because we use the build system as
+# our script for generating it. This allows us to run configure without any
+# extra dependencies on specific toolchains, e.g. gtk3.
+. "$topsrcdir/build/mozconfig.no-compile"
+
+# mozconfig.no-compile does not remove nodejs requirement.
+# The source mozconfig for FF includes the following:
+ac_add_options --disable-nodejs
+unset NODEJS
diff --git a/comm/mail/config/mozconfigs/linux64/tsan b/comm/mail/config/mozconfigs/linux64/tsan
new file mode 100644
index 0000000000..2373188558
--- /dev/null
+++ b/comm/mail/config/mozconfigs/linux64/tsan
@@ -0,0 +1,22 @@
+. "$topsrcdir/comm/build/mozconfig.comm-sccache"
+. "$topsrcdir/comm/mail/config/mozconfigs/linux64/common-linux64"
+
+# We still need to build with debug symbols
+ac_add_options --disable-debug
+ac_add_options --enable-optimize="-O2 -gline-tables-only"
+
+. $topsrcdir/build/unix/mozconfig.linux
+. $topsrcdir/build/unix/mozconfig.tsan
+ac_add_options --disable-elf-hack
+
+# Need this to prevent name conflicts with the normal nightly build packages
+export MOZ_PKG_SPECIAL=tsan
+
+# Disable telemetry
+ac_add_options MOZ_TELEMETRY_REPORTING=
+
+# rustfmt is currently missing in Rust nightly
+unset RUSTFMT
+
+# Current Rust Nightly has warnings
+ac_add_options --disable-warnings-as-errors
diff --git a/comm/mail/config/mozconfigs/macosx64-aarch64/common-opt b/comm/mail/config/mozconfigs/macosx64-aarch64/common-opt
new file mode 100644
index 0000000000..f1f39b7c53
--- /dev/null
+++ b/comm/mail/config/mozconfigs/macosx64-aarch64/common-opt
@@ -0,0 +1,21 @@
+# This file is sourced by the nightly and release mozconfigs.
+
+. $topsrcdir/build/macosx/mozconfig.common
+
+ac_add_options --enable-update-channel=${MOZ_UPDATE_CHANNEL}
+
+# Needed to enable breakpad in application.ini
+export MOZILLA_OFFICIAL=1
+
+# Package js shell.
+export MOZ_PACKAGE_JSSHELL=1
+
+ac_add_options --target=aarch64-apple-darwin
+
+# As of Clang 13, the default is -mcpu=apple-m1 when using a aarch64-apple-macos target,
+# but we're using apple64-apple-darwin, which defaults to -mcpu=apple-a7, which disables
+# a bunch of # performance-enabling CPU features.
+# TODO: We'll want to switch to aarch64-apple-macos eventually.
+export CFLAGS="$CFLAGS -mcpu=apple-m1"
+export CXXFLAGS="$CXXFLAGS -mcpu=apple-m1"
+
diff --git a/comm/mail/config/mozconfigs/macosx64-aarch64/nightly b/comm/mail/config/mozconfigs/macosx64-aarch64/nightly
new file mode 100644
index 0000000000..deaffb107e
--- /dev/null
+++ b/comm/mail/config/mozconfigs/macosx64-aarch64/nightly
@@ -0,0 +1,12 @@
+. "$topsrcdir/comm/build/mozconfig.comm-sccache"
+. "$topsrcdir/comm/mail/config/mozconfigs/macosx64-aarch64/common-opt"
+
+# Cross-compiled builds fail when dtrace is enabled
+if test `uname -s` != Linux; then
+ ac_add_options --enable-dtrace
+fi
+
+ac_add_options --enable-update-channel="${MOZ_UPDATE_CHANNEL}"
+ac_add_options --enable-profiling
+
+. "$topsrcdir/comm/mail/config/mozconfigs/common"
diff --git a/comm/mail/config/mozconfigs/macosx64-aarch64/release b/comm/mail/config/mozconfigs/macosx64-aarch64/release
new file mode 100644
index 0000000000..934b4afd01
--- /dev/null
+++ b/comm/mail/config/mozconfigs/macosx64-aarch64/release
@@ -0,0 +1,7 @@
+. "$topsrcdir/comm/build/mozconfig.comm-sccache"
+. "$topsrcdir/comm/mail/config/mozconfigs/macosx64-aarch64/common-opt"
+
+ac_add_options --enable-update-channel="${MOZ_UPDATE_CHANNEL}"
+ac_add_options --enable-official-branding
+
+. "$topsrcdir/comm/mail/config/mozconfigs/common"
diff --git a/comm/mail/config/mozconfigs/macosx64/common-opt b/comm/mail/config/mozconfigs/macosx64/common-opt
new file mode 100644
index 0000000000..2983e69a64
--- /dev/null
+++ b/comm/mail/config/mozconfigs/macosx64/common-opt
@@ -0,0 +1,9 @@
+# This file is sourced by the nightly, and release mozconfigs.
+
+. $topsrcdir/build/macosx/mozconfig.common
+
+ # Needed to enable breakpad in application.ini
+export MOZILLA_OFFICIAL=1
+
+# Package js shell.
+export MOZ_PACKAGE_JSSHELL=1
diff --git a/comm/mail/config/mozconfigs/macosx64/debug b/comm/mail/config/mozconfigs/macosx64/debug
new file mode 100644
index 0000000000..3e1e712183
--- /dev/null
+++ b/comm/mail/config/mozconfigs/macosx64/debug
@@ -0,0 +1,12 @@
+. "$topsrcdir/comm/build/mozconfig.comm-sccache"
+. "$topsrcdir/build/macosx/mozconfig.common"
+
+ac_add_options --enable-debug
+
+# Needed to enable breakpad in application.ini
+export MOZILLA_OFFICIAL=1
+
+# Package js shell
+export MOZ_PACKAGE_JSSHELL=1
+
+. "$topsrcdir/comm/mail/config/mozconfigs/common"
diff --git a/comm/mail/config/mozconfigs/macosx64/debug-searchfox b/comm/mail/config/mozconfigs/macosx64/debug-searchfox
new file mode 100644
index 0000000000..dc24864212
--- /dev/null
+++ b/comm/mail/config/mozconfigs/macosx64/debug-searchfox
@@ -0,0 +1,13 @@
+MOZ_AUTOMATION_BUILD_SYMBOLS=0
+MOZ_AUTOMATION_CHECK=0
+
+. "$topsrcdir/build/macosx/mozconfig.common"
+. "$topsrcdir/comm/mail/config/mozconfigs/common"
+
+ac_add_options --enable-debug
+
+ac_add_options --enable-clang-plugin
+ac_add_options --enable-mozsearch-plugin
+
+# Disable enforcing that add-ons are signed by the trusted root
+MOZ_REQUIRE_ADDON_SIGNING=0
diff --git a/comm/mail/config/mozconfigs/macosx64/l10n-mozconfig b/comm/mail/config/mozconfigs/macosx64/l10n-mozconfig
new file mode 100644
index 0000000000..d4fe5a2b15
--- /dev/null
+++ b/comm/mail/config/mozconfigs/macosx64/l10n-mozconfig
@@ -0,0 +1,9 @@
+. "$topsrcdir/comm/mail/config/mozconfigs/l10n-common"
+
+if test `uname -s` = "Linux"; then
+ # We need to indicate the target for cross builds
+ ac_add_options --target=x86_64-apple-darwin
+ export MKFSHFS=$MOZ_FETCHES_DIR/hfsplus/newfs_hfs
+ export DMG_TOOL=$MOZ_FETCHES_DIR/dmg/dmg
+ export HFS_TOOL=$MOZ_FETCHES_DIR/dmg/hfsplus
+fi
diff --git a/comm/mail/config/mozconfigs/macosx64/nightly b/comm/mail/config/mozconfigs/macosx64/nightly
new file mode 100644
index 0000000000..9923e20766
--- /dev/null
+++ b/comm/mail/config/mozconfigs/macosx64/nightly
@@ -0,0 +1,12 @@
+. "$topsrcdir/comm/build/mozconfig.comm-sccache"
+. "$topsrcdir/comm/mail/config/mozconfigs/macosx64/common-opt"
+
+# Cross-compiled builds fail when dtrace is enabled
+if test `uname -s` != Linux; then
+ ac_add_options --enable-dtrace
+fi
+
+ac_add_options --enable-update-channel="${MOZ_UPDATE_CHANNEL}"
+ac_add_options --enable-profiling
+
+. "$topsrcdir/comm/mail/config/mozconfigs/common"
diff --git a/comm/mail/config/mozconfigs/macosx64/release b/comm/mail/config/mozconfigs/macosx64/release
new file mode 100644
index 0000000000..d4c59231ff
--- /dev/null
+++ b/comm/mail/config/mozconfigs/macosx64/release
@@ -0,0 +1,7 @@
+. "$topsrcdir/comm/build/mozconfig.comm-sccache"
+. "$topsrcdir/comm/mail/config/mozconfigs/macosx64/common-opt"
+
+ac_add_options --enable-update-channel="${MOZ_UPDATE_CHANNEL}"
+ac_add_options --enable-official-branding
+
+. "$topsrcdir/comm/mail/config/mozconfigs/common"
diff --git a/comm/mail/config/mozconfigs/win32/common-win32 b/comm/mail/config/mozconfigs/win32/common-win32
new file mode 100644
index 0000000000..9bdeff6470
--- /dev/null
+++ b/comm/mail/config/mozconfigs/win32/common-win32
@@ -0,0 +1,19 @@
+# This file is used by all Win32 builds
+
+ac_add_options --target=i686-pc-windows-msvc
+
+. $topsrcdir/build/win32/mozconfig.vs-latest
+
+if test `uname -s` = Linux; then
+
+# Configure expects executables for check_prog, so set the relevant files
+# as executable on the first evaluation of the mozconfig where they exist.
+export UPX="${MOZ_FETCHES_DIR}/upx-3.95-win64/upx.exe"
+if [ -f "${UPX}" ]; then
+ chmod +x "${UPX}"
+fi
+mk_add_options "export PATH=${VC_PATH}/bin/hostx64/x86:${PATH}"
+
+unset VC_PATH
+
+fi
diff --git a/comm/mail/config/mozconfigs/win32/debug b/comm/mail/config/mozconfigs/win32/debug
new file mode 100644
index 0000000000..6d62458c30
--- /dev/null
+++ b/comm/mail/config/mozconfigs/win32/debug
@@ -0,0 +1,18 @@
+. "$topsrcdir/comm/build/mozconfig.comm-sccache"
+. "$topsrcdir/build/mozconfig.win-common"
+. "$topsrcdir/build/mozconfig.common"
+. "$topsrcdir/comm/mail/config/mozconfigs/win32/common-win32"
+
+ac_add_options --enable-debug
+
+# Needed to enable breakpad in application.ini
+export MOZILLA_OFFICIAL=1
+
+# Package js shell
+export MOZ_PACKAGE_JSSHELL=1
+
+. "$topsrcdir/comm/mail/config/mozconfigs/common"
+
+if test -n "$USE_ARTIFACT"; then
+ac_add_options --disable-mapi
+fi
diff --git a/comm/mail/config/mozconfigs/win32/l10n-mozconfig b/comm/mail/config/mozconfigs/win32/l10n-mozconfig
new file mode 100644
index 0000000000..df5dac68da
--- /dev/null
+++ b/comm/mail/config/mozconfigs/win32/l10n-mozconfig
@@ -0,0 +1,2 @@
+. "$topsrcdir/comm/mail/config/mozconfigs/win32/common-win32"
+. "$topsrcdir/comm/mail/config/mozconfigs/l10n-common"
diff --git a/comm/mail/config/mozconfigs/win32/nightly b/comm/mail/config/mozconfigs/win32/nightly
new file mode 100644
index 0000000000..cee1678539
--- /dev/null
+++ b/comm/mail/config/mozconfigs/win32/nightly
@@ -0,0 +1,19 @@
+. "$topsrcdir/comm/build/mozconfig.comm-sccache"
+. "$topsrcdir/build/mozconfig.win-common"
+. "$topsrcdir/build/mozconfig.common"
+. "$topsrcdir/comm/mail/config/mozconfigs/win32/common-win32"
+
+ac_add_options --enable-update-channel="${MOZ_UPDATE_CHANNEL}"
+ac_add_options --enable-profiling
+
+# Needed to enable breakpad in application.ini
+export MOZILLA_OFFICIAL=1
+
+# Package js shell
+export MOZ_PACKAGE_JSSHELL=1
+
+. "$topsrcdir/comm/mail/config/mozconfigs/common"
+
+if test -n "$USE_ARTIFACT"; then
+ac_add_options --disable-mapi
+fi
diff --git a/comm/mail/config/mozconfigs/win32/release b/comm/mail/config/mozconfigs/win32/release
new file mode 100644
index 0000000000..db9d4c80e8
--- /dev/null
+++ b/comm/mail/config/mozconfigs/win32/release
@@ -0,0 +1,15 @@
+. "$topsrcdir/build/mozconfig.win-common"
+. "$topsrcdir/build/mozconfig.common"
+. "$topsrcdir/comm/mail/config/mozconfigs/win32/common-win32"
+
+ac_add_options --enable-update-channel="${MOZ_UPDATE_CHANNEL}"
+ac_add_options --enable-official-branding
+
+# Needed to enable breakpad in application.ini
+export MOZILLA_OFFICIAL=1
+
+
+# Package js shell
+export MOZ_PACKAGE_JSSHELL=1
+
+. "$topsrcdir/comm/mail/config/mozconfigs/common"
diff --git a/comm/mail/config/mozconfigs/win64/common-win64 b/comm/mail/config/mozconfigs/win64/common-win64
new file mode 100644
index 0000000000..1ee612909c
--- /dev/null
+++ b/comm/mail/config/mozconfigs/win64/common-win64
@@ -0,0 +1,19 @@
+# This file is used by all Win64 builds
+
+ac_add_options --target=x86_64-pc-windows-msvc
+
+. $topsrcdir/build/win64/mozconfig.vs-latest
+
+if test `uname -s` = Linux; then
+
+# Configure expects executables for check_prog, so set the relevant files
+# as executable on the first evaluation of the mozconfig where they exist.
+export UPX="${MOZ_FETCHES_DIR}/upx-3.95-win64/upx.exe"
+if [ -f "${UPX}" ]; then
+ chmod +x "${UPX}"
+fi
+mk_add_options "export PATH=${VC_PATH}/bin/hostx64/x64:${PATH}"
+
+unset VC_PATH
+
+fi
diff --git a/comm/mail/config/mozconfigs/win64/debug b/comm/mail/config/mozconfigs/win64/debug
new file mode 100644
index 0000000000..113aac0d70
--- /dev/null
+++ b/comm/mail/config/mozconfigs/win64/debug
@@ -0,0 +1,18 @@
+. "$topsrcdir/comm/build/mozconfig.comm-sccache"
+. "$topsrcdir/build/mozconfig.win-common"
+. "$topsrcdir/build/mozconfig.common"
+. "$topsrcdir/comm/mail/config/mozconfigs/win64/common-win64"
+
+ac_add_options --enable-debug
+
+# Needed to enable breakpad in application.ini
+export MOZILLA_OFFICIAL=1
+
+# Package js shell
+export MOZ_PACKAGE_JSSHELL=1
+
+. "$topsrcdir/comm/mail/config/mozconfigs/common"
+
+if test -n "$USE_ARTIFACT"; then
+ac_add_options --disable-mapi
+fi
diff --git a/comm/mail/config/mozconfigs/win64/debug-searchfox b/comm/mail/config/mozconfigs/win64/debug-searchfox
new file mode 100644
index 0000000000..d8ca3d7582
--- /dev/null
+++ b/comm/mail/config/mozconfigs/win64/debug-searchfox
@@ -0,0 +1,16 @@
+MOZ_AUTOMATION_BUILD_SYMBOLS=0
+MOZ_AUTOMATION_CHECK=0
+
+. "$topsrcdir/build/mozconfig.win-common"
+. "$topsrcdir/build/mozconfig.common"
+. "$topsrcdir/comm/mail/config/mozconfigs/common"
+. "$topsrcdir/comm/mail/config/mozconfigs/win64/common-win64"
+
+ac_add_options --enable-optimize
+ac_add_options --enable-debug
+
+ac_add_options --enable-clang-plugin
+ac_add_options --enable-mozsearch-plugin
+
+# Disable enforcing that add-ons are signed by the trusted root
+MOZ_REQUIRE_ADDON_SIGNING=0
diff --git a/comm/mail/config/mozconfigs/win64/l10n-mozconfig b/comm/mail/config/mozconfigs/win64/l10n-mozconfig
new file mode 100644
index 0000000000..317f72a3e1
--- /dev/null
+++ b/comm/mail/config/mozconfigs/win64/l10n-mozconfig
@@ -0,0 +1,2 @@
+. "$topsrcdir/comm/mail/config/mozconfigs/win64/common-win64"
+. "$topsrcdir/comm/mail/config/mozconfigs/l10n-common"
diff --git a/comm/mail/config/mozconfigs/win64/nightly b/comm/mail/config/mozconfigs/win64/nightly
new file mode 100644
index 0000000000..230d6d291e
--- /dev/null
+++ b/comm/mail/config/mozconfigs/win64/nightly
@@ -0,0 +1,20 @@
+. "$topsrcdir/comm/build/mozconfig.comm-sccache"
+. "$topsrcdir/build/mozconfig.win-common"
+. "$topsrcdir/build/mozconfig.common"
+. "$topsrcdir/comm/mail/config/mozconfigs/win64/common-win64"
+
+ac_add_options --enable-update-channel="${MOZ_UPDATE_CHANNEL}"
+ac_add_options --enable-profiling
+
+
+# Needed to enable breakpad in application.ini
+export MOZILLA_OFFICIAL=1
+
+# Package js shell
+export MOZ_PACKAGE_JSSHELL=1
+
+. "$topsrcdir/comm/mail/config/mozconfigs/common"
+
+if test -n "$USE_ARTIFACT"; then
+ac_add_options --disable-mapi
+fi
diff --git a/comm/mail/config/mozconfigs/win64/nightly-asan b/comm/mail/config/mozconfigs/win64/nightly-asan
new file mode 100644
index 0000000000..8928b540fb
--- /dev/null
+++ b/comm/mail/config/mozconfigs/win64/nightly-asan
@@ -0,0 +1,17 @@
+. "$topsrcdir/comm/build/mozconfig.comm-sccache"
+. "$topsrcdir/build/mozconfig.win-common"
+. "$topsrcdir/build/mozconfig.common"
+. "$topsrcdir/comm/mail/config/mozconfigs/win64/common-win64"
+
+ac_add_options --disable-debug
+ac_add_options --enable-optimize="-O2 -gline-tables-only"
+
+. "$topsrcdir/build/win64/mozconfig.asan"
+
+export MOZ_PACKAGE_JSSHELL=1
+export MOZ_PKG_SPECIAL=asan
+
+# Disable telemetry
+ac_add_options MOZ_TELEMETRY_REPORTING=
+
+. "$topsrcdir/comm/mail/config/mozconfigs/common"
diff --git a/comm/mail/config/mozconfigs/win64/nightly-asan-reporter b/comm/mail/config/mozconfigs/win64/nightly-asan-reporter
new file mode 100644
index 0000000000..9ee02c58f4
--- /dev/null
+++ b/comm/mail/config/mozconfigs/win64/nightly-asan-reporter
@@ -0,0 +1,20 @@
+. "$topsrcdir/build/mozconfig.win-common"
+. "$topsrcdir/build/mozconfig.common"
+. "$topsrcdir/comm/mail/config/mozconfigs/win64/common-win64"
+
+ac_add_options --enable-update-channel="${MOZ_UPDATE_CHANNEL}"
+
+export MOZILLA_OFFICIAL=1
+
+ac_add_options --disable-debug
+ac_add_options --enable-optimize="-O2 -gline-tables-only"
+ac_add_options --enable-address-sanitizer-reporter
+
+. "$topsrcdir/build/win64/mozconfig.asan"
+
+export MOZ_PKG_SPECIAL=asan-reporter
+
+# Sandboxing is currently not compatible with the way the ASan reporter works
+ac_add_options --disable-sandbox
+
+. "$topsrcdir/comm/mail/config/mozconfigs/common"
diff --git a/comm/mail/config/mozconfigs/win64/plain-debug b/comm/mail/config/mozconfigs/win64/plain-debug
new file mode 100644
index 0000000000..248d7e832d
--- /dev/null
+++ b/comm/mail/config/mozconfigs/win64/plain-debug
@@ -0,0 +1,3 @@
+. $topsrcdir/comm/mail/config/mozconfigs/win64/plain-opt
+
+ac_add_options --enable-debug
diff --git a/comm/mail/config/mozconfigs/win64/plain-opt b/comm/mail/config/mozconfigs/win64/plain-opt
new file mode 100644
index 0000000000..d63c6c2c87
--- /dev/null
+++ b/comm/mail/config/mozconfigs/win64/plain-opt
@@ -0,0 +1,6 @@
+ac_add_options --disable-release
+ac_add_options --target=x86_64-pc-windows-msvc
+
+. $topsrcdir/build/win64/mozconfig.vs-latest
+
+. "$topsrcdir/comm/mail/config/mozconfigs/common"
diff --git a/comm/mail/config/mozconfigs/win64/release b/comm/mail/config/mozconfigs/win64/release
new file mode 100644
index 0000000000..3fad30b351
--- /dev/null
+++ b/comm/mail/config/mozconfigs/win64/release
@@ -0,0 +1,14 @@
+. "$topsrcdir/build/mozconfig.win-common"
+. "$topsrcdir/build/mozconfig.common"
+. "$topsrcdir/comm/mail/config/mozconfigs/win64/common-win64"
+
+ac_add_options --enable-update-channel="${MOZ_UPDATE_CHANNEL}"
+ac_add_options --enable-official-branding
+
+# Needed to enable breakpad in application.ini
+export MOZILLA_OFFICIAL=1
+
+# Package js shell
+export MOZ_PACKAGE_JSSHELL=1
+
+. "$topsrcdir/comm/mail/config/mozconfigs/common"
diff --git a/comm/mail/config/version.txt b/comm/mail/config/version.txt
new file mode 100644
index 0000000000..fe6fbc7f02
--- /dev/null
+++ b/comm/mail/config/version.txt
@@ -0,0 +1 @@
+115.7.0
diff --git a/comm/mail/config/version_display.txt b/comm/mail/config/version_display.txt
new file mode 100644
index 0000000000..fe6fbc7f02
--- /dev/null
+++ b/comm/mail/config/version_display.txt
@@ -0,0 +1 @@
+115.7.0
diff --git a/comm/mail/config/whats_new_page.yml b/comm/mail/config/whats_new_page.yml
new file mode 100644
index 0000000000..0bea15e390
--- /dev/null
+++ b/comm/mail/config/whats_new_page.yml
@@ -0,0 +1,28 @@
+# This Source Code Form is subject to the terms of the Mozilla Public
+# License, v. 2.0. If a copy of the MPL was not distributed with this
+# file, You can obtain one at http://mozilla.org/MPL/2.0/.
+---
+- type: product-details
+ # yamllint disable-line rule:line-length
+ url: https://live.thunderbird.net/thunderbird/releasenotes?locale=%LOCALE%&version={version}&channel={release-type}
+- type: show-url
+ # yamllint disable-line rule:line-length
+ url: https://live.thunderbird.net/thunderbird/whatsnew?locale=%LOCALE%&version={version}&channel={release-type}&oldversion=%OLD_VERSION%
+ conditions:
+ blob-types: [wnp]
+ release-types: [release]
+ products: [thunderbird]
+ update-channel: release
+ # e.g.: ["<78.0"] for the current release. {version.major_number} reflects
+ # the current version and compares to the version the client is updating from
+ # on Balrog
+ versions: ["<{version.major_number}.0"]
+- type: show-url
+ # yamllint disable-line rule:line-length
+ url: https://live.thunderbird.net/thunderbird/whatsnew?locale=%LOCALE%&version={version}&channel={release-type}&oldversion=%OLD_VERSION%
+ conditions:
+ blob-types: [wnp]
+ release-types: [beta]
+ products: [thunderbird]
+ update-channel: beta
+ versions: ["<{version.major_number}.0"]