. "$topsrcdir/build/mozconfig.win-common"
. "$topsrcdir/build/mozconfig.common"
. "$topsrcdir/build/mozconfig.stylo"
. "$topsrcdir/comm/mail/config/mozconfigs/common"
. "$topsrcdir/comm/mail/config/mozconfigs/win64/common-win64"

ac_add_options --enable-update-channel="${MOZ_UPDATE_CHANNEL}"
ac_add_options --enable-jemalloc

# Needed to enable breakpad in application.ini
export MOZILLA_OFFICIAL=1

export MOZ_TELEMETRY_REPORTING=1

# Disable checking that add-ons are signed by the trusted root
MOZ_ADDON_SIGNING=0
# Disable enforcing that add-ons are signed by the trusted root
MOZ_REQUIRE_ADDON_SIGNING=0

# Package js shell
export MOZ_PACKAGE_JSSHELL=1

. "$topsrcdir/comm/build/mozconfig.sccache"

. $topsrcdir/build/win64/mozconfig.vs-latest

# Set up mapi includes (must be done after visual studio setup)
export INCLUDE=$INCLUDE:$(cd "$TOOLTOOL_DIR" && pwd)/mapiheader
mk_export_correct_style INCLUDE

mk_add_options "export SOCORRO_SYMBOL_UPLOAD_TOKEN_FILE=c:/builds/crash-stats-api.token"
