Index: webrtc/sdk/BUILD.gn |
diff --git a/webrtc/sdk/BUILD.gn b/webrtc/sdk/BUILD.gn |
index 6cff621d91ca25b0347acd474f9bad2b3c2e5ecd..d286c9e510054dca8d753705f5bb9ad73e1a2494 100644 |
--- a/webrtc/sdk/BUILD.gn |
+++ b/webrtc/sdk/BUILD.gn |
@@ -114,12 +114,18 @@ if (is_ios || is_mac) { |
rtc_static_library("objc_videotracksource") { |
sources = [ |
"objc/Framework/Classes/Video/RTCCVPixelBuffer.mm", |
+ "objc/Framework/Classes/Video/RTCEncodedImage.mm", |
"objc/Framework/Classes/Video/RTCI420Buffer+Private.h", |
"objc/Framework/Classes/Video/RTCI420Buffer.mm", |
+ "objc/Framework/Classes/Video/RTCRtpFragmentationHeader.mm", |
+ "objc/Framework/Classes/Video/RTCVideoCodec+Private.h", |
+ "objc/Framework/Classes/Video/RTCVideoCodec.mm", |
+ "objc/Framework/Classes/Video/RTCVideoFrame.mm", |
"objc/Framework/Classes/Video/objc_frame_buffer.h", |
"objc/Framework/Classes/Video/objc_frame_buffer.mm", |
"objc/Framework/Classes/Video/objcvideotracksource.h", |
"objc/Framework/Classes/Video/objcvideotracksource.mm", |
+ "objc/Framework/Headers/WebRTC/RTCVideoFrame.h", |
"objc/Framework/Headers/WebRTC/RTCVideoFrameBuffer.h", |
] |
@@ -130,6 +136,7 @@ if (is_ios || is_mac) { |
"../base:rtc_base", |
"../common_video", |
"../media:rtc_media_base", |
+ "../modules:module_api", |
] |
configs += [ "..:common_objc" ] |
@@ -310,7 +317,6 @@ if (is_ios || is_mac) { |
sources = [ |
"objc/Framework/Classes/PeerConnection/RTCPeerConnectionFactory+Private.h", |
"objc/Framework/Classes/PeerConnection/RTCPeerConnectionFactory.mm", |
- "objc/Framework/Classes/PeerConnection/RTCVideoCodecH264.mm", |
"objc/Framework/Classes/PeerConnection/objc_video_decoder_factory.h", |
"objc/Framework/Classes/PeerConnection/objc_video_decoder_factory.mm", |
"objc/Framework/Classes/PeerConnection/objc_video_encoder_factory.h", |
@@ -387,7 +393,6 @@ if (is_ios || is_mac) { |
"objc/Framework/Classes/PeerConnection/RTCDataChannel.mm", |
"objc/Framework/Classes/PeerConnection/RTCDataChannelConfiguration+Private.h", |
"objc/Framework/Classes/PeerConnection/RTCDataChannelConfiguration.mm", |
- "objc/Framework/Classes/PeerConnection/RTCEncodedImage.mm", |
"objc/Framework/Classes/PeerConnection/RTCIceCandidate+Private.h", |
"objc/Framework/Classes/PeerConnection/RTCIceCandidate.mm", |
"objc/Framework/Classes/PeerConnection/RTCIceServer+Private.h", |
@@ -415,7 +420,6 @@ if (is_ios || is_mac) { |
"objc/Framework/Classes/PeerConnection/RTCRtpCodecParameters.mm", |
"objc/Framework/Classes/PeerConnection/RTCRtpEncodingParameters+Private.h", |
"objc/Framework/Classes/PeerConnection/RTCRtpEncodingParameters.mm", |
- "objc/Framework/Classes/PeerConnection/RTCRtpFragmentationHeader.mm", |
"objc/Framework/Classes/PeerConnection/RTCRtpParameters+Private.h", |
"objc/Framework/Classes/PeerConnection/RTCRtpParameters.mm", |
"objc/Framework/Classes/PeerConnection/RTCRtpReceiver+Private.h", |
@@ -427,9 +431,6 @@ if (is_ios || is_mac) { |
"objc/Framework/Classes/PeerConnection/RTCSessionDescription.mm", |
"objc/Framework/Classes/PeerConnection/RTCTracing.mm", |
"objc/Framework/Classes/PeerConnection/RTCVideoCapturer.m", |
- "objc/Framework/Classes/PeerConnection/RTCVideoCodec+Private.h", |
- "objc/Framework/Classes/PeerConnection/RTCVideoCodec.mm", |
- "objc/Framework/Classes/PeerConnection/RTCVideoFrame.mm", |
"objc/Framework/Classes/PeerConnection/RTCVideoRendererAdapter+Private.h", |
"objc/Framework/Classes/PeerConnection/RTCVideoRendererAdapter.h", |
"objc/Framework/Classes/PeerConnection/RTCVideoRendererAdapter.mm", |
@@ -464,7 +465,6 @@ if (is_ios || is_mac) { |
"objc/Framework/Headers/WebRTC/RTCSessionDescription.h", |
"objc/Framework/Headers/WebRTC/RTCTracing.h", |
"objc/Framework/Headers/WebRTC/RTCVideoCapturer.h", |
- "objc/Framework/Headers/WebRTC/RTCVideoFrame.h", |
"objc/Framework/Headers/WebRTC/RTCVideoFrameBuffer.h", |
"objc/Framework/Headers/WebRTC/RTCVideoRenderer.h", |
"objc/Framework/Headers/WebRTC/RTCVideoSource.h", |
@@ -698,14 +698,14 @@ if (is_ios || is_mac) { |
rtc_static_library("objc_videotoolbox") { |
sources = [ |
- "objc/Framework/Classes/VideoToolbox/decoder.h", |
- "objc/Framework/Classes/VideoToolbox/decoder.mm", |
- "objc/Framework/Classes/VideoToolbox/encoder.h", |
- "objc/Framework/Classes/VideoToolbox/encoder.mm", |
+ "objc/Framework/Classes/Video/RTCVideoCodec+Private.h", |
+ "objc/Framework/Classes/VideoToolbox/RTCVideoCodecH264.mm", |
+ "objc/Framework/Classes/VideoToolbox/RTCVideoDecoderH264.mm", |
+ "objc/Framework/Classes/VideoToolbox/RTCVideoEncoderH264.mm", |
+ "objc/Framework/Classes/VideoToolbox/helpers.cc", |
+ "objc/Framework/Classes/VideoToolbox/helpers.h", |
"objc/Framework/Classes/VideoToolbox/nalu_rewriter.cc", |
"objc/Framework/Classes/VideoToolbox/nalu_rewriter.h", |
- "objc/Framework/Classes/VideoToolbox/videocodecfactory.h", |
- "objc/Framework/Classes/VideoToolbox/videocodecfactory.mm", |
"objc/Framework/Headers/WebRTC/RTCVideoFrameBuffer.h", |
] |