Index: gyp/common_conditions.gypi |
diff --git a/gyp/common_conditions.gypi b/gyp/common_conditions.gypi |
index fb97bb2faff177960ca96fc5a761471c9b52fd51..48f8e19d033e07e740b03382908699b0657ea517 100644 |
--- a/gyp/common_conditions.gypi |
+++ b/gyp/common_conditions.gypi |
@@ -130,13 +130,18 @@ |
'-Wpointer-arith', |
'-Wno-unused-parameter', |
- '-Wno-c++11-extensions', |
], |
'cflags_cc': [ |
'-fno-rtti', |
'-Wnon-virtual-dtor', |
], |
'conditions': [ |
+ [ 'skia_android_framework==0', { |
+ 'cflags': [ |
+ # This flag is not supported by Android build system. |
+ '-Wno-c++11-extensions', |
+ ], |
+ }], |
[ 'skia_warnings_as_errors', { |
'cflags': [ |
'-Werror', |