diff options
Diffstat (limited to 'build/common.gypi')
-rw-r--r-- | build/common.gypi | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/build/common.gypi b/build/common.gypi index bf3e778..dac72f3 100644 --- a/build/common.gypi +++ b/build/common.gypi @@ -2137,6 +2137,18 @@ 'clang_chrome_plugins_flags': [ '<!@(<(DEPTH)/tools/clang/scripts/plugin_flags.sh)' ], + 'conditions': [ + # TODO(dcheng): https://crbug.com/417463 -- work to enable this flag + # on all platforms is currently underway. + ['OS=="linux" and chromeos==0', { + 'clang_chrome_plugins_flags': [ + '-Xclang', + '-plugin-arg-find-bad-constructs', + '-Xclang', + 'strict-virtual-specifiers', + ], + }], + ], }], ['asan==1 or msan==1 or lsan==1 or tsan==1', { 'clang%': 1, |