summaryrefslogtreecommitdiffstats
path: root/comm/mail/config/mozconfigs/win64
diff options
context:
space:
mode:
Diffstat (limited to 'comm/mail/config/mozconfigs/win64')
-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
10 files changed, 135 insertions, 0 deletions
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"