summaryrefslogtreecommitdiffstats
path: root/webkit/webkit.gyp
diff options
context:
space:
mode:
authortony@chromium.org <tony@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-09-21 20:12:56 +0000
committertony@chromium.org <tony@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-09-21 20:12:56 +0000
commitbe21555a228e74b1ad6f3314ae882cf21bc3c24e (patch)
tree3215603183ddb3b3acd62482b2b86bd3ef1daf27 /webkit/webkit.gyp
parent4e3e9d70e14f80d41d7a1667430e6acbd561bd50 (diff)
downloadchromium_src-be21555a228e74b1ad6f3314ae882cf21bc3c24e.zip
chromium_src-be21555a228e74b1ad6f3314ae882cf21bc3c24e.tar.gz
chromium_src-be21555a228e74b1ad6f3314ae882cf21bc3c24e.tar.bz2
Enable compiler -Werror and -Wall on our webkit code for mac and linux.
This fixes some initialization order, removes unused varibles, and fixes a couple signed/unsigned comparison errors. Please check the signed/unsigned cases. We can't enable it for windows yet because MSVC complains about headers pulled in from WebCore. We'll have to wait until the API is upstreamed. BUG=21140 Review URL: http://codereview.chromium.org/214024 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@26728 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'webkit/webkit.gyp')
-rw-r--r--webkit/webkit.gyp7
1 files changed, 7 insertions, 0 deletions
diff --git a/webkit/webkit.gyp b/webkit/webkit.gyp
index 9c77a82..0224a0c 100644
--- a/webkit/webkit.gyp
+++ b/webkit/webkit.gyp
@@ -9,6 +9,13 @@
'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 until we upstream the WebKit API.
+ 'conditions': [
+ ['OS!="win"', {
+ 'chromium_code': 1,
+ }],
+ ],
},
'targets': [
{