2012-09-05 12:09:50 -07:00
|
|
|
. "$topsrcdir/b2g/config/mozconfigs/common"
|
2013-07-17 18:53:36 -07:00
|
|
|
. "$topsrcdir/build/unix/mozconfig.linux32"
|
2012-09-05 12:09:50 -07:00
|
|
|
|
2012-06-04 10:36:07 -07:00
|
|
|
ac_add_options --enable-update-channel=${MOZ_UPDATE_CHANNEL}
|
|
|
|
ac_add_options --enable-update-packaging
|
|
|
|
ac_add_options --enable-signmar
|
|
|
|
|
|
|
|
# Nightlies only since this has a cost in performance
|
|
|
|
#ac_add_options --enable-js-diagnostics
|
|
|
|
|
|
|
|
# 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"
|
|
|
|
|
|
|
|
# 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.
|
2012-08-21 09:33:19 -07:00
|
|
|
# DISABLED WHILE NOT ON TRY ac_add_options --enable-warnings-as-errors
|
2012-06-04 10:36:07 -07:00
|
|
|
|
|
|
|
# Use ccache
|
|
|
|
ac_add_options --with-ccache=/usr/bin/ccache
|
|
|
|
|
|
|
|
#B2G options
|
|
|
|
ac_add_options --enable-application=b2g
|
2012-08-22 16:26:32 -07:00
|
|
|
ENABLE_MARIONETTE=1
|
2012-06-04 10:36:07 -07:00
|
|
|
ac_add_options --disable-elf-hack
|
|
|
|
export CXXFLAGS=-DMOZ_ENABLE_JS_DUMP
|
2012-09-05 12:10:21 -07:00
|
|
|
|
2012-09-24 13:38:15 -07:00
|
|
|
GAIADIR=$topsrcdir/gaia
|
|
|
|
|
2012-09-05 12:10:21 -07:00
|
|
|
. "$topsrcdir/b2g/config/mozconfigs/common.override"
|