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

Unified Diff: webrtc/api/BUILD.gn

Issue 2514883002: Create //webrtc/api:libjingle_peerconnection_api + refactorings. (Closed)
Patch Set: Created 4 years, 1 month 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 | « no previous file | webrtc/api/mediatype.h » ('j') | webrtc/api/mediatype.h » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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",
]
« no previous file with comments | « no previous file | webrtc/api/mediatype.h » ('j') | webrtc/api/mediatype.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698