Index: build/common.gypi |
diff --git a/build/common.gypi b/build/common.gypi |
index 04c81e5731ba73b5558435e305ddb9fcb3bee899..2238a75036c52fe34d2246a03de5afc4acd47ab8 100644 |
--- a/build/common.gypi |
+++ b/build/common.gypi |
@@ -3198,10 +3198,6 @@ |
# http://crbug.com/255186 |
'-Wno-deprecated-register', |
- # TODO(hans): Remove once we've cleaned up the warnings. |
- # http://crbug.com/307668 |
- '-Wno-unused-const-variable', |
- |
# This warns about auto_ptr<>, used in third-party code. |
'-Wno-deprecated-declarations', |
], |
@@ -3224,6 +3220,11 @@ |
'cflags_cc': [ |
'-Wno-implicit-exception-spec-mismatch', |
], |
+ 'cflags': [ |
+ # TODO(hans): Remove once we've cleaned up the warnings. |
+ # http://crbug.com/307668 |
+ '-Wno-unused-const-variable', |
+ ], |
}], |
['clang==1 and clang_use_chrome_plugins==1', { |
'cflags': [ |