Enable the clang style plugin for the stunprober target
Bug: webrtc:163
Change-Id: I77c92dfc05626cb5e83d4e93d735c1370ed4af23
Reviewed-on: https://webrtc-review.googlesource.com/15783
Commit-Queue: Taylor Brandstetter <deadbeef@webrtc.org>
Reviewed-by: Taylor Brandstetter <deadbeef@webrtc.org>
Cr-Commit-Position: refs/heads/master@{#20435}
diff --git a/p2p/BUILD.gn b/p2p/BUILD.gn
index ff558a9..22286c4 100644
--- a/p2p/BUILD.gn
+++ b/p2p/BUILD.gn
@@ -129,6 +129,7 @@
"base/fakeportallocator.h",
"base/mockicetransport.h",
"base/testrelayserver.h",
+ "base/teststunserver.cc",
"base/teststunserver.h",
"base/testturncustomizer.h",
"base/testturnserver.h",
@@ -201,12 +202,6 @@
"stunprober/stunprober.h",
]
- if (!build_with_chromium && is_clang) {
- # Suppress warnings from Chrome's Clang plugins.
- # See http://code.google.com/p/webrtc/issues/detail?id=163 for details.
- suppressed_configs += [ "//build/config/clang:find_bad_constructs" ]
- }
-
deps = [
":rtc_p2p",
"..:webrtc_common",
@@ -236,10 +231,6 @@
"//testing/gmock",
"//testing/gtest",
]
- 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" ]
- }
defines = [ "GTEST_RELATIVE_PATH" ]
}
}