Index: webrtc/modules/bitrate_controller/BUILD.gn |
diff --git a/webrtc/modules/bitrate_controller/BUILD.gn b/webrtc/modules/bitrate_controller/BUILD.gn |
index 7bf28e4d73f04de33f3b23a43a5466f760fca01e..28b38010100bcfa32bdbce9dc2ba4f10f24601c0 100644 |
--- a/webrtc/modules/bitrate_controller/BUILD.gn |
+++ b/webrtc/modules/bitrate_controller/BUILD.gn |
@@ -26,9 +26,8 @@ rtc_static_library("bitrate_controller") { |
# TODO(jschuh): Bug 1348: fix this warning. |
configs += [ "//build/config/compiler:no_size_t_to_int_warning" ] |
- 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" ] |
} |