Bug 685166 - Add release mozconfigs to the source tree. r=jhopkins DONTBUILD
authorMark Banner <bugzilla@standard8.plus.com>
Wed, 18 Apr 2012 13:38:33 +0100
changeset 11659 56ea15c0e0a2577b0ce969eecc0dbb8ffdcb1509
parent 11658 a73bde329a9fcf55080b2dc7d551aa1478be6201
child 11660 f7856c1e7a5e3f2deafd070ab5365e7de18edb46
push idunknown
push userunknown
push dateunknown
reviewersjhopkins
bugs685166
Bug 685166 - Add release mozconfigs to the source tree. r=jhopkins DONTBUILD
mail/config/mozconfigs/linux32/release
mail/config/mozconfigs/linux64/release
mail/config/mozconfigs/macosx-universal/release
mail/config/mozconfigs/win32/release
new file mode 100644
--- /dev/null
+++ b/mail/config/mozconfigs/linux32/release
@@ -0,0 +1,30 @@
+ac_add_options --enable-application=mail
+ac_add_options --enable-optimize
+ac_add_options --enable-update-channel=${MOZ_UPDATE_CHANNEL}
+ac_add_options --enable-update-packaging
+ac_add_options --disable-debug
+ac_add_options --enable-tests
+ac_add_options --enable-official-branding
+
+CC=/tools/gcc-4.5/bin/gcc
+CXX=/tools/gcc-4.5/bin/g++
+# Avoid dependency on libstdc++ 4.5
+ac_add_options --enable-stdcxx-compat
+
+export CFLAGS="-gdwarf-2"
+export CXXFLAGS="-gdwarf-2"
+
+# Needed to enable breakpad in application.ini
+export MOZILLA_OFFICIAL=1
+
+# For NSS symbols
+export MOZ_DEBUG_SYMBOLS=1
+ac_add_options --enable-debug-symbols="-gdwarf-2"
+
+# Enable parallel compiling
+CONCURRENCY=$(( `grep processor /proc/cpuinfo | wc -l` + 2 ))
+mk_add_options MOZ_MAKE_FLAGS="-j$CONCURRENCY"
+
+# Run client.py
+mk_add_options CLIENT_PY_ARGS="--hg-options='--verbose --time' --hgtool=../tools/buildfarm/utils/hgtool.py --skip-chatzilla --skip-comm --skip-inspector --skip-venkman --tinderbox-print"
+mk_add_options ALWAYS_RUN_CLIENT_PY=1
new file mode 100644
--- /dev/null
+++ b/mail/config/mozconfigs/linux64/release
@@ -0,0 +1,30 @@
+ac_add_options --enable-application=mail
+ac_add_options --enable-optimize
+ac_add_options --enable-update-channel=${MOZ_UPDATE_CHANNEL}
+ac_add_options --enable-update-packaging
+ac_add_options --disable-debug
+ac_add_options --enable-tests
+ac_add_options --enable-official-branding
+
+CC=/tools/gcc-4.5/bin/gcc
+CXX=/tools/gcc-4.5/bin/g++
+# Avoid dependency on libstdc++ 4.5
+ac_add_options --enable-stdcxx-compat
+
+export CFLAGS="-gdwarf-2"
+export CXXFLAGS="-gdwarf-2"
+
+# Needed to enable breakpad in application.ini
+export MOZILLA_OFFICIAL=1
+
+# For NSS symbols
+export MOZ_DEBUG_SYMBOLS=1
+ac_add_options --enable-debug-symbols="-gdwarf-2"
+
+# Enable parallel compiling
+CONCURRENCY=$(( `grep processor /proc/cpuinfo | wc -l` + 2 ))
+mk_add_options MOZ_MAKE_FLAGS="-j$CONCURRENCY"
+
+# Run client.py
+mk_add_options CLIENT_PY_ARGS="--hg-options='--verbose --time' --hgtool=../tools/buildfarm/utils/hgtool.py --skip-chatzilla --skip-comm --skip-inspector --skip-venkman --tinderbox-print"
+mk_add_options ALWAYS_RUN_CLIENT_PY=1
new file mode 100644
--- /dev/null
+++ b/mail/config/mozconfigs/macosx-universal/release
@@ -0,0 +1,43 @@
+if test -e "$topsrcdir/mozilla/build/macosx/universal/mozconfig"; then
+  oldtopsrcdir=$topsrcdir
+  export topsrcdir=$topsrcdir/mozilla
+else
+  # Big Hack that unsets CC / CXX so that mozconfig.common doesn't get
+  # mixed up with host/target CPUs when trying to work out how to do the
+  # universal build. When we redo the build system (bug 648979) this will
+  # go away.
+  unset CC
+  unset CXX
+fi
+
+. $topsrcdir/build/macosx/universal/mozconfig
+
+if test -n $oldtopsrcdir; then
+  export topsrcdir=$oldtopsrcdir
+fi
+
+ac_add_options --enable-application=mail
+ac_add_options --enable-update-channel=${MOZ_UPDATE_CHANNEL}
+ac_add_options --enable-update-packaging
+ac_add_options --enable-optimize
+ac_add_options --disable-debug
+ac_add_options --enable-tests
+ac_add_options --enable-official-branding
+
+export CFLAGS="-gdwarf-2"
+export CXXFLAGS="-gdwarf-2"
+
+# For NSS symbols
+export MOZ_DEBUG_SYMBOLS=1
+ac_add_options --enable-debug-symbols="-gdwarf-2"
+
+# Needed to enable breakpad in application.ini
+export MOZILLA_OFFICIAL=1
+
+# Enable parallel compiling
+CONCURRENCY=$(( `sysctl hw.logicalcpu | awk {'print $2'}`  + 2 ))
+mk_add_options MOZ_MAKE_FLAGS="-j$CONCURRENCY"
+
+# Run client.py
+mk_add_options CLIENT_PY_ARGS="--hg-options='--verbose --time' --hgtool=../tools/buildfarm/utils/hgtool.py --skip-chatzilla --skip-comm --skip-inspector --skip-venkman --tinderbox-print"
+mk_add_options ALWAYS_RUN_CLIENT_PY=1
new file mode 100644
--- /dev/null
+++ b/mail/config/mozconfigs/win32/release
@@ -0,0 +1,22 @@
+ac_add_options --enable-application=mail
+ac_add_options --enable-update-channel=${MOZ_UPDATE_CHANNEL}
+ac_add_options --enable-update-packaging
+ac_add_options --disable-debug
+ac_add_options --enable-optimize
+ac_add_options --enable-tests
+ac_add_options --enable-official-branding
+
+#Bug 427627
+ac_add_options --enable-jemalloc
+
+# For NSS symbols
+export MOZ_DEBUG_SYMBOLS=1
+
+# Needed to enable breakpad in application.ini
+export MOZILLA_OFFICIAL=1
+
+export WIN32_REDIST_DIR=/d/msvs8/VC/redist/x86/Microsoft.VC80.CRT
+
+# Run client.py
+mk_add_options CLIENT_PY_ARGS="--hg-options='--verbose --time' --hgtool=../tools/buildfarm/utils/hgtool.py --skip-chatzilla --skip-comm --skip-inspector --skip-venkman --tinderbox-print"
+mk_add_options ALWAYS_RUN_CLIENT_PY=1