Bug 830096 - Add release-l10n to trunk. r=Callek
authorEdmund Wong <ewong@pw-wspx.org>
Wed, 30 Jan 2013 17:27:34 +0800
changeset 14765 3ac1f861d15164573cc5dd2232e99d3564f388cd
parent 14764 f91edf2379569166bd13caed8c880049a23b9518
child 14766 510be186d4c77b3c7201f3692ac549b541849663
push id867
push userbugzilla@standard8.plus.com
push dateMon, 01 Apr 2013 20:44:27 +0000
treeherdercomm-beta@797726b8d244 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersCallek
bugs830096
Bug 830096 - Add release-l10n to trunk. r=Callek
suite/config/mozconfigs/linux32/release-l10n
suite/config/mozconfigs/linux64/release-l10n
suite/config/mozconfigs/macosx-universal/release-l10n
suite/config/mozconfigs/macosx64/release-l10n
suite/config/mozconfigs/win32/release-l10n
new file mode 100644
--- /dev/null
+++ b/suite/config/mozconfigs/linux32/release-l10n
@@ -0,0 +1,36 @@
+if [ "$MOZ_UPDATE_CHANNEL" == "beta" ]; then
+  ac_add_options --with-l10n-base=../../releases/l10n/mozilla-beta
+fi;
+if [ "$MOZ_UPDATE_CHANNEL" == "release" ]; then
+  ac_add_options --with-l10n-base=../../releases/l10n/mozilla-release
+fi;
+ac_add_options --enable-application=suite
+ac_add_options --enable-update-channel=${MOZ_UPDATE_CHANNEL}
+ac_add_options --enable-update-packaging
+ac_add_options --enable-optimize
+
+
+# Temporary options until bug 794378 is fixed.
+ac_add_options --enable-gnomevfs
+ac_add_options --disable-gio
+
+CC=/tools/gcc-4.5/bin/gcc
+CXX=/tools/gcc-4.5/bin/g++
+
+export LDFLAGS="-static-libstdc++"
+export HOST_LDFLAGS="-static-libstdc++"
+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
+mk_add_options MOZ_MAKE_FLAGS="-j2"
+
+#Use ccache
+ac_add_options --with-ccache=/usr/bin/ccache
new file mode 100644
--- /dev/null
+++ b/suite/config/mozconfigs/linux64/release-l10n
@@ -0,0 +1,31 @@
+if [ "$MOZ_UPDATE_CHANNEL" == "beta" ]; then
+  ac_add_options --with-l10n-base=../../releases/l10n/mozilla-beta
+fi;
+if [ "$MOZ_UPDATE_CHANNEL" == "release" ]; then
+  ac_add_options --with-l10n-base=../../releases/l10n/mozilla-release
+fi;
+ac_add_options --enable-application=suite
+ac_add_options --enable-optimize
+ac_add_options --enable-update-channel=${MOZ_UPDATE_CHANNEL}
+ac_add_options --enable-update-packaging
+
+CC=/tools/gcc-4.5/bin/gcc
+CXX=/tools/gcc-4.5/bin/g++
+
+export LDFLAGS="-static-libstdc++"
+export HOST_LDFLAGS="-static-libstdc++"
+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
+mk_add_options MOZ_MAKE_FLAGS="-j2"
+
+#Use ccache
+ac_add_options --with-ccache=/usr/bin/ccache
\ No newline at end of file
new file mode 100644
--- /dev/null
+++ b/suite/config/mozconfigs/macosx-universal/release-l10n
@@ -0,0 +1,42 @@
+if test -e "$topsrcdir/mozilla/build/macosx/universal/mozconfig"; then
+  # We need some hackery to deal with the mozilla/ build system calling this
+  # mozconfig.
+  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
+
+if [ "$MOZ_UPDATE_CHANNEL" == "beta" ]; then
+  ac_add_options --with-l10n-base=../../releases/l10n/mozilla-beta
+fi;
+if [ "$MOZ_UPDATE_CHANNEL" == "release" ]; then
+  ac_add_options --with-l10n-base=../../releases/l10n/mozilla-release
+fi;
+ac_add_options --enable-application=suite
+ac_add_options --enable-update-channel=${MOZ_UPDATE_CHANNEL}
+ac_add_options --enable-update-packaging
+
+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
+mk_add_options MOZ_MAKE_FLAGS="-j4"
new file mode 100644
--- /dev/null
+++ b/suite/config/mozconfigs/macosx64/release-l10n
@@ -0,0 +1,9 @@
+if [ "$MOZ_UPDATE_CHANNEL" == "beta" ]; then
+  ac_add_options --with-l10n-base=../../releases/l10n/mozilla-beta
+fi;
+if [ "$MOZ_UPDATE_CHANNEL" == "release" ]; then
+  ac_add_options --with-l10n-base=../../releases/l10n/mozilla-release
+fi;
+ac_add_options --enable-application=suite
+ac_add_options --enable-update-channel=${MOZ_UPDATE_CHANNEL}
+ac_add_options --enable-update-packaging
new file mode 100644
--- /dev/null
+++ b/suite/config/mozconfigs/win32/release-l10n
@@ -0,0 +1,18 @@
+if [ "$MOZ_UPDATE_CHANNEL" == "beta" ]; then
+  ac_add_options --with-l10n-base=../../releases/l10n/mozilla-beta
+fi;
+if [ "$MOZ_UPDATE_CHANNEL" == "release" ]; then
+  ac_add_options --with-l10n-base=../../releases/l10n/mozilla-release
+fi;
+ac_add_options --enable-application=suite
+ac_add_options --enable-update-channel=${MOZ_UPDATE_CHANNEL}
+ac_add_options --enable-update-packaging
+
+# For NSS symbols
+export MOZ_DEBUG_SYMBOLS=1
+
+# Needed to enable breakpad in application.ini
+export MOZILLA_OFFICIAL=1
+
+# To enable MSVC 2010 building
+. $topsrcdir/build/win32/mozconfig.vs2010