hopefully fix gyp mistake for iOS
BUG=
Review URL: https://codereview.appspot.com/7065052
git-svn-id: http://skia.googlecode.com/svn/trunk@7058 2bbb7eff-a529-9590-31e7-b0007b416f81
diff --git a/gyp/utils.gyp b/gyp/utils.gyp
index 8d87d15..c76bb7e 100644
--- a/gyp/utils.gyp
+++ b/gyp/utils.gyp
@@ -211,11 +211,6 @@
'../src/utils/cityhash',
'../third_party/externals/cityhash/src',
],
- 'xcode_settings': {
- 'OTHER_CPLUSPLUSFLAGS!': [
- '-Werror',
- ]
- },
'sources': [
'../third_party/externals/cityhash/src/city.cc',
],
@@ -224,6 +219,15 @@
'../third_party/externals/cityhash/src',
],
},
+ 'conditions': [
+ [ 'skia_os == "mac"', {
+ 'xcode_settings': {
+ 'OTHER_CPLUSPLUSFLAGS!': [
+ '-Werror',
+ ]
+ },
+ }],
+ ],
},
],
}