aboutsummaryrefslogtreecommitdiff
path: root/webrtc/BUILD.gn
diff options
context:
space:
mode:
authoraluebs <aluebs@webrtc.org>2016-01-14 04:32:46 -0800
committerCommit bot <commit-bot@chromium.org>2016-01-14 12:32:51 +0000
commit688e308a353c27803a66803230235638f4dd1f2b (patch)
tree53172ae9e65a838e5123b7b8c7c8bb27e3b527f9 /webrtc/BUILD.gn
parent7307952a5bf63311e5f9a2a90089a06177e42716 (diff)
downloadwebrtc-688e308a353c27803a66803230235638f4dd1f2b.tar.gz
Re-land: "Use an explicit identifier in Config"
This let's us use them to configure them when using WebRTC as an external library. One use case where this is necessary is in the Android OS. Original CL: https://codereview.webrtc.org/1538643004/ TBR=tommi@webrtc.org Review URL: https://codereview.webrtc.org/1589573004 Cr-Commit-Position: refs/heads/master@{#11248}
Diffstat (limited to 'webrtc/BUILD.gn')
-rw-r--r--webrtc/BUILD.gn6
1 files changed, 6 insertions, 0 deletions
diff --git a/webrtc/BUILD.gn b/webrtc/BUILD.gn
index b26d29f2ee..be824b7bc7 100644
--- a/webrtc/BUILD.gn
+++ b/webrtc/BUILD.gn
@@ -238,6 +238,12 @@ source_set("webrtc_common") {
configs += [ ":common_config" ]
public_configs = [ ":common_inherited_config" ]
+
+ 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.
+ configs -= [ "//build/config/clang:find_bad_constructs" ]
+ }
}
source_set("gtest_prod") {