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

Side by Side Diff: webrtc/sdk/BUILD.gn

Issue 2987143003: Remove RTCAVFoundationVideoSource
Patch Set: Created 3 years, 4 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 unified diff | Download patch
OLDNEW
1 # Copyright 2016 The WebRTC project authors. All Rights Reserved. 1 # Copyright 2016 The WebRTC project authors. All Rights Reserved.
2 # 2 #
3 # Use of this source code is governed by a BSD-style license 3 # Use of this source code is governed by a BSD-style license
4 # that can be found in the LICENSE file in the root of the source 4 # that can be found in the LICENSE file in the root of the source
5 # tree. An additional intellectual property rights grant can be found 5 # tree. An additional intellectual property rights grant can be found
6 # in the file PATENTS. All contributing project authors may 6 # in the file PATENTS. All contributing project authors may
7 # be found in the AUTHORS file in the root of the source tree. 7 # be found in the AUTHORS file in the root of the source tree.
8 8
9 import("../webrtc.gni") 9 import("../webrtc.gni")
10 if (is_ios) { 10 if (is_ios) {
(...skipping 126 matching lines...) Expand 10 before | Expand all | Expand 10 after
137 # Suppress warnings from the Chromium Clang plugin 137 # Suppress warnings from the Chromium Clang plugin
138 # (bugs.webrtc.org/163). 138 # (bugs.webrtc.org/163).
139 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] 139 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ]
140 } 140 }
141 } 141 }
142 142
143 rtc_static_library("objc_video") { 143 rtc_static_library("objc_video") {
144 sources = [ 144 sources = [
145 "objc/Framework/Classes/Video/AVCaptureSession+DevicePosition.h", 145 "objc/Framework/Classes/Video/AVCaptureSession+DevicePosition.h",
146 "objc/Framework/Classes/Video/AVCaptureSession+DevicePosition.mm", 146 "objc/Framework/Classes/Video/AVCaptureSession+DevicePosition.mm",
147 "objc/Framework/Classes/Video/RTCAVFoundationVideoCapturerInternal.h",
148 "objc/Framework/Classes/Video/RTCAVFoundationVideoCapturerInternal.mm",
149 "objc/Framework/Classes/Video/RTCDefaultShader.h", 147 "objc/Framework/Classes/Video/RTCDefaultShader.h",
150 "objc/Framework/Classes/Video/RTCDefaultShader.mm", 148 "objc/Framework/Classes/Video/RTCDefaultShader.mm",
151 "objc/Framework/Classes/Video/RTCI420TextureCache.h", 149 "objc/Framework/Classes/Video/RTCI420TextureCache.h",
152 "objc/Framework/Classes/Video/RTCI420TextureCache.mm", 150 "objc/Framework/Classes/Video/RTCI420TextureCache.mm",
153 "objc/Framework/Classes/Video/RTCOpenGLDefines.h", 151 "objc/Framework/Classes/Video/RTCOpenGLDefines.h",
154 "objc/Framework/Classes/Video/RTCShader.h", 152 "objc/Framework/Classes/Video/RTCShader.h",
155 "objc/Framework/Classes/Video/RTCShader.mm", 153 "objc/Framework/Classes/Video/RTCShader.mm",
156 "objc/Framework/Classes/Video/avfoundationformatmapper.h",
157 "objc/Framework/Classes/Video/avfoundationformatmapper.mm",
158 "objc/Framework/Classes/Video/avfoundationvideocapturer.h",
159 "objc/Framework/Classes/Video/avfoundationvideocapturer.mm",
160 ] 154 ]
161 libs = [] 155 libs = []
162 if (is_ios) { 156 if (is_ios) {
163 sources += [ 157 sources += [
164 "objc/Framework/Classes/Video/RTCNV12TextureCache.h", 158 "objc/Framework/Classes/Video/RTCNV12TextureCache.h",
165 "objc/Framework/Classes/Video/RTCNV12TextureCache.m", 159 "objc/Framework/Classes/Video/RTCNV12TextureCache.m",
166 ] 160 ]
167 libs += [ 161 libs += [
168 "GLKit.framework", 162 "GLKit.framework",
169 "OpenGLES.framework", 163 "OpenGLES.framework",
(...skipping 81 matching lines...) Expand 10 before | Expand all | Expand 10 after
251 "../api:video_frame_api", 245 "../api:video_frame_api",
252 "../rtc_base:rtc_base_approved", 246 "../rtc_base:rtc_base_approved",
253 ] 247 ]
254 configs += [ "..:common_objc" ] 248 configs += [ "..:common_objc" ]
255 public_configs = [ ":objc_common_config" ] 249 public_configs = [ ":objc_common_config" ]
256 } 250 }
257 } 251 }
258 252
259 rtc_static_library("objc_peerconnection") { 253 rtc_static_library("objc_peerconnection") {
260 sources = [ 254 sources = [
261 "objc/Framework/Classes/PeerConnection/RTCAVFoundationVideoSource+Privat e.h",
262 "objc/Framework/Classes/PeerConnection/RTCAVFoundationVideoSource.mm",
263 "objc/Framework/Classes/PeerConnection/RTCCameraVideoCapturer.m", 255 "objc/Framework/Classes/PeerConnection/RTCCameraVideoCapturer.m",
264 "objc/Framework/Headers/WebRTC/RTCCameraVideoCapturer.h", 256 "objc/Framework/Headers/WebRTC/RTCCameraVideoCapturer.h",
265 ] 257 ]
266 if (is_ios) { 258 if (is_ios) {
267 sources += [ 259 sources += [
268 "objc/Framework/Classes/PeerConnection/RTCFileVideoCapturer.h", 260 "objc/Framework/Classes/PeerConnection/RTCFileVideoCapturer.h",
269 "objc/Framework/Classes/PeerConnection/RTCFileVideoCapturer.m", 261 "objc/Framework/Classes/PeerConnection/RTCFileVideoCapturer.m",
270 ] 262 ]
271 } 263 }
272 libs = [ "AVFoundation.framework" ] 264 libs = [ "AVFoundation.framework" ]
(...skipping 155 matching lines...) Expand 10 before | Expand all | Expand 10 after
428 "objc/Framework/Classes/PeerConnection/RTCVideoCodec.mm", 420 "objc/Framework/Classes/PeerConnection/RTCVideoCodec.mm",
429 "objc/Framework/Classes/PeerConnection/RTCVideoEncoderSettings.mm", 421 "objc/Framework/Classes/PeerConnection/RTCVideoEncoderSettings.mm",
430 "objc/Framework/Classes/PeerConnection/RTCVideoFrame.mm", 422 "objc/Framework/Classes/PeerConnection/RTCVideoFrame.mm",
431 "objc/Framework/Classes/PeerConnection/RTCVideoRendererAdapter+Private.h ", 423 "objc/Framework/Classes/PeerConnection/RTCVideoRendererAdapter+Private.h ",
432 "objc/Framework/Classes/PeerConnection/RTCVideoRendererAdapter.h", 424 "objc/Framework/Classes/PeerConnection/RTCVideoRendererAdapter.h",
433 "objc/Framework/Classes/PeerConnection/RTCVideoRendererAdapter.mm", 425 "objc/Framework/Classes/PeerConnection/RTCVideoRendererAdapter.mm",
434 "objc/Framework/Classes/PeerConnection/RTCVideoSource+Private.h", 426 "objc/Framework/Classes/PeerConnection/RTCVideoSource+Private.h",
435 "objc/Framework/Classes/PeerConnection/RTCVideoSource.mm", 427 "objc/Framework/Classes/PeerConnection/RTCVideoSource.mm",
436 "objc/Framework/Classes/PeerConnection/RTCVideoTrack+Private.h", 428 "objc/Framework/Classes/PeerConnection/RTCVideoTrack+Private.h",
437 "objc/Framework/Classes/PeerConnection/RTCVideoTrack.mm", 429 "objc/Framework/Classes/PeerConnection/RTCVideoTrack.mm",
438 "objc/Framework/Headers/WebRTC/RTCAVFoundationVideoSource.h",
439 "objc/Framework/Headers/WebRTC/RTCAudioSource.h", 430 "objc/Framework/Headers/WebRTC/RTCAudioSource.h",
440 "objc/Framework/Headers/WebRTC/RTCAudioTrack.h", 431 "objc/Framework/Headers/WebRTC/RTCAudioTrack.h",
441 "objc/Framework/Headers/WebRTC/RTCConfiguration.h", 432 "objc/Framework/Headers/WebRTC/RTCConfiguration.h",
442 "objc/Framework/Headers/WebRTC/RTCDataChannel.h", 433 "objc/Framework/Headers/WebRTC/RTCDataChannel.h",
443 "objc/Framework/Headers/WebRTC/RTCDataChannelConfiguration.h", 434 "objc/Framework/Headers/WebRTC/RTCDataChannelConfiguration.h",
444 "objc/Framework/Headers/WebRTC/RTCIceCandidate.h", 435 "objc/Framework/Headers/WebRTC/RTCIceCandidate.h",
445 "objc/Framework/Headers/WebRTC/RTCIceServer.h", 436 "objc/Framework/Headers/WebRTC/RTCIceServer.h",
446 "objc/Framework/Headers/WebRTC/RTCIntervalRange.h", 437 "objc/Framework/Headers/WebRTC/RTCIntervalRange.h",
447 "objc/Framework/Headers/WebRTC/RTCLegacyStatsReport.h", 438 "objc/Framework/Headers/WebRTC/RTCLegacyStatsReport.h",
448 "objc/Framework/Headers/WebRTC/RTCMediaConstraints.h", 439 "objc/Framework/Headers/WebRTC/RTCMediaConstraints.h",
(...skipping 57 matching lines...) Expand 10 before | Expand all | Expand 10 after
506 sources = [ 497 sources = [
507 "objc/Framework/UnitTests/RTCConfigurationTest.mm", 498 "objc/Framework/UnitTests/RTCConfigurationTest.mm",
508 "objc/Framework/UnitTests/RTCDataChannelConfigurationTest.mm", 499 "objc/Framework/UnitTests/RTCDataChannelConfigurationTest.mm",
509 "objc/Framework/UnitTests/RTCIceCandidateTest.mm", 500 "objc/Framework/UnitTests/RTCIceCandidateTest.mm",
510 "objc/Framework/UnitTests/RTCIceServerTest.mm", 501 "objc/Framework/UnitTests/RTCIceServerTest.mm",
511 "objc/Framework/UnitTests/RTCIntervalRangeTests.mm", 502 "objc/Framework/UnitTests/RTCIntervalRangeTests.mm",
512 "objc/Framework/UnitTests/RTCMediaConstraintsTest.mm", 503 "objc/Framework/UnitTests/RTCMediaConstraintsTest.mm",
513 "objc/Framework/UnitTests/RTCPeerConnectionTest.mm", 504 "objc/Framework/UnitTests/RTCPeerConnectionTest.mm",
514 "objc/Framework/UnitTests/RTCSessionDescriptionTest.mm", 505 "objc/Framework/UnitTests/RTCSessionDescriptionTest.mm",
515 "objc/Framework/UnitTests/RTCTracingTest.mm", 506 "objc/Framework/UnitTests/RTCTracingTest.mm",
516 "objc/Framework/UnitTests/avformatmappertests.mm",
517 "objc/Framework/UnitTests/objc_video_decoder_factory_tests.mm", 507 "objc/Framework/UnitTests/objc_video_decoder_factory_tests.mm",
518 "objc/Framework/UnitTests/objc_video_encoder_factory_tests.mm", 508 "objc/Framework/UnitTests/objc_video_encoder_factory_tests.mm",
519 ] 509 ]
520 if (is_ios && 510 if (is_ios &&
521 !(use_ios_simulator && 511 !(use_ios_simulator &&
522 # The tests crash on these simulator versions: 512 # The tests crash on these simulator versions:
523 (ios_sdk_version == "10.0" || ios_sdk_version == "10.1"))) { 513 (ios_sdk_version == "10.0" || ios_sdk_version == "10.1"))) {
524 sources += 514 sources +=
525 [ "objc/Framework/UnitTests/RTCCameraVideoCapturerTests.mm" ] 515 [ "objc/Framework/UnitTests/RTCCameraVideoCapturerTests.mm" ]
526 } 516 }
(...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after
568 if (is_ios) { 558 if (is_ios) {
569 ios_framework_bundle("objc_framework") { 559 ios_framework_bundle("objc_framework") {
570 info_plist = "objc/Framework/Info.plist" 560 info_plist = "objc/Framework/Info.plist"
571 output_name = "WebRTC" 561 output_name = "WebRTC"
572 562
573 common_objc_headers = [ 563 common_objc_headers = [
574 "objc/Framework/Headers/WebRTC/RTCAudioSession.h", 564 "objc/Framework/Headers/WebRTC/RTCAudioSession.h",
575 "objc/Framework/Headers/WebRTC/RTCVideoCodec.h", 565 "objc/Framework/Headers/WebRTC/RTCVideoCodec.h",
576 "objc/Framework/Headers/WebRTC/RTCVideoCodecFactory.h", 566 "objc/Framework/Headers/WebRTC/RTCVideoCodecFactory.h",
577 "objc/Framework/Headers/WebRTC/RTCAudioSessionConfiguration.h", 567 "objc/Framework/Headers/WebRTC/RTCAudioSessionConfiguration.h",
578 "objc/Framework/Headers/WebRTC/RTCAVFoundationVideoSource.h",
579 "objc/Framework/Headers/WebRTC/RTCAudioSource.h", 568 "objc/Framework/Headers/WebRTC/RTCAudioSource.h",
580 "objc/Framework/Headers/WebRTC/RTCAudioTrack.h", 569 "objc/Framework/Headers/WebRTC/RTCAudioTrack.h",
581 "objc/Framework/Headers/WebRTC/RTCCameraVideoCapturer.h", 570 "objc/Framework/Headers/WebRTC/RTCCameraVideoCapturer.h",
582 "objc/Framework/Headers/WebRTC/RTCCameraPreviewView.h", 571 "objc/Framework/Headers/WebRTC/RTCCameraPreviewView.h",
583 "objc/Framework/Headers/WebRTC/RTCConfiguration.h", 572 "objc/Framework/Headers/WebRTC/RTCConfiguration.h",
584 "objc/Framework/Headers/WebRTC/RTCDataChannel.h", 573 "objc/Framework/Headers/WebRTC/RTCDataChannel.h",
585 "objc/Framework/Headers/WebRTC/RTCDataChannelConfiguration.h", 574 "objc/Framework/Headers/WebRTC/RTCDataChannelConfiguration.h",
586 "objc/Framework/Headers/WebRTC/RTCDispatcher.h", 575 "objc/Framework/Headers/WebRTC/RTCDispatcher.h",
587 "objc/Framework/Headers/WebRTC/RTCEAGLVideoView.h", 576 "objc/Framework/Headers/WebRTC/RTCEAGLVideoView.h",
588 "objc/Framework/Headers/WebRTC/RTCFieldTrials.h", 577 "objc/Framework/Headers/WebRTC/RTCFieldTrials.h",
(...skipping 156 matching lines...) Expand 10 before | Expand all | Expand 10 after
745 public_deps = [ 734 public_deps = [
746 "$rtc_libyuv_dir", 735 "$rtc_libyuv_dir",
747 ] 736 ]
748 } else { 737 } else {
749 # Need to add a directory normally exported by libyuv. 738 # Need to add a directory normally exported by libyuv.
750 include_dirs = [ "$rtc_libyuv_dir/include" ] 739 include_dirs = [ "$rtc_libyuv_dir/include" ]
751 } 740 }
752 } 741 }
753 } 742 }
754 } 743 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698