. "$topsrcdir/build/mozconfig.win-common"
. "$topsrcdir/build/mozconfig.common"

ac_add_options --enable-application=mail
ac_add_options --enable-update-channel=${MOZ_UPDATE_CHANNEL}
ac_add_options --enable-jemalloc
ac_add_options --enable-require-all-d3dc-versions
ac_add_options --enable-calendar

# For NSS symbols
export MOZ_DEBUG_SYMBOLS=1

export MOZ_TELEMETRY_REPORTING=1

# Needed to enable breakpad in application.ini
export MOZILLA_OFFICIAL=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/build/win32/mozconfig.vs-latest

# Set up mapi includes (must be done after visual studio setup)
export INCLUDE=$INCLUDE:/c/Office\ 2010\ Developer\ Resources/Outlook\ 2010\ MAPI\ Headers
mk_export_correct_style INCLUDE

# Run client.py
mk_add_options CLIENT_PY_ARGS="$([ -f $topsrcdir/build/client.py-args ] && cat $topsrcdir/build/client.py-args)"
mk_add_options ALWAYS_RUN_CLIENT_PY=1
