bug 744008 - add desktop B2G mozconfigs to tree r=cjones DONTBUILD because NPOTB
authorJohn Ford <jhford@mozilla.com>
Mon, 04 Jun 2012 10:36:07 -0700
changeset 95757 5966ab6ebccaa8a3da923eedfce36c27d6723e70
parent 95756 9cd3ffd77a570a99177dcb396087ef7ca29df531
child 95758 844ed9db04646c300da4029fa4ef21ec4314e540
push idunknown
push userunknown
push dateunknown
reviewerscjones
bugs744008
milestone15.0a1
bug 744008 - add desktop B2G mozconfigs to tree r=cjones DONTBUILD because NPOTB
b2g/config/mozconfigs/desktop/linux32/nightly
b2g/config/mozconfigs/desktop/linux64/nightly
b2g/config/mozconfigs/desktop/macosx64/nightly
b2g/config/mozconfigs/desktop/win32/nightly
new file mode 100644
--- /dev/null
+++ b/b2g/config/mozconfigs/desktop/linux32/nightly
@@ -0,0 +1,40 @@
+ac_add_options --enable-update-channel=${MOZ_UPDATE_CHANNEL}
+ac_add_options --enable-update-packaging
+ac_add_options --enable-codesighs
+ac_add_options --enable-signmar
+
+# Nightlies only since this has a cost in performance
+#ac_add_options --enable-js-diagnostics
+
+. $topsrcdir/build/unix/mozconfig.linux
+
+# Avoid dependency on libstdc++ 4.5
+ac_add_options --enable-stdcxx-compat
+
+# This will overwrite the default of stripping everything and keep the symbol table.
+# This is useful for profiling and debugging and only increases the package size
+# by 2 MBs.
+STRIP_FLAGS="--strip-debug"
+
+# PGO
+mk_add_options PROFILE_GEN_SCRIPT='$(PYTHON) @MOZ_OBJDIR@/_profile/pgo/profileserver.py 10'
+
+# Needed to enable breakpad in application.ini
+export MOZILLA_OFFICIAL=1
+
+export MOZ_TELEMETRY_REPORTING=1
+
+# Treat warnings as errors in directories with FAIL_ON_WARNINGS.
+ac_add_options --enable-warnings-as-errors
+
+# Enable parallel compiling
+mk_add_options MOZ_MAKE_FLAGS="-j4"
+
+# Use ccache
+ac_add_options --with-ccache=/usr/bin/ccache
+
+#B2G options
+ac_add_options --enable-application=b2g
+ac_add_options --enable-marionette
+ac_add_options --disable-elf-hack
+export CXXFLAGS=-DMOZ_ENABLE_JS_DUMP
new file mode 100644
--- /dev/null
+++ b/b2g/config/mozconfigs/desktop/linux64/nightly
@@ -0,0 +1,40 @@
+ac_add_options --enable-update-channel=${MOZ_UPDATE_CHANNEL}
+ac_add_options --enable-update-packaging
+ac_add_options --enable-codesighs
+ac_add_options --enable-signmar
+
+# Nightlies only since this has a cost in performance
+ac_add_options --enable-js-diagnostics
+
+. $topsrcdir/build/unix/mozconfig.linux
+
+# Avoid dependency on libstdc++ 4.5
+ac_add_options --enable-stdcxx-compat
+
+# This will overwrite the default of stripping everything and keep the symbol table.
+# This is useful for profiling and debugging and only increases the package size
+# by 2 MBs.
+STRIP_FLAGS="--strip-debug"
+
+# PGO
+mk_add_options PROFILE_GEN_SCRIPT='$(PYTHON) @MOZ_OBJDIR@/_profile/pgo/profileserver.py 10'
+
+# Needed to enable breakpad in application.ini
+export MOZILLA_OFFICIAL=1
+
+export MOZ_TELEMETRY_REPORTING=1
+
+# Treat warnings as errors in directories with FAIL_ON_WARNINGS.
+ac_add_options --enable-warnings-as-errors
+
+# Enable parallel compiling
+mk_add_options MOZ_MAKE_FLAGS="-j4"
+
+# Use ccache
+ac_add_options --with-ccache=/usr/bin/ccache
+
+#B2G options
+ac_add_options --enable-application=b2g
+ac_add_options --enable-marionette
+ac_add_options --disable-elf-hack
+export CXXFLAGS=-DMOZ_ENABLE_JS_DUMP
new file mode 100644
--- /dev/null
+++ b/b2g/config/mozconfigs/desktop/macosx64/nightly
@@ -0,0 +1,27 @@
+ac_add_options --enable-update-channel=${MOZ_UPDATE_CHANNEL}
+ac_add_options --enable-update-packaging
+ac_add_options --enable-codesighs
+ac_add_options --enable-signmar
+
+# Nightlies only since this has a cost in performance
+ac_add_options --enable-js-diagnostics
+
+# Needed to enable breakpad in application.ini
+export MOZILLA_OFFICIAL=1
+
+export MOZ_TELEMETRY_REPORTING=1
+mk_add_options MOZ_MAKE_FLAGS="-j12"
+
+#ac_add_options --with-macbundlename-prefix=Firefox
+
+# Treat warnings as errors in directories with FAIL_ON_WARNINGS.
+ac_add_options --enable-warnings-as-errors
+ac_add_options --with-ccache
+
+# B2G Stuff
+ac_add_options --enable-application=b2g
+ac_add_options --enable-debug-symbols
+ac_add_options --with-ccache
+ac_add_options --enable-marionette
+
+export CXXFLAGS=-DMOZ_ENABLE_JS_DUMP
new file mode 100644
--- /dev/null
+++ b/b2g/config/mozconfigs/desktop/win32/nightly
@@ -0,0 +1,35 @@
+# for pgo
+mk_add_options PROFILE_GEN_SCRIPT='$(PYTHON) $(MOZ_OBJDIR)/_profile/pgo/profileserver.py'
+
+ac_add_options --enable-update-channel=${MOZ_UPDATE_CHANNEL}
+ac_add_options --enable-update-packaging
+ac_add_options --enable-jemalloc
+ac_add_options --enable-signmar
+
+# Nightlies only since this has a cost in performance
+ac_add_options --enable-js-diagnostics
+
+# Needed to enable breakpad in application.ini
+export MOZILLA_OFFICIAL=1
+
+export MOZ_TELEMETRY_REPORTING=1
+
+mk_add_options MOZ_MAKE_FLAGS=-j1
+
+if test "$PROCESSOR_ARCHITECTURE" = "AMD64" -o "$PROCESSOR_ARCHITEW6432" = "AMD64"; then
+  . $topsrcdir/build/win32/mozconfig.vs2010-win64
+else
+  . $topsrcdir/build/win32/mozconfig.vs2010
+fi
+
+# For known full-clobber builds on Windows (like nightlies/try), 
+# this speeds things up. IS_NIGHTLY is set by the build automation.
+if test "$IS_NIGHTLY" != ""; then 
+  ac_add_options --disable-auto-deps
+fi
+
+# B2G Options
+ac_add_options --enable-application=b2g
+ac_add_options --enable-marionette
+
+export CXXFLAGS=-DMOZ_ENABLE_JS_DUMP