summaryrefslogtreecommitdiffstats
path: root/comm/mail/config/mozconfigs/win64/nightly-asan
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--comm/mail/config/mozconfigs/win64/nightly-asan17
-rw-r--r--comm/mail/config/mozconfigs/win64/nightly-asan-reporter20
2 files changed, 37 insertions, 0 deletions
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"