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

Unified Diff: webrtc/api/BUILD.gn

Issue 2714813004: Create the SrtpTransportInterface. (Closed)
Patch Set: Created 3 years, 10 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
Index: webrtc/api/BUILD.gn
diff --git a/webrtc/api/BUILD.gn b/webrtc/api/BUILD.gn
index 5a6051e74440a34d352e2d1fd87fda062539680b..d9789bf6597be5918181c61040302014dc4049a4 100644
--- a/webrtc/api/BUILD.gn
+++ b/webrtc/api/BUILD.gn
@@ -56,7 +56,6 @@ rtc_static_library("libjingle_peerconnection_api") {
"mediatypes.cc",
"mediatypes.h",
"notifier.h",
- "ortcfactoryinterface.h",
"peerconnectionfactoryproxy.h",
"peerconnectioninterface.h",
"peerconnectionproxy.h",
@@ -70,7 +69,6 @@ rtc_static_library("libjingle_peerconnection_api") {
"statstypes.cc",
"statstypes.h",
"streamcollection.h",
- "udptransportinterface.h",
"umametrics.h",
"videosourceproxy.h",
"videotracksource.h",
@@ -87,6 +85,27 @@ rtc_static_library("libjingle_peerconnection_api") {
]
}
+rtc_static_library("ortc_api") {
+ sources = [
+ "ortc/ortcfactoryinterface.h",
+ "ortc/ortcrtpreceiverinterface.h",
+ "ortc/ortcrtpsenderinterface.h",
+ "ortc/packettransportinterface.h",
+ "ortc/rtptransportcontrollerinterface.h",
+ "ortc/rtptransportinterface.h",
+ "ortc/srtptransportinterface.h",
+ "ortc/udptransportinterface.h",
+ ]
+
+ # For mediastreaminterface.h, etc.
+ # TODO(deadbeef): Create a separate target for the common things ORTC and
+ # PeerConnection code shares, so that ortc_api can depend on that instead of
+ # libjingle_peerconnection_api.
+ public_deps = [
+ ":libjingle_peerconnection_api",
+ ]
+}
+
# TODO(ossu): Remove once downstream projects have updated.
rtc_source_set("libjingle_peerconnection") {
public_deps = [

Powered by Google App Engine
This is Rietveld 408576698