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

Unified Diff: webrtc/stats/BUILD.gn

Issue 2241093002: RTCStats and RTCStatsReport added (webrtc/stats) (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: Addressed comments 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
« no previous file with comments | « webrtc/api/rtcstatsreport.h ('k') | webrtc/stats/DEPS » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webrtc/stats/BUILD.gn
diff --git a/webrtc/stats/BUILD.gn b/webrtc/stats/BUILD.gn
new file mode 100644
index 0000000000000000000000000000000000000000..3ef6188a18b0c49c92b516d1d029c32c849c0ccc
--- /dev/null
+++ b/webrtc/stats/BUILD.gn
@@ -0,0 +1,56 @@
+# Copyright (c) 2016 The WebRTC project authors. All Rights Reserved.
+#
+# Use of this source code is governed by a BSD-style license
+# that can be found in the LICENSE file in the root of the source
+# tree. An additional intellectual property rights grant can be found
+# in the file PATENTS. All contributing project authors may
+# be found in the AUTHORS file in the root of the source tree.
+
+import("../build/webrtc.gni")
+import("//testing/test.gni")
+
+group("stats") {
+ deps = [
+ ":rtc_stats",
+ ]
+}
+
+# GYP version: webrtc/stats/stats.gyp:rtc_stats
+source_set("rtc_stats") {
+ cflags = []
+ sources = [
+ "rtcstats.cc",
+ "rtcstatsreport.cc",
+ ]
+
+ configs += [ "..:common_config" ]
+ public_configs = [ "..:common_inherited_config" ]
+
+ deps = [
+ "../api:libjingle_peerconnection",
+ ]
+}
+
+if (rtc_include_tests) {
+ # GYP version: webrtc/stats/stats.gyp:rtc_stats_unittests
+ test("rtc_stats_unittests") {
+ testonly = true
+ sources = [
+ "rtcstats_unittest.cc",
+ ]
+
+ configs += [ "..:common_config" ]
+ public_configs = [ "..:common_inherited_config" ]
+
+ deps = [
+ ":rtc_stats",
+ "../base:rtc_base_tests_utils",
+ "../system_wrappers:metrics_default",
+ "//testing/gmock",
+ ]
+
+ if (is_android) {
+ deps += [ "//testing/android/native_test:native_test_native_code" ]
+ }
+ }
+}
« no previous file with comments | « webrtc/api/rtcstatsreport.h ('k') | webrtc/stats/DEPS » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698