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:
rsleevi@chromium.org 2013-05-15 00:45:07 +00:00
Родитель 802e3ca872
Коммит 96e54c3c91
1 изменённых файлов: 2 добавлений и 21 удалений

Просмотреть файл

@ -1542,28 +1542,9 @@
'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',
],
}]
],
}],
['asan==1 and OS!="win"', {