Index: webrtc/modules/video_capture/BUILD.gn |
diff --git a/webrtc/modules/video_capture/BUILD.gn b/webrtc/modules/video_capture/BUILD.gn |
index cd4d3c91b88bd1e4b3036424edb33d506b1a7796..03a8d384da1f0b9bb91295e6c8f0e99c1e1723b4 100644 |
--- a/webrtc/modules/video_capture/BUILD.gn |
+++ b/webrtc/modules/video_capture/BUILD.gn |
@@ -33,9 +33,8 @@ rtc_static_library("video_capture_module") { |
"../utility", |
] |
- 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" ] |
} |
} |
@@ -51,9 +50,8 @@ rtc_static_library("video_capture") { |
"../../system_wrappers", |
] |
- 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" ] |
} |
} |
@@ -149,9 +147,8 @@ if (!build_with_chromium) { |
all_dependent_configs = [ ":video_capture_internal_impl_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" ] |
} |
} |
@@ -192,9 +189,8 @@ if (!build_with_chromium) { |
] |
deps += [ "//webrtc/test:test_support_main" ] |
- 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" ] |
} |
} |