Index: webrtc/api/BUILD.gn |
diff --git a/webrtc/api/BUILD.gn b/webrtc/api/BUILD.gn |
index 78079b31fad845709cf01f7ae8f2ef1b1ff7456e..716f8c9c107125c1b0b387d3d4ef2e47a55cb3bb 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_source_set("ortc_api") { |
+ check_includes = false # TODO(deadbeef): Remove (bugs.webrtc.org/6828) |
+ 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 = [ |