Chromium Code Reviews

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

Issue 2964703002: [iOS] Fix incorrectly oriented frames when rapidly switching between cameras. (Closed)
Patch Set: Removed gate keeper. Renamed AVCaptureSession+Private to AVCaptureSession+Device. Created 3 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View unified diff |
« no previous file with comments | « no previous file | webrtc/sdk/objc/Framework/Classes/PeerConnection/RTCCameraVideoCapturer.m » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 124 matching lines...)
135 configs += [ "..:common_objc" ] 135 configs += [ "..:common_objc" ]
136 if (!build_with_chromium && is_clang) { 136 if (!build_with_chromium && is_clang) {
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+Device.h",
146 "objc/Framework/Classes/Video/AVCaptureSession+Device.mm",
145 "objc/Framework/Classes/Video/RTCAVFoundationVideoCapturerInternal.h", 147 "objc/Framework/Classes/Video/RTCAVFoundationVideoCapturerInternal.h",
146 "objc/Framework/Classes/Video/RTCAVFoundationVideoCapturerInternal.mm", 148 "objc/Framework/Classes/Video/RTCAVFoundationVideoCapturerInternal.mm",
147 "objc/Framework/Classes/Video/RTCDefaultShader.h", 149 "objc/Framework/Classes/Video/RTCDefaultShader.h",
148 "objc/Framework/Classes/Video/RTCDefaultShader.mm", 150 "objc/Framework/Classes/Video/RTCDefaultShader.mm",
149 "objc/Framework/Classes/Video/RTCI420TextureCache.h", 151 "objc/Framework/Classes/Video/RTCI420TextureCache.h",
150 "objc/Framework/Classes/Video/RTCI420TextureCache.mm", 152 "objc/Framework/Classes/Video/RTCI420TextureCache.mm",
151 "objc/Framework/Classes/Video/RTCOpenGLDefines.h", 153 "objc/Framework/Classes/Video/RTCOpenGLDefines.h",
152 "objc/Framework/Classes/Video/RTCShader.h", 154 "objc/Framework/Classes/Video/RTCShader.h",
153 "objc/Framework/Classes/Video/RTCShader.mm", 155 "objc/Framework/Classes/Video/RTCShader.mm",
154 "objc/Framework/Classes/Video/avfoundationformatmapper.h", 156 "objc/Framework/Classes/Video/avfoundationformatmapper.h",
(...skipping 96 matching lines...)
251 ] 253 ]
252 configs += [ "..:common_objc" ] 254 configs += [ "..:common_objc" ]
253 public_configs = [ ":objc_common_config" ] 255 public_configs = [ ":objc_common_config" ]
254 } 256 }
255 } 257 }
256 258
257 rtc_static_library("objc_peerconnection") { 259 rtc_static_library("objc_peerconnection") {
258 sources = [ 260 sources = [
259 "objc/Framework/Classes/PeerConnection/RTCAVFoundationVideoSource+Privat e.h", 261 "objc/Framework/Classes/PeerConnection/RTCAVFoundationVideoSource+Privat e.h",
260 "objc/Framework/Classes/PeerConnection/RTCAVFoundationVideoSource.mm", 262 "objc/Framework/Classes/PeerConnection/RTCAVFoundationVideoSource.mm",
261 "objc/Framework/Classes/PeerConnection/RTCCameraVideoCapturer.m", 263 "objc/Framework/Classes/PeerConnection/RTCCameraVideoCapturer.mm",
tkchin_webrtc 2017/07/25 00:03:43 do you still need this?
jtt_webrtc 2017/07/25 16:10:12 Done.
262 "objc/Framework/Headers/WebRTC/RTCCameraVideoCapturer.h", 264 "objc/Framework/Headers/WebRTC/RTCCameraVideoCapturer.h",
263 ] 265 ]
264 if (is_ios) { 266 if (is_ios) {
265 sources += [ 267 sources += [
266 "objc/Framework/Classes/PeerConnection/RTCFileVideoCapturer.h", 268 "objc/Framework/Classes/PeerConnection/RTCFileVideoCapturer.h",
267 "objc/Framework/Classes/PeerConnection/RTCFileVideoCapturer.m", 269 "objc/Framework/Classes/PeerConnection/RTCFileVideoCapturer.m",
268 ] 270 ]
269 } 271 }
270 libs = [ "AVFoundation.framework" ] 272 libs = [ "AVFoundation.framework" ]
271 273
(...skipping 448 matching lines...)
720 public_deps = [ 722 public_deps = [
721 "$rtc_libyuv_dir", 723 "$rtc_libyuv_dir",
722 ] 724 ]
723 } else { 725 } else {
724 # Need to add a directory normally exported by libyuv. 726 # Need to add a directory normally exported by libyuv.
725 include_dirs = [ "$rtc_libyuv_dir/include" ] 727 include_dirs = [ "$rtc_libyuv_dir/include" ]
726 } 728 }
727 } 729 }
728 } 730 }
729 } 731 }
OLDNEW
« no previous file with comments | « no previous file | webrtc/sdk/objc/Framework/Classes/PeerConnection/RTCCameraVideoCapturer.m » ('j') | no next file with comments »

Powered by Google App Engine