Index: webrtc/api/api.gyp |
diff --git a/webrtc/api/api.gyp b/webrtc/api/api.gyp |
index f957f5bad84183695222a14c91e0503bbc82b724..9b1da113f006000099c8d9ae709d0fee34a7a5d0 100644 |
--- a/webrtc/api/api.gyp |
+++ b/webrtc/api/api.gyp |
@@ -65,7 +65,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': [ |