summaryrefslogtreecommitdiffstats
path: root/config/mozconfigs/win32/common-opt
blob: 040f13ac6d53cff0e101bc4520214e2676066251 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
# This file is sourced by the nightly, beta, and release mozconfigs.

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

ac_add_options --enable-update-channel=${MOZ_UPDATE_CHANNEL}
ac_add_options --enable-update-packaging
ac_add_options --enable-jemalloc
if [ -f /c/builds/gapi.data ]; then
  _gapi_keyfile=/c/builds/gapi.data
else
  _gapi_keyfile=/e/builds/gapi.data
fi
ac_add_options --with-google-api-keyfile=${_gapi_keyfile}


# 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