Index: webrtc/modules/video_processing/BUILD.gn |
diff --git a/webrtc/modules/video_processing/BUILD.gn b/webrtc/modules/video_processing/BUILD.gn |
index baf2e852e268a788dab8faa36e9fe78370ae9163..0adbfe86d4645fde23b3f1038faca92b7fe68d8d 100644 |
--- a/webrtc/modules/video_processing/BUILD.gn |
+++ b/webrtc/modules/video_processing/BUILD.gn |
@@ -48,9 +48,8 @@ rtc_static_library("video_processing") { |
deps += [ ":video_processing_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" ] |
} |
} |
@@ -62,9 +61,8 @@ if (build_video_processing_sse2) { |
"util/denoiser_filter_sse2.h", |
] |
- 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" ] |
} |