Index: webrtc/common_video/BUILD.gn |
diff --git a/webrtc/common_video/BUILD.gn b/webrtc/common_video/BUILD.gn |
index 845a5eb8af74e00d92f3ffefddcd222fffd79897..5fbe1e875cb9d125684ea3a1ca3a34614104ef55 100644 |
--- a/webrtc/common_video/BUILD.gn |
+++ b/webrtc/common_video/BUILD.gn |
@@ -45,9 +45,8 @@ rtc_static_library("common_video") { |
public_configs = [ ":common_video_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" ] |
} |
@@ -105,9 +104,8 @@ if (rtc_include_tests) { |
# TODO(jschuh): Bug 1348: fix this warning. |
configs += [ "//build/config/compiler:no_size_t_to_int_warning" ] |
- 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" ] |
} |