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

Side by Side Diff: webrtc/stats/BUILD.gn

Issue 2331373004: PeerConnection[Interface]::GetStats(RTCStatsCollectorCallback*) added. (Closed)
Patch Set: (Corrected an incorrect inclusion) Created 4 years, 3 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 unified diff | Download patch
« no previous file with comments | « webrtc/api/stats/rtcstatsreport.h ('k') | webrtc/stats/rtcstats.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # Copyright (c) 2016 The WebRTC project authors. All Rights Reserved. 1 # Copyright (c) 2016 The WebRTC project authors. All Rights Reserved.
2 # 2 #
3 # Use of this source code is governed by a BSD-style license 3 # Use of this source code is governed by a BSD-style license
4 # that can be found in the LICENSE file in the root of the source 4 # that can be found in the LICENSE file in the root of the source
5 # tree. An additional intellectual property rights grant can be found 5 # tree. An additional intellectual property rights grant can be found
6 # in the file PATENTS. All contributing project authors may 6 # in the file PATENTS. All contributing project authors may
7 # be found in the AUTHORS file in the root of the source tree. 7 # be found in the AUTHORS file in the root of the source tree.
8 8
9 import("../build/webrtc.gni") 9 import("../build/webrtc.gni")
10 10
11 group("stats") { 11 group("stats") {
12 public_deps = [ 12 public_deps = [
13 ":rtc_stats", 13 ":rtc_stats",
14 ] 14 ]
15 } 15 }
16 16
17 # GYP version: webrtc/stats/stats.gyp:rtc_stats 17 # GYP version: webrtc/stats/stats.gyp:rtc_stats
18 rtc_source_set("rtc_stats") { 18 rtc_source_set("rtc_stats") {
19 cflags = [] 19 cflags = []
20 sources = [ 20 sources = [
21 "rtcstats.cc", 21 "rtcstats.cc",
22 "rtcstats_objects.cc", 22 "rtcstats_objects.cc",
23 "rtcstatscollector.cc",
24 "rtcstatscollector.h",
25 "rtcstatsreport.cc", 23 "rtcstatsreport.cc",
26 ] 24 ]
27 25
28 if (is_clang) { 26 if (is_clang) {
29 # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163). 27 # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163).
30 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] 28 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ]
31 } 29 }
32 30
33 deps = [ 31 deps = [
34 "../api:libjingle_peerconnection", 32 "../api:rtc_stats_api",
33 "../base:rtc_base_approved",
35 ] 34 ]
36 } 35 }
37 36
38 if (rtc_include_tests) { 37 if (rtc_include_tests) {
39 # GYP version: webrtc/stats/stats.gyp:rtc_stats_unittests 38 # GYP version: webrtc/stats/stats.gyp:rtc_stats_unittests
40 rtc_test("rtc_stats_unittests") { 39 rtc_test("rtc_stats_unittests") {
41 testonly = true 40 testonly = true
42 sources = [ 41 sources = [
43 "rtcstats_unittest.cc", 42 "rtcstats_unittest.cc",
44 "rtcstatscollector_unittest.cc",
45 "rtcstatsreport_unittest.cc", 43 "rtcstatsreport_unittest.cc",
46 ] 44 ]
47 45
48 if (is_clang) { 46 if (is_clang) {
49 # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163). 47 # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163).
50 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] 48 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ]
51 } 49 }
52 50
53 deps = [ 51 deps = [
54 ":rtc_stats", 52 ":rtc_stats",
55 "../base:rtc_base_tests_utils", 53 "../base:rtc_base_tests_utils",
56 "../system_wrappers:metrics_default", 54 "../system_wrappers:metrics_default",
57 "//testing/gmock", 55 "//testing/gmock",
58 ] 56 ]
59 57
60 if (is_android) { 58 if (is_android) {
61 deps += [ "//testing/android/native_test:native_test_native_code" ] 59 deps += [ "//testing/android/native_test:native_test_native_code" ]
62 } 60 }
63 } 61 }
64 } 62 }
OLDNEW
« no previous file with comments | « webrtc/api/stats/rtcstatsreport.h ('k') | webrtc/stats/rtcstats.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698