MOZ_AUTOMATION_L10N_CHECK=0
MOZ_AUTOMATION_UPLOAD_SYMBOLS=0
MOZ_AUTOMATION_UPDATE_PACKAGING=0
MOZ_AUTOMATION_SDK=0
. "$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

# 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 (modulo ALLOW_COMPILER_WARNINGS).
ac_add_options --enable-warnings-as-errors

# Use sccache
no_sccache=

#B2G options
ac_add_options --enable-application=b2g
export CXXFLAGS=-DMOZ_ENABLE_JS_DUMP

GAIADIR=$topsrcdir/gaia

# Include Firefox OS fonts.
MOZTTDIR=$topsrcdir/moz-tt

# Build simulator xpi and phone tweaks for b2g-desktop
FXOS_SIMULATOR=1

. "$topsrcdir/b2g/config/mozconfigs/common.override"
