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

Unified Diff: webrtc/api/api.gyp

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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « webrtc/api/BUILD.gn ('k') | webrtc/api/peerconnection.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webrtc/api/api.gyp
diff --git a/webrtc/api/api.gyp b/webrtc/api/api.gyp
index 5b14fdfc2d9f778160028377c9315bdac6b9f9b3..d017cda2d621f18b51e05a48ba8027ca580e9a7c 100644
--- a/webrtc/api/api.gyp
+++ b/webrtc/api/api.gyp
@@ -115,8 +115,10 @@
'type': 'static_library',
'dependencies': [
':call_api',
+ ':rtc_stats_api',
'<(webrtc_root)/media/media.gyp:rtc_media',
'<(webrtc_root)/pc/pc.gyp:rtc_pc',
+ '<(webrtc_root)/stats/stats.gyp:rtc_stats',
],
'sources': [
'audiotrack.cc',
@@ -157,9 +159,8 @@
'proxy.h',
'remoteaudiosource.cc',
'remoteaudiosource.h',
- 'rtcstats.h',
- 'rtcstats_objects.h',
- 'rtcstatsreport.h',
+ 'rtcstatscollector.cc',
+ 'rtcstatscollector.h',
'rtpparameters.h',
'rtpreceiver.cc',
'rtpreceiver.h',
@@ -217,5 +218,18 @@
}],
],
}, # target libjingle_peerconnection
+ {
+ # GN version: webrtc/api:rtc_stats_api
+ 'target_name': 'rtc_stats_api',
+ 'type': 'static_library',
+ 'dependencies': [
+ '<(webrtc_root)/base/base.gyp:rtc_base_approved',
+ ],
+ 'sources': [
+ 'stats/rtcstats.h',
+ 'stats/rtcstats_objects.h',
+ 'stats/rtcstatsreport.h',
+ ],
+ }, # target rtc_stats_api
], # targets
}
« no previous file with comments | « webrtc/api/BUILD.gn ('k') | webrtc/api/peerconnection.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698