| Index: webrtc/stats/BUILD.gn
|
| diff --git a/webrtc/stats/BUILD.gn b/webrtc/stats/BUILD.gn
|
| index 3ef6188a18b0c49c92b516d1d029c32c849c0ccc..890336b628795eb68fa221b54d4298fa9d972dd8 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,11 +45,17 @@ if (rtc_include_tests) {
|
| testonly = true
|
| sources = [
|
| "rtcstats_unittest.cc",
|
| + "rtcstatscollector_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",
|
|
|