Index: gyp/common_conditions.gypi |
diff --git a/gyp/common_conditions.gypi b/gyp/common_conditions.gypi |
index 02113c3f8a531f4624ab0ef745b4bb9a7a2761dc..115d94b45c07a224c1ab00a2773aa0a15db34747 100644 |
--- a/gyp/common_conditions.gypi |
+++ b/gyp/common_conditions.gypi |
@@ -464,6 +464,10 @@ |
[ 'skia_os == "mac"', |
{ |
'defines': [ 'SK_BUILD_FOR_MAC' ], |
+ 'conditions': [ |
+ # ANGLE for mac hits -Wunneeded-internal-declaration if this isn't set. |
+ [ 'skia_angle', { 'defines': [ 'YY_NO_INPUT' ], } ], |
+ ], |
'configurations': { |
'Coverage': { |
'xcode_settings': { |