summaryrefslogtreecommitdiffstats
path: root/webkit/webkit.gyp
diff options
context:
space:
mode:
authortony@chromium.org <tony@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-09-22 17:39:36 +0000
committertony@chromium.org <tony@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-09-22 17:39:36 +0000
commitcb9a0c92dc61f953a5593a773944a47fd70ecdf7 (patch)
treebf8694e046a30eea211217d512f8b60e5804a26b /webkit/webkit.gyp
parentf82d9d6816d77908bca9d5bc2319c75c355ce9b7 (diff)
downloadchromium_src-cb9a0c92dc61f953a5593a773944a47fd70ecdf7.zip
chromium_src-cb9a0c92dc61f953a5593a773944a47fd70ecdf7.tar.gz
chromium_src-cb9a0c92dc61f953a5593a773944a47fd70ecdf7.tar.bz2
Enable webkit.gyp compiler warnings on mac only.
Linux fails in opt build due to strict aliasing in WebCore. BUG=21140 Review URL: http://codereview.chromium.org/215040 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@26831 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'webkit/webkit.gyp')
-rw-r--r--webkit/webkit.gyp8
1 files changed, 8 insertions, 0 deletions
diff --git a/webkit/webkit.gyp b/webkit/webkit.gyp
index 9c77a82..59b3e51 100644
--- a/webkit/webkit.gyp
+++ b/webkit/webkit.gyp
@@ -9,6 +9,14 @@
'variables': {
# TODO: remove this helper when we have loops in GYP
'apply_locales_cmd': ['python', '../chrome/tools/build/apply_locales.py',],
+
+ # We can't turn on warnings on Windows and Linux until we upstream the
+ # WebKit API.
+ 'conditions': [
+ ['OS=="mac"', {
+ 'chromium_code': 1,
+ }],
+ ],
},
'targets': [
{