Enable Clang warnings for implementation files on all platforms.
This fixes a few remaining issues for Android builds BUG=115047 Review URL: https://chromiumcodereview.appspot.com/14876034 git-svn-id: http://src.chromium.org/svn/trunk/src/build@200125 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
This commit is contained in:
Родитель
802e3ca872
Коммит
96e54c3c91
23
common.gypi
23
common.gypi
|
@ -1542,27 +1542,8 @@
|
|||
'grit_defines': ['-D', 'use_concatenated_impulse_responses'],
|
||||
}],
|
||||
['clang_use_chrome_plugins==1 and OS!="win"', {
|
||||
'variables': {
|
||||
'clang_chrome_plugins_flags': [
|
||||
'<!@(<(DEPTH)/tools/clang/scripts/plugin_flags.sh)'
|
||||
],
|
||||
},
|
||||
'conditions': [
|
||||
['OS=="linux" or OS=="mac"', {
|
||||
'clang_chrome_plugins_flags': [
|
||||
'<@(clang_chrome_plugins_flags)'
|
||||
],
|
||||
}, {
|
||||
# TODO(rsleevi): http://crbug.com/115047 - This warning is only
|
||||
# enabled for Linux for now. Disable everywhere else.
|
||||
'clang_chrome_plugins_flags': [
|
||||
'<@(clang_chrome_plugins_flags)',
|
||||
'-Xclang',
|
||||
'-plugin-arg-find-bad-constructs',
|
||||
'-Xclang',
|
||||
'skip-virtuals-in-implementations',
|
||||
],
|
||||
}]
|
||||
'clang_chrome_plugins_flags': [
|
||||
'<!@(<(DEPTH)/tools/clang/scripts/plugin_flags.sh)'
|
||||
],
|
||||
}],
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче