Index: webrtc/api/api.gyp |
diff --git a/webrtc/api/api.gyp b/webrtc/api/api.gyp |
index 5b14fdfc2d9f778160028377c9315bdac6b9f9b3..135b2a4290a944088ddfa7bbfda6fb2d15bd6427 100644 |
--- a/webrtc/api/api.gyp |
+++ b/webrtc/api/api.gyp |
@@ -117,6 +117,7 @@ |
':call_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 +158,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 +217,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 |
} |