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