michael@0: . "$topsrcdir/b2g/config/mozconfigs/common" michael@0: . "$topsrcdir/build/unix/mozconfig.linux" michael@0: michael@0: ac_add_options --enable-update-channel=${MOZ_UPDATE_CHANNEL} michael@0: ac_add_options --enable-update-packaging michael@0: ac_add_options --enable-signmar michael@0: ac_add_options --enable-debug michael@0: michael@0: # Nightlies only since this has a cost in performance michael@0: #ac_add_options --enable-js-diagnostics michael@0: michael@0: # This will overwrite the default of stripping everything and keep the symbol table. michael@0: # This is useful for profiling and debugging and only increases the package size michael@0: # by 2 MBs. michael@0: STRIP_FLAGS="--strip-debug" michael@0: michael@0: # Needed to enable breakpad in application.ini michael@0: export MOZILLA_OFFICIAL=1 michael@0: michael@0: export MOZ_TELEMETRY_REPORTING=1 michael@0: michael@0: # Treat warnings as errors in directories with FAIL_ON_WARNINGS. michael@0: # DISABLED WHILE NOT ON TRY ac_add_options --enable-warnings-as-errors michael@0: michael@0: # Use sccache michael@0: no_sccache= michael@0: . "$topsrcdir/build/mozconfig.cache" michael@0: michael@0: #B2G options michael@0: ac_add_options --enable-application=b2g michael@0: ENABLE_MARIONETTE=1 michael@0: ac_add_options --disable-elf-hack michael@0: export CXXFLAGS=-DMOZ_ENABLE_JS_DUMP michael@0: michael@0: GAIADIR=$topsrcdir/gaia michael@0: michael@0: . "$topsrcdir/b2g/config/mozconfigs/common.override"