Index: webrtc/stats/BUILD.gn |
diff --git a/webrtc/stats/BUILD.gn b/webrtc/stats/BUILD.gn |
index 2f69216772d06a7d780600749b4992127b0f2001..d1c08bdd5112666f8d501db4394afecc0fe41bd3 100644 |
--- a/webrtc/stats/BUILD.gn |
+++ b/webrtc/stats/BUILD.gn |
@@ -20,12 +20,20 @@ source_set("rtc_stats") { |
cflags = [] |
sources = [ |
"rtcstats.cc", |
+ "rtcstats_objects.cc", |
+ "rtcstatscollector.cc", |
+ "rtcstatscollector.h", |
"rtcstatsreport.cc", |
] |
configs += [ "..:common_config" ] |
public_configs = [ "..:common_inherited_config" ] |
+ if (is_clang) { |
+ # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163). |
+ configs -= [ "//build/config/clang:find_bad_constructs" ] |
+ } |
+ |
deps = [ |
"../api:libjingle_peerconnection", |
] |
@@ -37,12 +45,18 @@ if (rtc_include_tests) { |
testonly = true |
sources = [ |
"rtcstats_unittest.cc", |
+ "rtcstatscollector_unittest.cc", |
"rtcstatsreport_unittest.cc", |
] |
configs += [ "..:common_config" ] |
public_configs = [ "..:common_inherited_config" ] |
+ if (is_clang) { |
+ # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163). |
+ configs -= [ "//build/config/clang:find_bad_constructs" ] |
+ } |
+ |
deps = [ |
":rtc_stats", |
"../base:rtc_base_tests_utils", |
@@ -53,11 +67,5 @@ if (rtc_include_tests) { |
if (is_android) { |
deps += [ "//testing/android/native_test:native_test_native_code" ] |
} |
- |
- if (is_clang) { |
- # 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" ] |
- } |
} |
} |