. "$topsrcdir/browser/config/mozconfigs/common"

ac_add_options --enable-debug
ac_add_options --enable-trace-malloc
ac_add_options --enable-signmar

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

if test -z "${_PYMAKE}"; then
  mk_add_options MOZ_MAKE_FLAGS=-j1
fi

if test "$PROCESSOR_ARCHITECTURE" = "AMD64" -o "$PROCESSOR_ARCHITEW6432" = "AMD64"; then
  . $topsrcdir/build/win32/mozconfig.vs2010-win64
else
  . $topsrcdir/build/win32/mozconfig.vs2010
fi

# Treat warnings as errors in directories with FAIL_ON_WARNINGS.
ac_add_options --enable-warnings-as-errors

# Package js shell.
export MOZ_PACKAGE_JSSHELL=1

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