summaryrefslogtreecommitdiffstats
path: root/build/common.gypi
diff options
context:
space:
mode:
authorevan@chromium.org <evan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-01-25 18:32:31 +0000
committerevan@chromium.org <evan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-01-25 18:32:31 +0000
commitcbbb347719efbb20d3a95f7c12836706792902f3 (patch)
treefde349228cfaac5f9f962cd9a99976b6a663e21f /build/common.gypi
parent8fdc61556da4b470ac827c80da17fa7f151ce210 (diff)
downloadchromium_src-cbbb347719efbb20d3a95f7c12836706792902f3.zip
chromium_src-cbbb347719efbb20d3a95f7c12836706792902f3.tar.gz
chromium_src-cbbb347719efbb20d3a95f7c12836706792902f3.tar.bz2
linux: don't make -Werror setting conditional on OS
People who need to adjust this should adjust it directly. Guessing just makes everything more confusing. Review URL: http://codereview.chromium.org/9288008 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@119092 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'build/common.gypi')
-rw-r--r--build/common.gypi8
1 files changed, 1 insertions, 7 deletions
diff --git a/build/common.gypi b/build/common.gypi
index 4f6513c..a4deaca 100644
--- a/build/common.gypi
+++ b/build/common.gypi
@@ -1664,13 +1664,7 @@
# Enable -Werror by default, but put it in a variable so it can
# be disabled in ~/.gyp/include.gypi on the valgrind builders.
'variables': {
- 'conditions': [
- ['OS=="linux"', {
- 'werror%': '-Werror',
- }, { # turn off -Werror on other Unices
- 'werror%': '',
- }],
- ],
+ 'werror%': '-Werror',
},
'defines': [
'_FILE_OFFSET_BITS=64',