diff options
author | apatrick@chromium.org <apatrick@chromium.org@736b8ea6-26fd-11df-bfd4-992fa37f6226> | 2012-01-24 21:45:37 +0000 |
---|---|---|
committer | apatrick@chromium.org <apatrick@chromium.org@736b8ea6-26fd-11df-bfd4-992fa37f6226> | 2012-01-24 21:45:37 +0000 |
commit | 9dc0a2477ea75c1f604303332f95e2bb296820f4 (patch) | |
tree | 74948ef4a4a0535c0498d45bc600ba61865b9c5e /build | |
parent | 7e84fd682d55847308bd5f39918578b63c0f433e (diff) | |
download | angle-9dc0a2477ea75c1f604303332f95e2bb296820f4.tar.gz |
Enable warnings as errors.
I didn't do it for translator_common though because it contains automatically generated code.
This is improve the signal to noise ratio in the chromium build logs.
Review URL: https://codereview.appspot.com/5572055
git-svn-id: https://angleproject.googlecode.com/svn/trunk@960 736b8ea6-26fd-11df-bfd4-992fa37f6226
Diffstat (limited to 'build')
-rw-r--r-- | build/common.gypi | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/build/common.gypi b/build/common.gypi index 65125e22..cb10eea1 100644 --- a/build/common.gypi +++ b/build/common.gypi @@ -8,6 +8,18 @@ }, 'target_defaults': { 'default_configuration': 'Debug', + 'variables': { + 'warn_as_error%': 1, + }, + 'target_conditions': [ + ['warn_as_error == 1', { + 'msvs_settings': { + 'VCCLCompilerTool': { + 'WarnAsError': 'true', + }, + }, + }], + ], 'configurations': { 'Common': { 'abstract': 1, |