Index: build/common.gypi |
=================================================================== |
--- build/common.gypi (revision 270335) |
+++ build/common.gypi (working copy) |
@@ -3099,6 +3099,13 @@ |
'cflags': [ |
'<@(release_extra_cflags)', |
], |
+ 'conditions': [ |
+ ['enable_resource_whitelist_generation==1', { |
+ 'cflags': [ |
+ '-Wunknown-pragmas -Wno-error=unknown-pragmas', |
+ ], |
+ }], |
+ ], |
}], |
], |
}], |
@@ -4140,11 +4147,6 @@ |
'-mllvm -asan-globals=0', |
], |
}], |
- ['enable_resource_whitelist_generation==1', { |
- 'cflags': [ |
- '-Wunknown-pragmas -Wno-error=unknown-pragmas', |
- ], |
- }], |
['android_webview_build==0', { |
'defines': [ |
# The NDK has these things, but doesn't define the constants |