Index: webrtc/api/BUILD.gn |
diff --git a/webrtc/api/BUILD.gn b/webrtc/api/BUILD.gn |
index cd2960bee41186b7de5dba9f5dbd69ecaaf6a569..76ad5373c19e2b2d389918bb8d6112b661a78b3b 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", |
@@ -72,7 +71,6 @@ rtc_static_library("libjingle_peerconnection_api") { |
"streamcollection.h", |
"trackmediainfomap.cc", |
"trackmediainfomap.h", |
- "udptransportinterface.h", |
"umametrics.h", |
"videosourceproxy.h", |
"videotracksource.h", |
@@ -89,6 +87,26 @@ 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/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 = [ |