| Index: webrtc/common_audio/BUILD.gn
|
| diff --git a/webrtc/common_audio/BUILD.gn b/webrtc/common_audio/BUILD.gn
|
| index 6258fb45527f4a57ef71e40ae70b64bd62866607..bfed73eeebb93d110c74cfb3248349c665313dd5 100644
|
| --- a/webrtc/common_audio/BUILD.gn
|
| +++ b/webrtc/common_audio/BUILD.gn
|
| @@ -174,9 +174,8 @@ rtc_static_library("common_audio") {
|
|
|
| public_configs = [ ":common_audio_config" ]
|
|
|
| - if (is_clang) {
|
| - # Suppress warnings from Chrome's Clang plugins.
|
| - # See http://code.google.com/p/webrtc/issues/detail?id=163 for details.
|
| + if (!build_with_chromium && is_clang) {
|
| + # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163).
|
| suppressed_configs += [ "//build/config/clang:find_bad_constructs" ]
|
| }
|
|
|
| @@ -196,9 +195,8 @@ if (current_cpu == "x86" || current_cpu == "x64") {
|
| cflags = [ "-msse2" ]
|
| }
|
|
|
| - if (is_clang) {
|
| - # Suppress warnings from Chrome's Clang plugins.
|
| - # See http://code.google.com/p/webrtc/issues/detail?id=163 for details.
|
| + if (!build_with_chromium && is_clang) {
|
| + # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163).
|
| suppressed_configs += [ "//build/config/clang:find_bad_constructs" ]
|
| }
|
| }
|
| @@ -231,9 +229,8 @@ if (rtc_build_with_neon) {
|
| ]
|
| }
|
|
|
| - if (is_clang) {
|
| - # Suppress warnings from Chrome's Clang plugins.
|
| - # See http://code.google.com/p/webrtc/issues/detail?id=163 for details.
|
| + if (!build_with_chromium && is_clang) {
|
| + # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163).
|
| suppressed_configs += [ "//build/config/clang:find_bad_constructs" ]
|
| }
|
| }
|
| @@ -281,9 +278,8 @@ if (rtc_include_tests) {
|
| defines = [ "RTC_USE_OPENMAX_DL" ]
|
| }
|
|
|
| - if (is_clang) {
|
| - # Suppress warnings from the Chromium Clang plugin.
|
| - # See http://code.google.com/p/webrtc/issues/detail?id=163 for details.
|
| + if (!build_with_chromium && is_clang) {
|
| + # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163).
|
| suppressed_configs += [ "//build/config/clang:find_bad_constructs" ]
|
| }
|
|
|
|
|