Index: base/base.gypi |
diff --git a/base/base.gypi b/base/base.gypi |
index fce37f6f4cce44195f00918d89babfbb70d01e62..02697b2133fd802d3b01e47d8f117520fd462a6f 100644 |
--- a/base/base.gypi |
+++ b/base/base.gypi |
@@ -760,6 +760,13 @@ |
['include', '^threading/platform_thread_linux\\.cc$'], |
], |
}], |
+ ['OS == "android" and <(android_webview_build)==1', { |
+ 'defines': [ |
+ # WebView builds as part of the system which already has sincos; |
+ # avoid defining it again as it causes a linker warning. |
+ 'ANDROID_SINCOS_PROVIDED', |
+ ], |
+ }], |
['OS == "ios" and _toolset != "host"', { |
'sources/': [ |
# Pull in specific Mac files for iOS (which have been filtered out |