summaryrefslogtreecommitdiffstats
path: root/build
diff options
context:
space:
mode:
authorthakis@chromium.org <thakis@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-05-08 19:45:49 +0000
committerthakis@chromium.org <thakis@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-05-08 19:45:49 +0000
commit3a352c361f358be644ff76259146576c539140e2 (patch)
treea995c7de4cd5999de2a82c5b320d4c36a099e1d4 /build
parent61994eb634db1c44e55607e619a05b0676f2d269 (diff)
downloadchromium_src-3a352c361f358be644ff76259146576c539140e2.zip
chromium_src-3a352c361f358be644ff76259146576c539140e2.tar.gz
chromium_src-3a352c361f358be644ff76259146576c539140e2.tar.bz2
mac: Don't use -Werror on third-party code in official builds.
BUG=none TEST=official builders go green Review URL: https://chromiumcodereview.appspot.com/10382068 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@135896 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'build')
-rw-r--r--build/common.gypi7
1 files changed, 7 insertions, 0 deletions
diff --git a/build/common.gypi b/build/common.gypi
index 398d0fd..77f63d5 100644
--- a/build/common.gypi
+++ b/build/common.gypi
@@ -1550,6 +1550,13 @@
'xcode_settings': {
'WARNING_CFLAGS!': ['-Wall', '-Wextra'],
},
+ 'conditions': [
+ ['buildtype=="Official"', {
+ 'xcode_settings': {
+ 'GCC_TREAT_WARNINGS_AS_ERRORS': 'NO', # -Werror
+ },
+ }],
+ ],
}],
],
}, {