Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(942)

Unified Diff: webrtc/stats/BUILD.gn

Issue 2242043002: RTCStatsCollector and RTCPeerConnectionStats added (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: Making sure the RTCPeerConnectionStats has the correct timestamp Created 4 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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",

Powered by Google App Engine
This is Rietveld 408576698