Chromium Code Reviews

Unified Diff: build/common.gypi

Issue 282203002: When enable_resource_whitelist_generation==1 for release builds, pass unknown-pragmas cflags on Lin… (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 6 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine