Index: webrtc/examples/BUILD.gn |
diff --git a/webrtc/examples/BUILD.gn b/webrtc/examples/BUILD.gn |
index bc2d84563a9f8c8f708db3aa02748a93c82b35f2..b0b530fdd0c80299639cf69c4cc72b38b42f2825 100644 |
--- a/webrtc/examples/BUILD.gn |
+++ b/webrtc/examples/BUILD.gn |
@@ -413,9 +413,8 @@ if (is_linux || is_win) { |
"peerconnection/client/peer_connection_client.h", |
] |
- 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" ] |
} |
if (is_win) { |
@@ -469,9 +468,8 @@ if (is_linux || is_win) { |
"//webrtc/base:rtc_base_approved", |
"//webrtc/tools:command_line_parser", |
] |
- 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" ] |
} |
} |
@@ -485,9 +483,8 @@ if (is_linux || is_win) { |
"//webrtc/system_wrappers:field_trial_default", |
"//webrtc/system_wrappers:metrics_default", |
] |
- 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" ] |
} |
} |
@@ -501,9 +498,8 @@ if (is_linux || is_win) { |
"//webrtc/system_wrappers:field_trial_default", |
"//webrtc/system_wrappers:metrics_default", |
] |
- 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" ] |
} |
} |
@@ -517,9 +513,8 @@ if (is_linux || is_win) { |
"//webrtc/system_wrappers:field_trial_default", |
"//webrtc/system_wrappers:metrics_default", |
] |
- 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" ] |
} |
} |