MOZ_AUTOMATION_L10N_CHECK=0

ac_add_options --enable-update-channel=${MOZ_UPDATE_CHANNEL}
ac_add_options --with-google-location-service-api-keyfile=${WORKSPACE}/gls-gapi.data
ac_add_options --with-google-safebrowsing-api-keyfile=${WORKSPACE}/sb-gapi.data
ac_add_options --with-mozilla-api-keyfile=${WORKSPACE}/mozilla-desktop-geoloc-api.key

. "$topsrcdir/build/mozconfig.win-common"
. "$topsrcdir/browser/config/mozconfigs/common"

ac_add_options --disable-debug
ac_add_options --enable-optimize="-O2 -gline-tables-only"
ac_add_options --enable-address-sanitizer-reporter

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

. "$topsrcdir/build/win64/mozconfig.asan"

export MOZ_PKG_SPECIAL=asan-reporter

# Need this to add source information into platform.ini
export MOZILLA_OFFICIAL=1

# Sandboxing is currently not compatible with the way the ASan reporter works
ac_add_options --disable-sandbox

. "$topsrcdir/build/mozconfig.common.override"
