mirror of
https://github.com/mollyim/webrtc.git
synced 2025-05-13 05:40:42 +01:00
Reland "Remove placeholder Obj-C headers and use angle-bracketed headers."
This is a reland of37d41eea04
Original change's description: > Reland "Remove placeholder Obj-C headers and use angle-bracketed headers." > > This is a reland of6bfad33fd8
> > Original change's description: > > Remove placeholder Obj-C headers and use angle-bracketed headers. > > > > sdk/objc/Framework/Headers are just a placeholder headers > > for backward compatibility and I don't think it is really need this for now. > > Instead, we can generate the framework header in > > ios/mac_framework_bundle_with_umbrella_header. > > Also clang supports the -Wquoted-include-in-framework-header warning, > > and in Xcode 12, it's in Xcode's recommended settings. This warnings > > can be avoided by replacing double-quoted includes with angle-bracketed > > includes when generate framework headers. > > > > No-Presubmit: True > > Bug: webrtc:9627, webrtc:11984 > > Change-Id: I3f6258dfa77a5acee669614005b2747feee35e39 > > Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/185920 > > Commit-Queue: Anders Carlsson <andersc@webrtc.org> > > Reviewed-by: Anders Carlsson <andersc@webrtc.org> > > Cr-Commit-Position: refs/heads/master@{#32343} > > TBR=tommi@webrtc.org, andersc@webrtc.org > > No-Presubmit: True > Bug: webrtc:9627 > Bug: webrtc:11984 > Change-Id: I8f44232f1a70b8ff2ce6a4b4792f0a18472fcec3 > Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/187280 > Commit-Queue: Mirko Bonadei <mbonadei@webrtc.org> > Reviewed-by: Mirko Bonadei <mbonadei@webrtc.org> > Cr-Commit-Position: refs/heads/master@{#32429} TBR=tommi@webrtc.org, andersc@webrtc.org No-Presubmit: True Bug: webrtc:9627 Bug: webrtc:11984 Change-Id: Ida92b8864dffaea37d3053d3c00381644988b54e Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/189781 Commit-Queue: Mirko Bonadei <mbonadei@webrtc.org> Reviewed-by: Mirko Bonadei <mbonadei@webrtc.org> Cr-Commit-Position: refs/heads/master@{#32470}
This commit is contained in:
parent
f6d743986d
commit
32026ed79c
69 changed files with 133 additions and 834 deletions
88
sdk/BUILD.gn
88
sdk/BUILD.gn
|
@ -56,9 +56,6 @@ if (is_ios || is_mac) {
|
||||||
# This is needed so that framework headers can include base headers
|
# This is needed so that framework headers can include base headers
|
||||||
# without pathname (so it works from within the framework module).
|
# without pathname (so it works from within the framework module).
|
||||||
"objc/base",
|
"objc/base",
|
||||||
|
|
||||||
# This is here for backward compatiblity reasons.
|
|
||||||
"objc/Framework/Headers", # TODO(bugs.webrtc.org/9627): Remove this.
|
|
||||||
]
|
]
|
||||||
cflags = [
|
cflags = [
|
||||||
"-Wimplicit-retain-self",
|
"-Wimplicit-retain-self",
|
||||||
|
@ -945,7 +942,6 @@ if (is_ios || is_mac) {
|
||||||
":base_objc",
|
":base_objc",
|
||||||
":file_logger_objc",
|
":file_logger_objc",
|
||||||
":helpers_objc",
|
":helpers_objc",
|
||||||
":legacy_header_paths",
|
|
||||||
":mediaconstraints_objc",
|
":mediaconstraints_objc",
|
||||||
":mediasource_objc",
|
":mediasource_objc",
|
||||||
":native_api",
|
":native_api",
|
||||||
|
@ -991,90 +987,6 @@ if (is_ios || is_mac) {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
# TODO(bugs.webrtc.org/9627): Remove this target.
|
|
||||||
rtc_source_set("legacy_header_paths") {
|
|
||||||
sources = [
|
|
||||||
"objc/Framework/Classes/Common/NSString+StdString.h",
|
|
||||||
"objc/Framework/Classes/Common/scoped_cftyperef.h",
|
|
||||||
"objc/Framework/Classes/PeerConnection/RTCConfiguration+Native.h",
|
|
||||||
"objc/Framework/Classes/PeerConnection/RTCPeerConnectionFactory+Native.h",
|
|
||||||
"objc/Framework/Classes/Video/RTCDefaultShader.h",
|
|
||||||
"objc/Framework/Classes/Video/RTCNV12TextureCache.h",
|
|
||||||
"objc/Framework/Classes/VideoToolbox/nalu_rewriter.h",
|
|
||||||
"objc/Framework/Headers/WebRTC/RTCAudioSession.h",
|
|
||||||
"objc/Framework/Headers/WebRTC/RTCAudioSessionConfiguration.h",
|
|
||||||
"objc/Framework/Headers/WebRTC/RTCAudioSource.h",
|
|
||||||
"objc/Framework/Headers/WebRTC/RTCAudioTrack.h",
|
|
||||||
"objc/Framework/Headers/WebRTC/RTCCVPixelBuffer.h",
|
|
||||||
"objc/Framework/Headers/WebRTC/RTCCallbackLogger.h",
|
|
||||||
"objc/Framework/Headers/WebRTC/RTCCameraPreviewView.h",
|
|
||||||
"objc/Framework/Headers/WebRTC/RTCCameraVideoCapturer.h",
|
|
||||||
"objc/Framework/Headers/WebRTC/RTCCertificate.h",
|
|
||||||
"objc/Framework/Headers/WebRTC/RTCConfiguration.h",
|
|
||||||
"objc/Framework/Headers/WebRTC/RTCDataChannel.h",
|
|
||||||
"objc/Framework/Headers/WebRTC/RTCDataChannelConfiguration.h",
|
|
||||||
"objc/Framework/Headers/WebRTC/RTCDefaultVideoDecoderFactory.h",
|
|
||||||
"objc/Framework/Headers/WebRTC/RTCDefaultVideoEncoderFactory.h",
|
|
||||||
"objc/Framework/Headers/WebRTC/RTCDispatcher.h",
|
|
||||||
"objc/Framework/Headers/WebRTC/RTCDtmfSender.h",
|
|
||||||
"objc/Framework/Headers/WebRTC/RTCEAGLVideoView.h",
|
|
||||||
"objc/Framework/Headers/WebRTC/RTCFieldTrials.h",
|
|
||||||
"objc/Framework/Headers/WebRTC/RTCFileLogger.h",
|
|
||||||
"objc/Framework/Headers/WebRTC/RTCFileVideoCapturer.h",
|
|
||||||
"objc/Framework/Headers/WebRTC/RTCH264ProfileLevelId.h",
|
|
||||||
"objc/Framework/Headers/WebRTC/RTCIceCandidate.h",
|
|
||||||
"objc/Framework/Headers/WebRTC/RTCIceServer.h",
|
|
||||||
"objc/Framework/Headers/WebRTC/RTCLegacyStatsReport.h",
|
|
||||||
"objc/Framework/Headers/WebRTC/RTCLogging.h",
|
|
||||||
"objc/Framework/Headers/WebRTC/RTCMTLNSVideoView.h",
|
|
||||||
"objc/Framework/Headers/WebRTC/RTCMTLVideoView.h",
|
|
||||||
"objc/Framework/Headers/WebRTC/RTCMacros.h",
|
|
||||||
"objc/Framework/Headers/WebRTC/RTCMediaConstraints.h",
|
|
||||||
"objc/Framework/Headers/WebRTC/RTCMediaSource.h",
|
|
||||||
"objc/Framework/Headers/WebRTC/RTCMediaStream.h",
|
|
||||||
"objc/Framework/Headers/WebRTC/RTCMediaStreamTrack.h",
|
|
||||||
"objc/Framework/Headers/WebRTC/RTCMetrics.h",
|
|
||||||
"objc/Framework/Headers/WebRTC/RTCMetricsSampleInfo.h",
|
|
||||||
"objc/Framework/Headers/WebRTC/RTCNSGLVideoView.h",
|
|
||||||
"objc/Framework/Headers/WebRTC/RTCPeerConnection.h",
|
|
||||||
"objc/Framework/Headers/WebRTC/RTCPeerConnectionFactory.h",
|
|
||||||
"objc/Framework/Headers/WebRTC/RTCPeerConnectionFactoryOptions.h",
|
|
||||||
"objc/Framework/Headers/WebRTC/RTCRtcpParameters.h",
|
|
||||||
"objc/Framework/Headers/WebRTC/RTCRtpCodecParameters.h",
|
|
||||||
"objc/Framework/Headers/WebRTC/RTCRtpEncodingParameters.h",
|
|
||||||
"objc/Framework/Headers/WebRTC/RTCRtpHeaderExtension.h",
|
|
||||||
"objc/Framework/Headers/WebRTC/RTCRtpParameters.h",
|
|
||||||
"objc/Framework/Headers/WebRTC/RTCRtpReceiver.h",
|
|
||||||
"objc/Framework/Headers/WebRTC/RTCRtpSender.h",
|
|
||||||
"objc/Framework/Headers/WebRTC/RTCRtpTransceiver.h",
|
|
||||||
"objc/Framework/Headers/WebRTC/RTCSSLAdapter.h",
|
|
||||||
"objc/Framework/Headers/WebRTC/RTCSessionDescription.h",
|
|
||||||
"objc/Framework/Headers/WebRTC/RTCTracing.h",
|
|
||||||
"objc/Framework/Headers/WebRTC/RTCVideoCapturer.h",
|
|
||||||
"objc/Framework/Headers/WebRTC/RTCVideoCodec.h",
|
|
||||||
"objc/Framework/Headers/WebRTC/RTCVideoCodecFactory.h",
|
|
||||||
"objc/Framework/Headers/WebRTC/RTCVideoCodecH264.h",
|
|
||||||
"objc/Framework/Headers/WebRTC/RTCVideoCodecInfo.h",
|
|
||||||
"objc/Framework/Headers/WebRTC/RTCVideoDecoderVP8.h",
|
|
||||||
"objc/Framework/Headers/WebRTC/RTCVideoDecoderVP9.h",
|
|
||||||
"objc/Framework/Headers/WebRTC/RTCVideoEncoderVP8.h",
|
|
||||||
"objc/Framework/Headers/WebRTC/RTCVideoEncoderVP9.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",
|
|
||||||
"objc/Framework/Headers/WebRTC/RTCVideoTrack.h",
|
|
||||||
"objc/Framework/Headers/WebRTC/RTCVideoViewShading.h",
|
|
||||||
"objc/Framework/Headers/WebRTC/UIDevice+RTCDevice.h",
|
|
||||||
"objc/Framework/Native/api/audio_device_module.h",
|
|
||||||
"objc/Framework/Native/api/video_decoder_factory.h",
|
|
||||||
"objc/Framework/Native/api/video_encoder_factory.h",
|
|
||||||
"objc/Framework/Native/api/video_frame_buffer.h",
|
|
||||||
"objc/Framework/Native/src/objc_video_decoder_factory.h",
|
|
||||||
"objc/Framework/Native/src/objc_video_encoder_factory.h",
|
|
||||||
]
|
|
||||||
}
|
|
||||||
|
|
||||||
if (rtc_include_tests) {
|
if (rtc_include_tests) {
|
||||||
if (is_ios) {
|
if (is_ios) {
|
||||||
rtc_library("sdk_unittests_sources") {
|
rtc_library("sdk_unittests_sources") {
|
||||||
|
|
|
@ -1,11 +0,0 @@
|
||||||
/*
|
|
||||||
* Copyright 2016 The WebRTC Project Authors. All rights reserved.
|
|
||||||
*
|
|
||||||
* Use of this source code is governed by a BSD-style license
|
|
||||||
* that can be found in the LICENSE file in the root of the source
|
|
||||||
* tree. An additional intellectual property rights grant can be found
|
|
||||||
* in the file PATENTS. All contributing project authors may
|
|
||||||
* be found in the AUTHORS file in the root of the source tree.
|
|
||||||
*/
|
|
||||||
|
|
||||||
#import "components/audio/RTCAudioSession.h"
|
|
|
@ -1,11 +0,0 @@
|
||||||
/*
|
|
||||||
* Copyright 2016 The WebRTC Project Authors. All rights reserved.
|
|
||||||
*
|
|
||||||
* Use of this source code is governed by a BSD-style license
|
|
||||||
* that can be found in the LICENSE file in the root of the source
|
|
||||||
* tree. An additional intellectual property rights grant can be found
|
|
||||||
* in the file PATENTS. All contributing project authors may
|
|
||||||
* be found in the AUTHORS file in the root of the source tree.
|
|
||||||
*/
|
|
||||||
|
|
||||||
#import "components/audio/RTCAudioSessionConfiguration.h"
|
|
|
@ -1,11 +0,0 @@
|
||||||
/*
|
|
||||||
* Copyright 2016 The WebRTC project authors. All Rights Reserved.
|
|
||||||
*
|
|
||||||
* Use of this source code is governed by a BSD-style license
|
|
||||||
* that can be found in the LICENSE file in the root of the source
|
|
||||||
* tree. An additional intellectual property rights grant can be found
|
|
||||||
* in the file PATENTS. All contributing project authors may
|
|
||||||
* be found in the AUTHORS file in the root of the source tree.
|
|
||||||
*/
|
|
||||||
|
|
||||||
#import "api/peerconnection/RTCAudioSource.h"
|
|
|
@ -1,11 +0,0 @@
|
||||||
/*
|
|
||||||
* Copyright 2015 The WebRTC project authors. All Rights Reserved.
|
|
||||||
*
|
|
||||||
* Use of this source code is governed by a BSD-style license
|
|
||||||
* that can be found in the LICENSE file in the root of the source
|
|
||||||
* tree. An additional intellectual property rights grant can be found
|
|
||||||
* in the file PATENTS. All contributing project authors may
|
|
||||||
* be found in the AUTHORS file in the root of the source tree.
|
|
||||||
*/
|
|
||||||
|
|
||||||
#import "api/peerconnection/RTCAudioTrack.h"
|
|
|
@ -1,11 +0,0 @@
|
||||||
/*
|
|
||||||
* Copyright 2018 The WebRTC project authors. All Rights Reserved.
|
|
||||||
*
|
|
||||||
* Use of this source code is governed by a BSD-style license
|
|
||||||
* that can be found in the LICENSE file in the root of the source
|
|
||||||
* tree. An additional intellectual property rights grant can be found
|
|
||||||
* in the file PATENTS. All contributing project authors may
|
|
||||||
* be found in the AUTHORS file in the root of the source tree.
|
|
||||||
*/
|
|
||||||
|
|
||||||
#import "components/video_frame_buffer/RTCCVPixelBuffer.h"
|
|
|
@ -1,11 +0,0 @@
|
||||||
/*
|
|
||||||
* Copyright 2018 The WebRTC project authors. All Rights Reserved.
|
|
||||||
*
|
|
||||||
* Use of this source code is governed by a BSD-style license
|
|
||||||
* that can be found in the LICENSE file in the root of the source
|
|
||||||
* tree. An additional intellectual property rights grant can be found
|
|
||||||
* in the file PATENTS. All contributing project authors may
|
|
||||||
* be found in the AUTHORS file in the root of the source tree.
|
|
||||||
*/
|
|
||||||
|
|
||||||
#import "api/logging/RTCCallbackLogger.h"
|
|
|
@ -1,11 +0,0 @@
|
||||||
/*
|
|
||||||
* Copyright 2015 The WebRTC Project Authors. All rights reserved.
|
|
||||||
*
|
|
||||||
* Use of this source code is governed by a BSD-style license
|
|
||||||
* that can be found in the LICENSE file in the root of the source
|
|
||||||
* tree. An additional intellectual property rights grant can be found
|
|
||||||
* in the file PATENTS. All contributing project authors may
|
|
||||||
* be found in the AUTHORS file in the root of the source tree.
|
|
||||||
*/
|
|
||||||
|
|
||||||
#import "helpers/RTCCameraPreviewView.h"
|
|
|
@ -1,11 +0,0 @@
|
||||||
/*
|
|
||||||
* Copyright 2017 The WebRTC project authors. All Rights Reserved.
|
|
||||||
*
|
|
||||||
* Use of this source code is governed by a BSD-style license
|
|
||||||
* that can be found in the LICENSE file in the root of the source
|
|
||||||
* tree. An additional intellectual property rights grant can be found
|
|
||||||
* in the file PATENTS. All contributing project authors may
|
|
||||||
* be found in the AUTHORS file in the root of the source tree.
|
|
||||||
*/
|
|
||||||
|
|
||||||
#import "components/capturer/RTCCameraVideoCapturer.h"
|
|
|
@ -1,11 +0,0 @@
|
||||||
/*
|
|
||||||
* Copyright 2018 The WebRTC project authors. All Rights Reserved.
|
|
||||||
*
|
|
||||||
* Use of this source code is governed by a BSD-style license
|
|
||||||
* that can be found in the LICENSE file in the root of the source
|
|
||||||
* tree. An additional intellectual property rights grant can be found
|
|
||||||
* in the file PATENTS. All contributing project authors may
|
|
||||||
* be found in the AUTHORS file in the root of the source tree.
|
|
||||||
*/
|
|
||||||
|
|
||||||
#import "api/peerconnection/RTCCertificate.h"
|
|
|
@ -1,11 +0,0 @@
|
||||||
/*
|
|
||||||
* Copyright 2015 The WebRTC project authors. All Rights Reserved.
|
|
||||||
*
|
|
||||||
* Use of this source code is governed by a BSD-style license
|
|
||||||
* that can be found in the LICENSE file in the root of the source
|
|
||||||
* tree. An additional intellectual property rights grant can be found
|
|
||||||
* in the file PATENTS. All contributing project authors may
|
|
||||||
* be found in the AUTHORS file in the root of the source tree.
|
|
||||||
*/
|
|
||||||
|
|
||||||
#import "api/peerconnection/RTCConfiguration.h"
|
|
|
@ -1,11 +0,0 @@
|
||||||
/*
|
|
||||||
* Copyright 2015 The WebRTC project authors. All Rights Reserved.
|
|
||||||
*
|
|
||||||
* Use of this source code is governed by a BSD-style license
|
|
||||||
* that can be found in the LICENSE file in the root of the source
|
|
||||||
* tree. An additional intellectual property rights grant can be found
|
|
||||||
* in the file PATENTS. All contributing project authors may
|
|
||||||
* be found in the AUTHORS file in the root of the source tree.
|
|
||||||
*/
|
|
||||||
|
|
||||||
#import "api/peerconnection/RTCDataChannel.h"
|
|
|
@ -1,11 +0,0 @@
|
||||||
/*
|
|
||||||
* Copyright 2015 The WebRTC project authors. All Rights Reserved.
|
|
||||||
*
|
|
||||||
* Use of this source code is governed by a BSD-style license
|
|
||||||
* that can be found in the LICENSE file in the root of the source
|
|
||||||
* tree. An additional intellectual property rights grant can be found
|
|
||||||
* in the file PATENTS. All contributing project authors may
|
|
||||||
* be found in the AUTHORS file in the root of the source tree.
|
|
||||||
*/
|
|
||||||
|
|
||||||
#import "api/peerconnection/RTCDataChannelConfiguration.h"
|
|
|
@ -1,11 +0,0 @@
|
||||||
/*
|
|
||||||
* Copyright 2017 The WebRTC project authors. All Rights Reserved.
|
|
||||||
*
|
|
||||||
* Use of this source code is governed by a BSD-style license
|
|
||||||
* that can be found in the LICENSE file in the root of the source
|
|
||||||
* tree. An additional intellectual property rights grant can be found
|
|
||||||
* in the file PATENTS. All contributing project authors may
|
|
||||||
* be found in the AUTHORS file in the root of the source tree.
|
|
||||||
*/
|
|
||||||
|
|
||||||
#import "components/video_codec/RTCDefaultVideoDecoderFactory.h"
|
|
|
@ -1,11 +0,0 @@
|
||||||
/*
|
|
||||||
* Copyright 2017 The WebRTC project authors. All Rights Reserved.
|
|
||||||
*
|
|
||||||
* Use of this source code is governed by a BSD-style license
|
|
||||||
* that can be found in the LICENSE file in the root of the source
|
|
||||||
* tree. An additional intellectual property rights grant can be found
|
|
||||||
* in the file PATENTS. All contributing project authors may
|
|
||||||
* be found in the AUTHORS file in the root of the source tree.
|
|
||||||
*/
|
|
||||||
|
|
||||||
#import "components/video_codec/RTCDefaultVideoEncoderFactory.h"
|
|
|
@ -1,11 +0,0 @@
|
||||||
/*
|
|
||||||
* Copyright 2015 The WebRTC project authors. All Rights Reserved.
|
|
||||||
*
|
|
||||||
* Use of this source code is governed by a BSD-style license
|
|
||||||
* that can be found in the LICENSE file in the root of the source
|
|
||||||
* tree. An additional intellectual property rights grant can be found
|
|
||||||
* in the file PATENTS. All contributing project authors may
|
|
||||||
* be found in the AUTHORS file in the root of the source tree.
|
|
||||||
*/
|
|
||||||
|
|
||||||
#import "helpers/RTCDispatcher.h"
|
|
|
@ -1,11 +0,0 @@
|
||||||
/*
|
|
||||||
* Copyright 2017 The WebRTC project authors. All Rights Reserved.
|
|
||||||
*
|
|
||||||
* Use of this source code is governed by a BSD-style license
|
|
||||||
* that can be found in the LICENSE file in the root of the source
|
|
||||||
* tree. An additional intellectual property rights grant can be found
|
|
||||||
* in the file PATENTS. All contributing project authors may
|
|
||||||
* be found in the AUTHORS file in the root of the source tree.
|
|
||||||
*/
|
|
||||||
|
|
||||||
#import "api/peerconnection/RTCDtmfSender.h"
|
|
|
@ -1,11 +0,0 @@
|
||||||
/*
|
|
||||||
* Copyright 2015 The WebRTC project authors. All Rights Reserved.
|
|
||||||
*
|
|
||||||
* Use of this source code is governed by a BSD-style license
|
|
||||||
* that can be found in the LICENSE file in the root of the source
|
|
||||||
* tree. An additional intellectual property rights grant can be found
|
|
||||||
* in the file PATENTS. All contributing project authors may
|
|
||||||
* be found in the AUTHORS file in the root of the source tree.
|
|
||||||
*/
|
|
||||||
|
|
||||||
#import "components/renderer/opengl/RTCEAGLVideoView.h"
|
|
|
@ -1,11 +0,0 @@
|
||||||
/*
|
|
||||||
* Copyright 2016 The WebRTC Project Authors. All rights reserved.
|
|
||||||
*
|
|
||||||
* Use of this source code is governed by a BSD-style license
|
|
||||||
* that can be found in the LICENSE file in the root of the source
|
|
||||||
* tree. An additional intellectual property rights grant can be found
|
|
||||||
* in the file PATENTS. All contributing project authors may
|
|
||||||
* be found in the AUTHORS file in the root of the source tree.
|
|
||||||
*/
|
|
||||||
|
|
||||||
#import "api/peerconnection/RTCFieldTrials.h"
|
|
|
@ -1,11 +0,0 @@
|
||||||
/*
|
|
||||||
* Copyright 2015 The WebRTC project authors. All Rights Reserved.
|
|
||||||
*
|
|
||||||
* Use of this source code is governed by a BSD-style license
|
|
||||||
* that can be found in the LICENSE file in the root of the source
|
|
||||||
* tree. An additional intellectual property rights grant can be found
|
|
||||||
* in the file PATENTS. All contributing project authors may
|
|
||||||
* be found in the AUTHORS file in the root of the source tree.
|
|
||||||
*/
|
|
||||||
|
|
||||||
#import "api/peerconnection/RTCFileLogger.h"
|
|
|
@ -1,11 +0,0 @@
|
||||||
/*
|
|
||||||
* Copyright 2017 The WebRTC Project Authors. All rights reserved.
|
|
||||||
*
|
|
||||||
* Use of this source code is governed by a BSD-style license
|
|
||||||
* that can be found in the LICENSE file in the root of the source
|
|
||||||
* tree. An additional intellectual property rights grant can be found
|
|
||||||
* in the file PATENTS. All contributing project authors may
|
|
||||||
* be found in the AUTHORS file in the root of the source tree.
|
|
||||||
*/
|
|
||||||
|
|
||||||
#import "components/capturer/RTCFileVideoCapturer.h"
|
|
|
@ -1,11 +0,0 @@
|
||||||
/*
|
|
||||||
* Copyright 2017 The WebRTC project authors. All Rights Reserved.
|
|
||||||
*
|
|
||||||
* Use of this source code is governed by a BSD-style license
|
|
||||||
* that can be found in the LICENSE file in the root of the source
|
|
||||||
* tree. An additional intellectual property rights grant can be found
|
|
||||||
* in the file PATENTS. All contributing project authors may
|
|
||||||
* be found in the AUTHORS file in the root of the source tree.
|
|
||||||
*/
|
|
||||||
|
|
||||||
#import "components/video_codec/RTCH264ProfileLevelId.h"
|
|
|
@ -1,11 +0,0 @@
|
||||||
/*
|
|
||||||
* Copyright 2015 The WebRTC project authors. All Rights Reserved.
|
|
||||||
*
|
|
||||||
* Use of this source code is governed by a BSD-style license
|
|
||||||
* that can be found in the LICENSE file in the root of the source
|
|
||||||
* tree. An additional intellectual property rights grant can be found
|
|
||||||
* in the file PATENTS. All contributing project authors may
|
|
||||||
* be found in the AUTHORS file in the root of the source tree.
|
|
||||||
*/
|
|
||||||
|
|
||||||
#import "api/peerconnection/RTCIceCandidate.h"
|
|
|
@ -1,11 +0,0 @@
|
||||||
/*
|
|
||||||
* Copyright 2015 The WebRTC project authors. All Rights Reserved.
|
|
||||||
*
|
|
||||||
* Use of this source code is governed by a BSD-style license
|
|
||||||
* that can be found in the LICENSE file in the root of the source
|
|
||||||
* tree. An additional intellectual property rights grant can be found
|
|
||||||
* in the file PATENTS. All contributing project authors may
|
|
||||||
* be found in the AUTHORS file in the root of the source tree.
|
|
||||||
*/
|
|
||||||
|
|
||||||
#import "api/peerconnection/RTCIceServer.h"
|
|
|
@ -1,11 +0,0 @@
|
||||||
/*
|
|
||||||
* Copyright 2015 The WebRTC project authors. All Rights Reserved.
|
|
||||||
*
|
|
||||||
* Use of this source code is governed by a BSD-style license
|
|
||||||
* that can be found in the LICENSE file in the root of the source
|
|
||||||
* tree. An additional intellectual property rights grant can be found
|
|
||||||
* in the file PATENTS. All contributing project authors may
|
|
||||||
* be found in the AUTHORS file in the root of the source tree.
|
|
||||||
*/
|
|
||||||
|
|
||||||
#import "api/peerconnection/RTCLegacyStatsReport.h"
|
|
|
@ -1,11 +0,0 @@
|
||||||
/*
|
|
||||||
* Copyright 2015 The WebRTC project authors. All Rights Reserved.
|
|
||||||
*
|
|
||||||
* Use of this source code is governed by a BSD-style license
|
|
||||||
* that can be found in the LICENSE file in the root of the source
|
|
||||||
* tree. An additional intellectual property rights grant can be found
|
|
||||||
* in the file PATENTS. All contributing project authors may
|
|
||||||
* be found in the AUTHORS file in the root of the source tree.
|
|
||||||
*/
|
|
||||||
|
|
||||||
#import "base/RTCLogging.h"
|
|
|
@ -1,11 +0,0 @@
|
||||||
/*
|
|
||||||
* Copyright 2017 The WebRTC project authors. All Rights Reserved.
|
|
||||||
*
|
|
||||||
* Use of this source code is governed by a BSD-style license
|
|
||||||
* that can be found in the LICENSE file in the root of the source
|
|
||||||
* tree. An additional intellectual property rights grant can be found
|
|
||||||
* in the file PATENTS. All contributing project authors may
|
|
||||||
* be found in the AUTHORS file in the root of the source tree.
|
|
||||||
*/
|
|
||||||
|
|
||||||
#import "components/renderer/metal/RTCMTLNSVideoView.h"
|
|
|
@ -1,11 +0,0 @@
|
||||||
/*
|
|
||||||
* Copyright 2017 The WebRTC project authors. All Rights Reserved.
|
|
||||||
*
|
|
||||||
* Use of this source code is governed by a BSD-style license
|
|
||||||
* that can be found in the LICENSE file in the root of the source
|
|
||||||
* tree. An additional intellectual property rights grant can be found
|
|
||||||
* in the file PATENTS. All contributing project authors may
|
|
||||||
* be found in the AUTHORS file in the root of the source tree.
|
|
||||||
*/
|
|
||||||
|
|
||||||
#import "components/renderer/metal/RTCMTLVideoView.h"
|
|
|
@ -1,11 +0,0 @@
|
||||||
/*
|
|
||||||
* Copyright 2016 The WebRTC Project Authors. All rights reserved.
|
|
||||||
*
|
|
||||||
* Use of this source code is governed by a BSD-style license
|
|
||||||
* that can be found in the LICENSE file in the root of the source
|
|
||||||
* tree. An additional intellectual property rights grant can be found
|
|
||||||
* in the file PATENTS. All contributing project authors may
|
|
||||||
* be found in the AUTHORS file in the root of the source tree.
|
|
||||||
*/
|
|
||||||
|
|
||||||
#import "base/RTCMacros.h"
|
|
|
@ -1,11 +0,0 @@
|
||||||
/*
|
|
||||||
* Copyright 2015 The WebRTC project authors. All Rights Reserved.
|
|
||||||
*
|
|
||||||
* Use of this source code is governed by a BSD-style license
|
|
||||||
* that can be found in the LICENSE file in the root of the source
|
|
||||||
* tree. An additional intellectual property rights grant can be found
|
|
||||||
* in the file PATENTS. All contributing project authors may
|
|
||||||
* be found in the AUTHORS file in the root of the source tree.
|
|
||||||
*/
|
|
||||||
|
|
||||||
#import "api/peerconnection/RTCMediaConstraints.h"
|
|
|
@ -1,11 +0,0 @@
|
||||||
/*
|
|
||||||
* Copyright 2016 The WebRTC project authors. All Rights Reserved.
|
|
||||||
*
|
|
||||||
* Use of this source code is governed by a BSD-style license
|
|
||||||
* that can be found in the LICENSE file in the root of the source
|
|
||||||
* tree. An additional intellectual property rights grant can be found
|
|
||||||
* in the file PATENTS. All contributing project authors may
|
|
||||||
* be found in the AUTHORS file in the root of the source tree.
|
|
||||||
*/
|
|
||||||
|
|
||||||
#import "api/peerconnection/RTCMediaSource.h"
|
|
|
@ -1,11 +0,0 @@
|
||||||
/*
|
|
||||||
* Copyright 2015 The WebRTC project authors. All Rights Reserved.
|
|
||||||
*
|
|
||||||
* Use of this source code is governed by a BSD-style license
|
|
||||||
* that can be found in the LICENSE file in the root of the source
|
|
||||||
* tree. An additional intellectual property rights grant can be found
|
|
||||||
* in the file PATENTS. All contributing project authors may
|
|
||||||
* be found in the AUTHORS file in the root of the source tree.
|
|
||||||
*/
|
|
||||||
|
|
||||||
#import "api/peerconnection/RTCMediaStream.h"
|
|
|
@ -1,11 +0,0 @@
|
||||||
/*
|
|
||||||
* Copyright 2015 The WebRTC project authors. All Rights Reserved.
|
|
||||||
*
|
|
||||||
* Use of this source code is governed by a BSD-style license
|
|
||||||
* that can be found in the LICENSE file in the root of the source
|
|
||||||
* tree. An additional intellectual property rights grant can be found
|
|
||||||
* in the file PATENTS. All contributing project authors may
|
|
||||||
* be found in the AUTHORS file in the root of the source tree.
|
|
||||||
*/
|
|
||||||
|
|
||||||
#import "api/peerconnection/RTCMediaStreamTrack.h"
|
|
|
@ -1,11 +0,0 @@
|
||||||
/*
|
|
||||||
* Copyright 2016 The WebRTC project authors. All Rights Reserved.
|
|
||||||
*
|
|
||||||
* Use of this source code is governed by a BSD-style license
|
|
||||||
* that can be found in the LICENSE file in the root of the source
|
|
||||||
* tree. An additional intellectual property rights grant can be found
|
|
||||||
* in the file PATENTS. All contributing project authors may
|
|
||||||
* be found in the AUTHORS file in the root of the source tree.
|
|
||||||
*/
|
|
||||||
|
|
||||||
#import "api/peerconnection/RTCMetrics.h"
|
|
|
@ -1,11 +0,0 @@
|
||||||
/*
|
|
||||||
* Copyright 2016 The WebRTC project authors. All Rights Reserved.
|
|
||||||
*
|
|
||||||
* Use of this source code is governed by a BSD-style license
|
|
||||||
* that can be found in the LICENSE file in the root of the source
|
|
||||||
* tree. An additional intellectual property rights grant can be found
|
|
||||||
* in the file PATENTS. All contributing project authors may
|
|
||||||
* be found in the AUTHORS file in the root of the source tree.
|
|
||||||
*/
|
|
||||||
|
|
||||||
#import "api/peerconnection/RTCMetricsSampleInfo.h"
|
|
|
@ -1,11 +0,0 @@
|
||||||
/*
|
|
||||||
* Copyright 2015 The WebRTC project authors. All Rights Reserved.
|
|
||||||
*
|
|
||||||
* Use of this source code is governed by a BSD-style license
|
|
||||||
* that can be found in the LICENSE file in the root of the source
|
|
||||||
* tree. An additional intellectual property rights grant can be found
|
|
||||||
* in the file PATENTS. All contributing project authors may
|
|
||||||
* be found in the AUTHORS file in the root of the source tree.
|
|
||||||
*/
|
|
||||||
|
|
||||||
#import "components/renderer/opengl/RTCNSGLVideoView.h"
|
|
|
@ -1,11 +0,0 @@
|
||||||
/*
|
|
||||||
* Copyright 2015 The WebRTC project authors. All Rights Reserved.
|
|
||||||
*
|
|
||||||
* Use of this source code is governed by a BSD-style license
|
|
||||||
* that can be found in the LICENSE file in the root of the source
|
|
||||||
* tree. An additional intellectual property rights grant can be found
|
|
||||||
* in the file PATENTS. All contributing project authors may
|
|
||||||
* be found in the AUTHORS file in the root of the source tree.
|
|
||||||
*/
|
|
||||||
|
|
||||||
#import "api/peerconnection/RTCPeerConnection.h"
|
|
|
@ -1,11 +0,0 @@
|
||||||
/*
|
|
||||||
* Copyright 2015 The WebRTC project authors. All Rights Reserved.
|
|
||||||
*
|
|
||||||
* Use of this source code is governed by a BSD-style license
|
|
||||||
* that can be found in the LICENSE file in the root of the source
|
|
||||||
* tree. An additional intellectual property rights grant can be found
|
|
||||||
* in the file PATENTS. All contributing project authors may
|
|
||||||
* be found in the AUTHORS file in the root of the source tree.
|
|
||||||
*/
|
|
||||||
|
|
||||||
#import "api/peerconnection/RTCPeerConnectionFactory.h"
|
|
|
@ -1,11 +0,0 @@
|
||||||
/*
|
|
||||||
* Copyright 2017 The WebRTC project authors. All Rights Reserved.
|
|
||||||
*
|
|
||||||
* Use of this source code is governed by a BSD-style license
|
|
||||||
* that can be found in the LICENSE file in the root of the source
|
|
||||||
* tree. An additional intellectual property rights grant can be found
|
|
||||||
* in the file PATENTS. All contributing project authors may
|
|
||||||
* be found in the AUTHORS file in the root of the source tree.
|
|
||||||
*/
|
|
||||||
|
|
||||||
#import "api/peerconnection/RTCPeerConnectionFactoryOptions.h"
|
|
|
@ -1,11 +0,0 @@
|
||||||
/*
|
|
||||||
* Copyright 2018 The WebRTC project authors. All Rights Reserved.
|
|
||||||
*
|
|
||||||
* Use of this source code is governed by a BSD-style license
|
|
||||||
* that can be found in the LICENSE file in the root of the source
|
|
||||||
* tree. An additional intellectual property rights grant can be found
|
|
||||||
* in the file PATENTS. All contributing project authors may
|
|
||||||
* be found in the AUTHORS file in the root of the source tree.
|
|
||||||
*/
|
|
||||||
|
|
||||||
#import "api/peerconnection/RTCRtcpParameters.h"
|
|
|
@ -1,11 +0,0 @@
|
||||||
/*
|
|
||||||
* Copyright 2016 The WebRTC project authors. All Rights Reserved.
|
|
||||||
*
|
|
||||||
* Use of this source code is governed by a BSD-style license
|
|
||||||
* that can be found in the LICENSE file in the root of the source
|
|
||||||
* tree. An additional intellectual property rights grant can be found
|
|
||||||
* in the file PATENTS. All contributing project authors may
|
|
||||||
* be found in the AUTHORS file in the root of the source tree.
|
|
||||||
*/
|
|
||||||
|
|
||||||
#import "api/peerconnection/RTCRtpCodecParameters.h"
|
|
|
@ -1,11 +0,0 @@
|
||||||
/*
|
|
||||||
* Copyright 2016 The WebRTC project authors. All Rights Reserved.
|
|
||||||
*
|
|
||||||
* Use of this source code is governed by a BSD-style license
|
|
||||||
* that can be found in the LICENSE file in the root of the source
|
|
||||||
* tree. An additional intellectual property rights grant can be found
|
|
||||||
* in the file PATENTS. All contributing project authors may
|
|
||||||
* be found in the AUTHORS file in the root of the source tree.
|
|
||||||
*/
|
|
||||||
|
|
||||||
#import "api/peerconnection/RTCRtpEncodingParameters.h"
|
|
|
@ -1,11 +0,0 @@
|
||||||
/*
|
|
||||||
* Copyright 2018 The WebRTC project authors. All Rights Reserved.
|
|
||||||
*
|
|
||||||
* Use of this source code is governed by a BSD-style license
|
|
||||||
* that can be found in the LICENSE file in the root of the source
|
|
||||||
* tree. An additional intellectual property rights grant can be found
|
|
||||||
* in the file PATENTS. All contributing project authors may
|
|
||||||
* be found in the AUTHORS file in the root of the source tree.
|
|
||||||
*/
|
|
||||||
|
|
||||||
#import "api/peerconnection/RTCRtpHeaderExtension.h"
|
|
|
@ -1,11 +0,0 @@
|
||||||
/*
|
|
||||||
* Copyright 2016 The WebRTC project authors. All Rights Reserved.
|
|
||||||
*
|
|
||||||
* Use of this source code is governed by a BSD-style license
|
|
||||||
* that can be found in the LICENSE file in the root of the source
|
|
||||||
* tree. An additional intellectual property rights grant can be found
|
|
||||||
* in the file PATENTS. All contributing project authors may
|
|
||||||
* be found in the AUTHORS file in the root of the source tree.
|
|
||||||
*/
|
|
||||||
|
|
||||||
#import "api/peerconnection/RTCRtpParameters.h"
|
|
|
@ -1,11 +0,0 @@
|
||||||
/*
|
|
||||||
* Copyright 2016 The WebRTC project authors. All Rights Reserved.
|
|
||||||
*
|
|
||||||
* Use of this source code is governed by a BSD-style license
|
|
||||||
* that can be found in the LICENSE file in the root of the source
|
|
||||||
* tree. An additional intellectual property rights grant can be found
|
|
||||||
* in the file PATENTS. All contributing project authors may
|
|
||||||
* be found in the AUTHORS file in the root of the source tree.
|
|
||||||
*/
|
|
||||||
|
|
||||||
#import "api/peerconnection/RTCRtpReceiver.h"
|
|
|
@ -1,11 +0,0 @@
|
||||||
/*
|
|
||||||
* Copyright 2016 The WebRTC project authors. All Rights Reserved.
|
|
||||||
*
|
|
||||||
* Use of this source code is governed by a BSD-style license
|
|
||||||
* that can be found in the LICENSE file in the root of the source
|
|
||||||
* tree. An additional intellectual property rights grant can be found
|
|
||||||
* in the file PATENTS. All contributing project authors may
|
|
||||||
* be found in the AUTHORS file in the root of the source tree.
|
|
||||||
*/
|
|
||||||
|
|
||||||
#import "api/peerconnection/RTCRtpSender.h"
|
|
|
@ -1,11 +0,0 @@
|
||||||
/*
|
|
||||||
* Copyright 2018 The WebRTC project authors. All Rights Reserved.
|
|
||||||
*
|
|
||||||
* Use of this source code is governed by a BSD-style license
|
|
||||||
* that can be found in the LICENSE file in the root of the source
|
|
||||||
* tree. An additional intellectual property rights grant can be found
|
|
||||||
* in the file PATENTS. All contributing project authors may
|
|
||||||
* be found in the AUTHORS file in the root of the source tree.
|
|
||||||
*/
|
|
||||||
|
|
||||||
#import "api/peerconnection/RTCRtpTransceiver.h"
|
|
|
@ -1,11 +0,0 @@
|
||||||
/*
|
|
||||||
* Copyright 2016 The WebRTC project authors. All Rights Reserved.
|
|
||||||
*
|
|
||||||
* Use of this source code is governed by a BSD-style license
|
|
||||||
* that can be found in the LICENSE file in the root of the source
|
|
||||||
* tree. An additional intellectual property rights grant can be found
|
|
||||||
* in the file PATENTS. All contributing project authors may
|
|
||||||
* be found in the AUTHORS file in the root of the source tree.
|
|
||||||
*/
|
|
||||||
|
|
||||||
#import "api/peerconnection/RTCSSLAdapter.h"
|
|
|
@ -1,11 +0,0 @@
|
||||||
/*
|
|
||||||
* Copyright 2015 The WebRTC project authors. All Rights Reserved.
|
|
||||||
*
|
|
||||||
* Use of this source code is governed by a BSD-style license
|
|
||||||
* that can be found in the LICENSE file in the root of the source
|
|
||||||
* tree. An additional intellectual property rights grant can be found
|
|
||||||
* in the file PATENTS. All contributing project authors may
|
|
||||||
* be found in the AUTHORS file in the root of the source tree.
|
|
||||||
*/
|
|
||||||
|
|
||||||
#import "api/peerconnection/RTCSessionDescription.h"
|
|
|
@ -1,11 +0,0 @@
|
||||||
/*
|
|
||||||
* Copyright 2016 The WebRTC Project Authors. All rights reserved.
|
|
||||||
*
|
|
||||||
* Use of this source code is governed by a BSD-style license
|
|
||||||
* that can be found in the LICENSE file in the root of the source
|
|
||||||
* tree. An additional intellectual property rights grant can be found
|
|
||||||
* in the file PATENTS. All contributing project authors may
|
|
||||||
* be found in the AUTHORS file in the root of the source tree.
|
|
||||||
*/
|
|
||||||
|
|
||||||
#import "api/peerconnection/RTCTracing.h"
|
|
|
@ -1,11 +0,0 @@
|
||||||
/*
|
|
||||||
* Copyright 2017 The WebRTC project authors. All Rights Reserved.
|
|
||||||
*
|
|
||||||
* Use of this source code is governed by a BSD-style license
|
|
||||||
* that can be found in the LICENSE file in the root of the source
|
|
||||||
* tree. An additional intellectual property rights grant can be found
|
|
||||||
* in the file PATENTS. All contributing project authors may
|
|
||||||
* be found in the AUTHORS file in the root of the source tree.
|
|
||||||
*/
|
|
||||||
|
|
||||||
#import "base/RTCVideoCapturer.h"
|
|
|
@ -1,20 +0,0 @@
|
||||||
/*
|
|
||||||
* Copyright 2017 The WebRTC project authors. All Rights Reserved.
|
|
||||||
*
|
|
||||||
* Use of this source code is governed by a BSD-style license
|
|
||||||
* that can be found in the LICENSE file in the root of the source
|
|
||||||
* tree. An additional intellectual property rights grant can be found
|
|
||||||
* in the file PATENTS. All contributing project authors may
|
|
||||||
* be found in the AUTHORS file in the root of the source tree.
|
|
||||||
*/
|
|
||||||
|
|
||||||
#import "api/video_codec/RTCVideoCodecConstants.h"
|
|
||||||
#import "base/RTCCodecSpecificInfo.h"
|
|
||||||
#import "base/RTCEncodedImage.h"
|
|
||||||
#import "base/RTCRtpFragmentationHeader.h"
|
|
||||||
#import "base/RTCVideoCodecInfo.h"
|
|
||||||
#import "base/RTCVideoDecoder.h"
|
|
||||||
#import "base/RTCVideoEncoder.h"
|
|
||||||
#import "base/RTCVideoEncoderQpThresholds.h"
|
|
||||||
#import "base/RTCVideoEncoderSettings.h"
|
|
||||||
#import "components/video_codec/RTCH264ProfileLevelId.h"
|
|
|
@ -1,14 +0,0 @@
|
||||||
/*
|
|
||||||
* Copyright 2017 The WebRTC project authors. All Rights Reserved.
|
|
||||||
*
|
|
||||||
* Use of this source code is governed by a BSD-style license
|
|
||||||
* that can be found in the LICENSE file in the root of the source
|
|
||||||
* tree. An additional intellectual property rights grant can be found
|
|
||||||
* in the file PATENTS. All contributing project authors may
|
|
||||||
* be found in the AUTHORS file in the root of the source tree.
|
|
||||||
*/
|
|
||||||
|
|
||||||
#import "base/RTCVideoDecoderFactory.h"
|
|
||||||
#import "base/RTCVideoEncoderFactory.h"
|
|
||||||
#import "components/video_codec/RTCDefaultVideoDecoderFactory.h"
|
|
||||||
#import "components/video_codec/RTCDefaultVideoEncoderFactory.h"
|
|
|
@ -1,16 +0,0 @@
|
||||||
/*
|
|
||||||
* Copyright 2017 The WebRTC project authors. All Rights Reserved.
|
|
||||||
*
|
|
||||||
* Use of this source code is governed by a BSD-style license
|
|
||||||
* that can be found in the LICENSE file in the root of the source
|
|
||||||
* tree. An additional intellectual property rights grant can be found
|
|
||||||
* in the file PATENTS. All contributing project authors may
|
|
||||||
* be found in the AUTHORS file in the root of the source tree.
|
|
||||||
*/
|
|
||||||
|
|
||||||
#import "components/video_codec/RTCCodecSpecificInfoH264.h"
|
|
||||||
#import "components/video_codec/RTCH264ProfileLevelId.h"
|
|
||||||
#import "components/video_codec/RTCVideoDecoderFactoryH264.h"
|
|
||||||
#import "components/video_codec/RTCVideoDecoderH264.h"
|
|
||||||
#import "components/video_codec/RTCVideoEncoderFactoryH264.h"
|
|
||||||
#import "components/video_codec/RTCVideoEncoderH264.h"
|
|
|
@ -1,11 +0,0 @@
|
||||||
/*
|
|
||||||
* Copyright 2017 The WebRTC project authors. All Rights Reserved.
|
|
||||||
*
|
|
||||||
* Use of this source code is governed by a BSD-style license
|
|
||||||
* that can be found in the LICENSE file in the root of the source
|
|
||||||
* tree. An additional intellectual property rights grant can be found
|
|
||||||
* in the file PATENTS. All contributing project authors may
|
|
||||||
* be found in the AUTHORS file in the root of the source tree.
|
|
||||||
*/
|
|
||||||
|
|
||||||
#import "base/RTCVideoCodecInfo.h"
|
|
|
@ -1,11 +0,0 @@
|
||||||
/*
|
|
||||||
* Copyright 2017 The WebRTC project authors. All Rights Reserved.
|
|
||||||
*
|
|
||||||
* Use of this source code is governed by a BSD-style license
|
|
||||||
* that can be found in the LICENSE file in the root of the source
|
|
||||||
* tree. An additional intellectual property rights grant can be found
|
|
||||||
* in the file PATENTS. All contributing project authors may
|
|
||||||
* be found in the AUTHORS file in the root of the source tree.
|
|
||||||
*/
|
|
||||||
|
|
||||||
#import "api/video_codec/RTCVideoDecoderVP8.h"
|
|
|
@ -1,11 +0,0 @@
|
||||||
/*
|
|
||||||
* Copyright 2017 The WebRTC project authors. All Rights Reserved.
|
|
||||||
*
|
|
||||||
* Use of this source code is governed by a BSD-style license
|
|
||||||
* that can be found in the LICENSE file in the root of the source
|
|
||||||
* tree. An additional intellectual property rights grant can be found
|
|
||||||
* in the file PATENTS. All contributing project authors may
|
|
||||||
* be found in the AUTHORS file in the root of the source tree.
|
|
||||||
*/
|
|
||||||
|
|
||||||
#import "api/video_codec/RTCVideoDecoderVP9.h"
|
|
|
@ -1,11 +0,0 @@
|
||||||
/*
|
|
||||||
* Copyright 2017 The WebRTC project authors. All Rights Reserved.
|
|
||||||
*
|
|
||||||
* Use of this source code is governed by a BSD-style license
|
|
||||||
* that can be found in the LICENSE file in the root of the source
|
|
||||||
* tree. An additional intellectual property rights grant can be found
|
|
||||||
* in the file PATENTS. All contributing project authors may
|
|
||||||
* be found in the AUTHORS file in the root of the source tree.
|
|
||||||
*/
|
|
||||||
|
|
||||||
#import "api/video_codec/RTCVideoEncoderVP8.h"
|
|
|
@ -1,11 +0,0 @@
|
||||||
/*
|
|
||||||
* Copyright 2017 The WebRTC project authors. All Rights Reserved.
|
|
||||||
*
|
|
||||||
* Use of this source code is governed by a BSD-style license
|
|
||||||
* that can be found in the LICENSE file in the root of the source
|
|
||||||
* tree. An additional intellectual property rights grant can be found
|
|
||||||
* in the file PATENTS. All contributing project authors may
|
|
||||||
* be found in the AUTHORS file in the root of the source tree.
|
|
||||||
*/
|
|
||||||
|
|
||||||
#import "api/video_codec/RTCVideoEncoderVP9.h"
|
|
|
@ -1,11 +0,0 @@
|
||||||
/*
|
|
||||||
* Copyright 2015 The WebRTC project authors. All Rights Reserved.
|
|
||||||
*
|
|
||||||
* Use of this source code is governed by a BSD-style license
|
|
||||||
* that can be found in the LICENSE file in the root of the source
|
|
||||||
* tree. An additional intellectual property rights grant can be found
|
|
||||||
* in the file PATENTS. All contributing project authors may
|
|
||||||
* be found in the AUTHORS file in the root of the source tree.
|
|
||||||
*/
|
|
||||||
|
|
||||||
#import "base/RTCVideoFrame.h"
|
|
|
@ -1,18 +0,0 @@
|
||||||
/*
|
|
||||||
* Copyright 2017 The WebRTC project authors. All Rights Reserved.
|
|
||||||
*
|
|
||||||
* Use of this source code is governed by a BSD-style license
|
|
||||||
* that can be found in the LICENSE file in the root of the source
|
|
||||||
* tree. An additional intellectual property rights grant can be found
|
|
||||||
* in the file PATENTS. All contributing project authors may
|
|
||||||
* be found in the AUTHORS file in the root of the source tree.
|
|
||||||
*/
|
|
||||||
|
|
||||||
#import "api/video_frame_buffer/RTCNativeI420Buffer.h"
|
|
||||||
#import "api/video_frame_buffer/RTCNativeMutableI420Buffer.h"
|
|
||||||
#import "base/RTCI420Buffer.h"
|
|
||||||
#import "base/RTCMutableI420Buffer.h"
|
|
||||||
#import "base/RTCMutableYUVPlanarBuffer.h"
|
|
||||||
#import "base/RTCVideoFrameBuffer.h"
|
|
||||||
#import "base/RTCYUVPlanarBuffer.h"
|
|
||||||
#import "components/video_frame_buffer/RTCCVPixelBuffer.h"
|
|
|
@ -1,11 +0,0 @@
|
||||||
/*
|
|
||||||
* Copyright 2015 The WebRTC project authors. All Rights Reserved.
|
|
||||||
*
|
|
||||||
* Use of this source code is governed by a BSD-style license
|
|
||||||
* that can be found in the LICENSE file in the root of the source
|
|
||||||
* tree. An additional intellectual property rights grant can be found
|
|
||||||
* in the file PATENTS. All contributing project authors may
|
|
||||||
* be found in the AUTHORS file in the root of the source tree.
|
|
||||||
*/
|
|
||||||
|
|
||||||
#import "base/RTCVideoRenderer.h"
|
|
|
@ -1,11 +0,0 @@
|
||||||
/*
|
|
||||||
* Copyright 2015 The WebRTC project authors. All Rights Reserved.
|
|
||||||
*
|
|
||||||
* Use of this source code is governed by a BSD-style license
|
|
||||||
* that can be found in the LICENSE file in the root of the source
|
|
||||||
* tree. An additional intellectual property rights grant can be found
|
|
||||||
* in the file PATENTS. All contributing project authors may
|
|
||||||
* be found in the AUTHORS file in the root of the source tree.
|
|
||||||
*/
|
|
||||||
|
|
||||||
#import "api/peerconnection/RTCVideoSource.h"
|
|
|
@ -1,11 +0,0 @@
|
||||||
/*
|
|
||||||
* Copyright 2015 The WebRTC project authors. All Rights Reserved.
|
|
||||||
*
|
|
||||||
* Use of this source code is governed by a BSD-style license
|
|
||||||
* that can be found in the LICENSE file in the root of the source
|
|
||||||
* tree. An additional intellectual property rights grant can be found
|
|
||||||
* in the file PATENTS. All contributing project authors may
|
|
||||||
* be found in the AUTHORS file in the root of the source tree.
|
|
||||||
*/
|
|
||||||
|
|
||||||
#import "api/peerconnection/RTCVideoTrack.h"
|
|
|
@ -1,11 +0,0 @@
|
||||||
/*
|
|
||||||
* Copyright 2017 The WebRTC project authors. All Rights Reserved.
|
|
||||||
*
|
|
||||||
* Use of this source code is governed by a BSD-style license
|
|
||||||
* that can be found in the LICENSE file in the root of the source
|
|
||||||
* tree. An additional intellectual property rights grant can be found
|
|
||||||
* in the file PATENTS. All contributing project authors may
|
|
||||||
* be found in the AUTHORS file in the root of the source tree.
|
|
||||||
*/
|
|
||||||
|
|
||||||
#import "components/renderer/opengl/RTCVideoViewShading.h"
|
|
|
@ -1,11 +0,0 @@
|
||||||
/*
|
|
||||||
* Copyright 2016 The WebRTC project authors. All Rights Reserved.
|
|
||||||
*
|
|
||||||
* Use of this source code is governed by a BSD-style license
|
|
||||||
* that can be found in the LICENSE file in the root of the source
|
|
||||||
* tree. An additional intellectual property rights grant can be found
|
|
||||||
* in the file PATENTS. All contributing project authors may
|
|
||||||
* be found in the AUTHORS file in the root of the source tree.
|
|
||||||
*/
|
|
||||||
|
|
||||||
#import "helpers/UIDevice+RTCDevice.h"
|
|
47
tools_webrtc/apple/copy_framework_header.py
Executable file
47
tools_webrtc/apple/copy_framework_header.py
Executable file
|
@ -0,0 +1,47 @@
|
||||||
|
#!/usr/bin/env python
|
||||||
|
# Copyright (c) 2020 The WebRTC project authors. All Rights Reserved.
|
||||||
|
#
|
||||||
|
# Use of this source code is governed by a BSD-style license
|
||||||
|
# that can be found in the LICENSE file in the root of the source
|
||||||
|
# tree. An additional intellectual property rights grant can be found
|
||||||
|
# in the file PATENTS. All contributing project authors may
|
||||||
|
# be found in the AUTHORS file in the root of the source tree.
|
||||||
|
|
||||||
|
import argparse
|
||||||
|
import re
|
||||||
|
import sys
|
||||||
|
|
||||||
|
|
||||||
|
def replace_double_quote(line):
|
||||||
|
re_rtc_import = re.compile(
|
||||||
|
r'(\s*)#import\s+"(\S+/|)(\w+\+|)RTC(\w+)\.h"(.*)', re.DOTALL)
|
||||||
|
match = re_rtc_import.match(line)
|
||||||
|
if not match:
|
||||||
|
return line
|
||||||
|
|
||||||
|
return '%s#import <WebRTC/%sRTC%s.h>%s' % (match.group(1), match.group(3),
|
||||||
|
match.group(4), match.group(5))
|
||||||
|
|
||||||
|
|
||||||
|
def process(input_file, output_file):
|
||||||
|
with open(input_file, 'rb') as fb, open(output_file, 'wb') as fw:
|
||||||
|
for line in fb.read().decode('UTF-8').splitlines():
|
||||||
|
fw.write(replace_double_quote(line).encode('UTF-8'))
|
||||||
|
fw.write(b"\n")
|
||||||
|
|
||||||
|
|
||||||
|
def main():
|
||||||
|
parser = argparse.ArgumentParser(
|
||||||
|
description=
|
||||||
|
"Copy headers of framework and replace double-quoted includes to" +
|
||||||
|
" angle-bracketed respectively.")
|
||||||
|
parser.add_argument('--input',
|
||||||
|
help='Input header files to copy.',
|
||||||
|
type=str)
|
||||||
|
parser.add_argument('--output', help='Output file.', type=str)
|
||||||
|
parsed_args = parser.parse_args()
|
||||||
|
return process(parsed_args.input, parsed_args.output)
|
||||||
|
|
||||||
|
|
||||||
|
if __name__ == '__main__':
|
||||||
|
sys.exit(main())
|
35
tools_webrtc/apple/copy_framework_header_test.py
Normal file
35
tools_webrtc/apple/copy_framework_header_test.py
Normal file
|
@ -0,0 +1,35 @@
|
||||||
|
#!/usr/bin/env python
|
||||||
|
# Copyright (c) 2020 The WebRTC project authors. All Rights Reserved.
|
||||||
|
#
|
||||||
|
# Use of this source code is governed by a BSD-style license
|
||||||
|
# that can be found in the LICENSE file in the root of the source
|
||||||
|
# tree. An additional intellectual property rights grant can be found
|
||||||
|
# in the file PATENTS. All contributing project authors may
|
||||||
|
# be found in the AUTHORS file in the root of the source tree.
|
||||||
|
|
||||||
|
import unittest
|
||||||
|
from copy_framework_header import replace_double_quote
|
||||||
|
|
||||||
|
|
||||||
|
class TestCopyFramework(unittest.TestCase):
|
||||||
|
def testReplaceDoubleQuote(self):
|
||||||
|
self.assertEqual(replace_double_quote("""#import "RTCMacros.h\""""),
|
||||||
|
"""#import <WebRTC/RTCMacros.h>""")
|
||||||
|
self.assertEqual(replace_double_quote("""#import "RTCMacros.h\"\n"""),
|
||||||
|
"""#import <WebRTC/RTCMacros.h>\n""")
|
||||||
|
self.assertEqual(
|
||||||
|
replace_double_quote("""#import "UIDevice+RTCDevice.h\"\n"""),
|
||||||
|
"""#import <WebRTC/UIDevice+RTCDevice.h>\n""")
|
||||||
|
self.assertEqual(
|
||||||
|
replace_double_quote("#import \"components/video_codec/" +
|
||||||
|
"RTCVideoDecoderFactoryH264.h\"\n"),
|
||||||
|
"""#import <WebRTC/RTCVideoDecoderFactoryH264.h>\n""")
|
||||||
|
self.assertEqual(
|
||||||
|
replace_double_quote(
|
||||||
|
"""@property(atomic, strong) RTC_OBJC_TYPE(RTCVideoFrame) *\n"""
|
||||||
|
),
|
||||||
|
"""@property(atomic, strong) RTC_OBJC_TYPE(RTCVideoFrame) *\n""")
|
||||||
|
|
||||||
|
|
||||||
|
if __name__ == '__main__':
|
||||||
|
unittest.main()
|
58
webrtc.gni
58
webrtc.gni
|
@ -891,17 +891,39 @@ if (is_ios) {
|
||||||
# projects. See "mac_framework_bundle_with_umbrella_header".
|
# projects. See "mac_framework_bundle_with_umbrella_header".
|
||||||
template("ios_framework_bundle_with_umbrella_header") {
|
template("ios_framework_bundle_with_umbrella_header") {
|
||||||
forward_variables_from(invoker, [ "output_name" ])
|
forward_variables_from(invoker, [ "output_name" ])
|
||||||
|
this_target_name = target_name
|
||||||
umbrella_header_path =
|
umbrella_header_path =
|
||||||
"$target_gen_dir/$output_name.framework/Headers/$output_name.h"
|
"$target_gen_dir/$output_name.framework/WebRTC/$output_name.h"
|
||||||
|
|
||||||
|
action_foreach("create_bracket_include_headers_$target_name") {
|
||||||
|
script = "//tools_webrtc/apple/copy_framework_header.py"
|
||||||
|
sources = invoker.sources
|
||||||
|
output_name = invoker.output_name
|
||||||
|
outputs = [
|
||||||
|
"$target_gen_dir/$output_name.framework/WebRTC/{{source_file_part}}",
|
||||||
|
]
|
||||||
|
args = [
|
||||||
|
"--input",
|
||||||
|
"{{source}}",
|
||||||
|
"--output",
|
||||||
|
rebase_path(target_gen_dir, root_build_dir) +
|
||||||
|
"/$output_name.framework/WebRTC/{{source_file_part}}",
|
||||||
|
]
|
||||||
|
}
|
||||||
|
|
||||||
ios_framework_bundle(target_name) {
|
ios_framework_bundle(target_name) {
|
||||||
forward_variables_from(invoker, "*", [])
|
forward_variables_from(invoker, "*", [ "public_headers" ])
|
||||||
|
public_headers = get_target_outputs(
|
||||||
deps += [ ":copy_umbrella_header_$target_name" ]
|
":create_bracket_include_headers_$this_target_name")
|
||||||
|
deps += [
|
||||||
|
":copy_umbrella_header_$target_name",
|
||||||
|
":create_bracket_include_headers_$target_name",
|
||||||
|
]
|
||||||
}
|
}
|
||||||
|
|
||||||
action("umbrella_header_$target_name") {
|
action("umbrella_header_$target_name") {
|
||||||
forward_variables_from(invoker, [ "public_headers" ])
|
public_headers = get_target_outputs(
|
||||||
|
":create_bracket_include_headers_$this_target_name")
|
||||||
|
|
||||||
script = "//tools_webrtc/ios/generate_umbrella_header.py"
|
script = "//tools_webrtc/ios/generate_umbrella_header.py"
|
||||||
|
|
||||||
|
@ -911,6 +933,7 @@ if (is_ios) {
|
||||||
rebase_path(umbrella_header_path, root_build_dir),
|
rebase_path(umbrella_header_path, root_build_dir),
|
||||||
"--sources",
|
"--sources",
|
||||||
] + public_headers
|
] + public_headers
|
||||||
|
deps = [ ":create_bracket_include_headers_$this_target_name" ]
|
||||||
}
|
}
|
||||||
|
|
||||||
copy("copy_umbrella_header_$target_name") {
|
copy("copy_umbrella_header_$target_name") {
|
||||||
|
@ -957,15 +980,34 @@ if (is_mac) {
|
||||||
":copy_framework_headers_$this_target_name",
|
":copy_framework_headers_$this_target_name",
|
||||||
":copy_modulemap_$this_target_name",
|
":copy_modulemap_$this_target_name",
|
||||||
":copy_umbrella_header_$this_target_name",
|
":copy_umbrella_header_$this_target_name",
|
||||||
|
":create_bracket_include_headers_$this_target_name",
|
||||||
":modulemap_$this_target_name",
|
":modulemap_$this_target_name",
|
||||||
":umbrella_header_$this_target_name",
|
":umbrella_header_$this_target_name",
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
|
||||||
|
action_foreach("create_bracket_include_headers_$this_target_name") {
|
||||||
|
script = "//tools_webrtc/apple/copy_framework_header.py"
|
||||||
|
sources = invoker.sources
|
||||||
|
output_name = invoker.output_name
|
||||||
|
outputs = [
|
||||||
|
"$target_gen_dir/$output_name.framework/WebRTC/{{source_file_part}}",
|
||||||
|
]
|
||||||
|
args = [
|
||||||
|
"--input",
|
||||||
|
"{{source}}",
|
||||||
|
"--output",
|
||||||
|
rebase_path(target_gen_dir, root_build_dir) +
|
||||||
|
"/$output_name.framework/WebRTC/{{source_file_part}}",
|
||||||
|
]
|
||||||
|
}
|
||||||
|
|
||||||
bundle_data("copy_framework_headers_$this_target_name") {
|
bundle_data("copy_framework_headers_$this_target_name") {
|
||||||
forward_variables_from(invoker, [ "sources" ])
|
sources = get_target_outputs(
|
||||||
|
":create_bracket_include_headers_$this_target_name")
|
||||||
|
|
||||||
outputs = [ "{{bundle_contents_dir}}/Headers/{{source_file_part}}" ]
|
outputs = [ "{{bundle_contents_dir}}/Headers/{{source_file_part}}" ]
|
||||||
|
deps = [ ":create_bracket_include_headers_$this_target_name" ]
|
||||||
}
|
}
|
||||||
|
|
||||||
action("modulemap_$this_target_name") {
|
action("modulemap_$this_target_name") {
|
||||||
|
@ -986,7 +1028,8 @@ if (is_mac) {
|
||||||
}
|
}
|
||||||
|
|
||||||
action("umbrella_header_$this_target_name") {
|
action("umbrella_header_$this_target_name") {
|
||||||
forward_variables_from(invoker, [ "sources" ])
|
sources = get_target_outputs(
|
||||||
|
":create_bracket_include_headers_$this_target_name")
|
||||||
|
|
||||||
script = "//tools_webrtc/ios/generate_umbrella_header.py"
|
script = "//tools_webrtc/ios/generate_umbrella_header.py"
|
||||||
|
|
||||||
|
@ -996,6 +1039,7 @@ if (is_mac) {
|
||||||
rebase_path(umbrella_header_path, root_build_dir),
|
rebase_path(umbrella_header_path, root_build_dir),
|
||||||
"--sources",
|
"--sources",
|
||||||
] + sources
|
] + sources
|
||||||
|
deps = [ ":create_bracket_include_headers_$this_target_name" ]
|
||||||
}
|
}
|
||||||
|
|
||||||
bundle_data("copy_umbrella_header_$this_target_name") {
|
bundle_data("copy_umbrella_header_$this_target_name") {
|
||||||
|
|
Loading…
Reference in a new issue