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
diff --git a/build/common.gypi b/build/common.gypi
index 4f6513c7..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',