Commit 9082bbaf authored by thestig@chromium.org's avatar thestig@chromium.org

When enable_resource_whitelist_generation==1 for release builds, pass...

When enable_resource_whitelist_generation==1 for release builds, pass unknown-pragmas cflags on Linux and on Android.

BUG=338759

Review URL: https://codereview.chromium.org/282203002

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@271598 0039d316-1c4b-4281-b951-d872f2087c98
parent 4ac579b4
...@@ -3108,6 +3108,13 @@ ...@@ -3108,6 +3108,13 @@
'cflags': [ 'cflags': [
'<@(release_extra_cflags)', '<@(release_extra_cflags)',
], ],
'conditions': [
['enable_resource_whitelist_generation==1', {
'cflags': [
'-Wunknown-pragmas -Wno-error=unknown-pragmas',
],
}],
],
}], }],
], ],
}], }],
...@@ -4172,11 +4179,6 @@ ...@@ -4172,11 +4179,6 @@
'-mllvm -asan-globals=0', '-mllvm -asan-globals=0',
], ],
}], }],
['enable_resource_whitelist_generation==1', {
'cflags': [
'-Wunknown-pragmas -Wno-error=unknown-pragmas',
],
}],
['android_webview_build==0', { ['android_webview_build==0', {
'defines': [ 'defines': [
# The NDK has these things, but doesn't define the constants # The NDK has these things, but doesn't define the constants
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment