. "$topsrcdir/b2g/config/mozconfigs/common" #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 # Avoid dependency on libstdc++ 4.5 ac_add_options --enable-stdcxx-compat # IonMonkey disabled in bug 789373 ac_add_options --disable-ion # 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. # DISABLED WHILE NOT ON TRY ac_add_options --enable-warnings-as-errors # Enable parallel compiling mk_add_options MOZ_MAKE_FLAGS="-j2" # Use ccache ac_add_options --with-ccache=/usr/bin/ccache #B2G options ac_add_options --enable-application=b2g #ENABLE_MARIONETTE=1 ac_add_options --disable-elf-hack export CXXFLAGS=-DMOZ_ENABLE_JS_DUMP #GAIADIR=$topsrcdir/gaia . "$topsrcdir/b2g/config/mozconfigs/common.override" mk_add_options MOZ_OBJDIR=@TOPSRCDIR@/obj-b2g