Index: webrtc/logging/BUILD.gn |
diff --git a/webrtc/logging/BUILD.gn b/webrtc/logging/BUILD.gn |
index 7078963d1ee32655c1e099b11b89f95d0c802dcc..fa280653733699537ce406be3c7e95d63b53945c 100644 |
--- a/webrtc/logging/BUILD.gn |
+++ b/webrtc/logging/BUILD.gn |
@@ -39,9 +39,8 @@ rtc_static_library("rtc_event_log_impl") { |
defines += [ "ENABLE_RTC_EVENT_LOG" ] |
deps += [ ":rtc_event_log_proto" ] |
} |
- if (is_clang && !is_nacl) { |
- # 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 (rtc_include_tests) { |
"//testing/gmock", |
"//testing/gtest", |
] |
- 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" ] |
} |
} |
@@ -91,9 +89,8 @@ if (rtc_enable_protobuf) { |
"..:webrtc_common", |
] |
- if (is_clang && !is_nacl) { |
- # 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" ] |
} |
} |