Index: webrtc/api/BUILD.gn |
diff --git a/webrtc/api/BUILD.gn b/webrtc/api/BUILD.gn |
index 01aacb745928c2f1ed09e47a6e4dd577084b31ff..7fd8f0a678cb97294517f8db2e29ca17beec2b9b 100644 |
--- a/webrtc/api/BUILD.gn |
+++ b/webrtc/api/BUILD.gn |
@@ -52,6 +52,30 @@ config("libjingle_peerconnection_warnings_config") { |
} |
} |
+rtc_static_library("libjingle_peerconnection_api") { |
+ cflags = [] |
+ sources = [ |
+ "datachannelinterface.h", |
+ "dtmfsenderinterface.h", |
+ "jsep.h", |
+ "mediastreaminterface.h", |
+ "mediatype.cc", |
+ "mediatype.h", |
+ "peerconnectioninterface.h", |
+ "proxy.h", |
+ "rtpparameters.h", |
+ "rtpreceiverinterface.h", |
+ "rtpsenderinterface.h", |
+ "statstypes.cc", |
+ "statstypes.h", |
+ "umametrics.h", |
+ ] |
+ |
+ deps = [ |
+ ":rtc_stats_api", |
+ ] |
+} |
+ |
rtc_static_library("libjingle_peerconnection") { |
cflags = [] |
sources = [ |
@@ -59,11 +83,8 @@ rtc_static_library("libjingle_peerconnection") { |
"audiotrack.h", |
"datachannel.cc", |
"datachannel.h", |
- "datachannelinterface.h", |
"dtmfsender.cc", |
"dtmfsender.h", |
- "dtmfsenderinterface.h", |
- "jsep.h", |
"jsepicecandidate.cc", |
"jsepicecandidate.h", |
"jsepsessiondescription.cc", |
@@ -76,7 +97,6 @@ rtc_static_library("libjingle_peerconnection") { |
"mediacontroller.h", |
"mediastream.cc", |
"mediastream.h", |
- "mediastreaminterface.h", |
"mediastreamobserver.cc", |
"mediastreamobserver.h", |
"mediastreamproxy.h", |
@@ -88,26 +108,19 @@ rtc_static_library("libjingle_peerconnection") { |
"peerconnectionfactory.cc", |
"peerconnectionfactory.h", |
"peerconnectionfactoryproxy.h", |
- "peerconnectioninterface.h", |
"peerconnectionproxy.h", |
- "proxy.h", |
"remoteaudiosource.cc", |
"remoteaudiosource.h", |
"rtcstatscollector.cc", |
"rtcstatscollector.h", |
- "rtpparameters.h", |
"rtpreceiver.cc", |
"rtpreceiver.h", |
- "rtpreceiverinterface.h", |
"rtpsender.cc", |
"rtpsender.h", |
- "rtpsenderinterface.h", |
"sctputils.cc", |
"sctputils.h", |
"statscollector.cc", |
"statscollector.h", |
- "statstypes.cc", |
- "statstypes.h", |
"streamcollection.h", |
"videocapturertracksource.cc", |
"videocapturertracksource.h", |
@@ -133,6 +146,7 @@ rtc_static_library("libjingle_peerconnection") { |
deps = [ |
":call_api", |
+ ":libjingle_peerconnection_api", |
":rtc_stats_api", |
"../call", |
"../media", |
@@ -323,6 +337,7 @@ rtc_source_set("rtc_stats_api") { |
sources = [ |
"stats/rtcstats.h", |
"stats/rtcstats_objects.h", |
+ "stats/rtcstatscollectorcallback.h", |
"stats/rtcstatsreport.h", |
] |