mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-01 22:55:23 +00:00
f44287005f
The patch removes 455 occurrences of FAIL_ON_WARNINGS from moz.build files, and adds 78 instances of ALLOW_COMPILER_WARNINGS. About half of those 78 are in code we control and which should be removable with a little effort. --HG-- extra : rebase_source : 82e3387abfbd5f1471e953961d301d3d97ed2973
35 lines
1.0 KiB
Plaintext
35 lines
1.0 KiB
Plaintext
. "$topsrcdir/build/mozconfig.win-common"
|
|
MOZ_AUTOMATION_L10N_CHECK=0
|
|
. "$topsrcdir/browser/config/mozconfigs/common"
|
|
|
|
ac_add_options --target=x86_64-pc-mingw32
|
|
ac_add_options --host=x86_64-pc-mingw32
|
|
|
|
ac_add_options --enable-debug
|
|
ac_add_options --enable-dmd
|
|
ac_add_options --enable-profiling # needed for --enable-dmd to work on Windows
|
|
ac_add_options --enable-verify-mar
|
|
|
|
if [ -f /c/builds/google-oauth-api.key ]; then
|
|
_google_oauth_api_keyfile=/c/builds/google-oauth-api.key
|
|
else
|
|
_google_oauth_api_keyfile=/e/builds/google-oauth-api.key
|
|
fi
|
|
ac_add_options --with-google-oauth-api-keyfile=${_google_oauth_api_keyfile}
|
|
|
|
# Needed to enable breakpad in application.ini
|
|
export MOZILLA_OFFICIAL=1
|
|
|
|
# Treat warnings as errors (modulo ALLOW_COMPILER_WARNINGS).
|
|
ac_add_options --enable-warnings-as-errors
|
|
|
|
# Package js shell.
|
|
export MOZ_PACKAGE_JSSHELL=1
|
|
|
|
ac_add_options --with-branding=browser/branding/nightly
|
|
|
|
. $topsrcdir/build/win64/mozconfig.vs2013
|
|
|
|
. "$topsrcdir/build/mozconfig.common.override"
|
|
. "$topsrcdir/build/mozconfig.cache"
|