Index: ppapi/native_client/src/shared/ppapi_proxy/ppapi_proxy.gyp |
diff --git a/ppapi/native_client/src/shared/ppapi_proxy/ppapi_proxy.gyp b/ppapi/native_client/src/shared/ppapi_proxy/ppapi_proxy.gyp |
index 733a35c5dc09ed596fe7a8ebab655a73b36df362..443fbaa9a295c126c586790d7dea83c1c950459c 100644 |
--- a/ppapi/native_client/src/shared/ppapi_proxy/ppapi_proxy.gyp |
+++ b/ppapi/native_client/src/shared/ppapi_proxy/ppapi_proxy.gyp |
@@ -3,9 +3,26 @@ |
# found in the LICENSE file. |
{ |
+ 'variables': { |
+ 'chromium_code': 1, # Use higher warning level. |
+ }, |
'includes': [ |
'../../../../../native_client/build/common.gypi', |
], |
+ 'target_defaults': { |
+ 'conditions': [ |
+ ['OS=="linux"', { |
+ 'cflags!': [ |
+ '-Wno-unused-parameter', # be a bit stricter to match NaCl flags. |
+ ], |
+ }], |
+ ['OS=="mac"', { |
+ 'cflags!': [ |
+ '-Wno-unused-parameter', # be a bit stricter to match NaCl flags. |
+ ], |
+ }], |
+ ], |
+ }, |
'targets': [ |
{ |
'target_name': 'nacl_ppapi_browser', |