2014-04-25 09:51:03 +00:00
|
|
|
. "$topsrcdir/b2g/config/mozconfigs/common"
|
|
|
|
. "$topsrcdir/build/unix/mozconfig.linux32"
|
|
|
|
|
|
|
|
ac_add_options --enable-update-channel=${MOZ_UPDATE_CHANNEL}
|
|
|
|
ac_add_options --enable-update-packaging
|
|
|
|
ac_add_options --enable-signmar
|
|
|
|
ac_add_options --enable-debug
|
|
|
|
|
|
|
|
# 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.
|
2015-01-08 01:13:34 +00:00
|
|
|
ac_add_options --enable-warnings-as-errors
|
2014-04-25 09:51:03 +00:00
|
|
|
|
2014-05-13 15:36:32 +00:00
|
|
|
# Use sccache
|
|
|
|
no_sccache=
|
2014-04-25 09:51:03 +00:00
|
|
|
. "$topsrcdir/build/mozconfig.cache"
|
|
|
|
|
|
|
|
#B2G options
|
|
|
|
ac_add_options --enable-application=b2g
|
|
|
|
ENABLE_MARIONETTE=1
|
|
|
|
export CXXFLAGS=-DMOZ_ENABLE_JS_DUMP
|
|
|
|
|
|
|
|
GAIADIR=$topsrcdir/gaia
|
|
|
|
|
2014-10-21 16:34:00 +00:00
|
|
|
# Include Firefox OS fonts.
|
|
|
|
MOZTTDIR=$topsrcdir/moztt
|
|
|
|
|
2014-04-25 09:51:03 +00:00
|
|
|
. "$topsrcdir/b2g/config/mozconfigs/common.override"
|