Index: webrtc/api/api.gyp |
diff --git a/webrtc/api/api.gyp b/webrtc/api/api.gyp |
index ec51b4772819758fd92c5cdc8836c5852d74a9e8..ac4ea844e620e052194cae86cd0af0d11b9ce18e 100644 |
--- a/webrtc/api/api.gyp |
+++ b/webrtc/api/api.gyp |
@@ -91,7 +91,17 @@ |
'-framework QuartzCore', |
] |
} |
- } |
+ }, |
+ # TODO(kjellander): Make the code compile without disabling these. |
+ # See https://bugs.chromium.org/p/webrtc/issues/detail?id=3307 |
+ 'cflags': [ |
+ '-Wno-return-type', |
+ ], |
+ 'xcode_settings': { |
+ 'WARNING_CFLAGS': [ |
+ '-Wno-return-type', |
+ ], |
+ }, |
}], |
['OS=="mac"', { |
'sources': [ |