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

Side by Side Diff: webrtc/sdk/sdk.gyp

Issue 2046863004: Add AVFoundation video capture support to Mac objc SDK (based on iOS) (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: Updated BUILD.gn to match gyp Created 4 years, 6 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
« no previous file with comments | « webrtc/sdk/objc/Framework/Classes/avfoundationvideocapturer.mm ('k') | no next file » | 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 { 9 {
10 'includes': [ 10 'includes': [
(...skipping 76 matching lines...) Expand 10 before | Expand all | Expand 10 after
87 'objc/Framework/Classes', 87 'objc/Framework/Classes',
88 'objc/Framework/Headers', 88 'objc/Framework/Headers',
89 ], 89 ],
90 'direct_dependent_settings': { 90 'direct_dependent_settings': {
91 'include_dirs': [ 91 'include_dirs': [
92 'objc/Framework/Classes', 92 'objc/Framework/Classes',
93 'objc/Framework/Headers', 93 'objc/Framework/Headers',
94 ], 94 ],
95 }, 95 },
96 'link_settings': { 96 'link_settings': {
97 'xcode_settings': {
98 'OTHER_LDFLAGS': [
99 '-framework AVFoundation',
100 ],
101 },
97 'libraries': [ 102 'libraries': [
98 '-lstdc++', 103 '-lstdc++',
99 ], 104 ],
100 }, # link_settings 105 }, # link_settings
101 'sources': [ 106 'sources': [
102 'objc/Framework/Classes/RTCAudioTrack+Private.h', 107 'objc/Framework/Classes/RTCAudioTrack+Private.h',
103 'objc/Framework/Classes/RTCAudioTrack.mm', 108 'objc/Framework/Classes/RTCAudioTrack.mm',
109 'objc/Framework/Classes/RTCAVFoundationVideoSource+Private.h',
110 'objc/Framework/Classes/RTCAVFoundationVideoSource.mm',
104 'objc/Framework/Classes/RTCConfiguration+Private.h', 111 'objc/Framework/Classes/RTCConfiguration+Private.h',
105 'objc/Framework/Classes/RTCConfiguration.mm', 112 'objc/Framework/Classes/RTCConfiguration.mm',
106 'objc/Framework/Classes/RTCDataChannel+Private.h', 113 'objc/Framework/Classes/RTCDataChannel+Private.h',
107 'objc/Framework/Classes/RTCDataChannel.mm', 114 'objc/Framework/Classes/RTCDataChannel.mm',
108 'objc/Framework/Classes/RTCDataChannelConfiguration+Private.h', 115 'objc/Framework/Classes/RTCDataChannelConfiguration+Private.h',
109 'objc/Framework/Classes/RTCDataChannelConfiguration.mm', 116 'objc/Framework/Classes/RTCDataChannelConfiguration.mm',
110 'objc/Framework/Classes/RTCIceCandidate+Private.h', 117 'objc/Framework/Classes/RTCIceCandidate+Private.h',
111 'objc/Framework/Classes/RTCIceCandidate.mm', 118 'objc/Framework/Classes/RTCIceCandidate.mm',
112 'objc/Framework/Classes/RTCIceServer+Private.h', 119 'objc/Framework/Classes/RTCIceServer+Private.h',
113 'objc/Framework/Classes/RTCIceServer.mm', 120 'objc/Framework/Classes/RTCIceServer.mm',
(...skipping 27 matching lines...) Expand all
141 'objc/Framework/Classes/RTCStatsReport.mm', 148 'objc/Framework/Classes/RTCStatsReport.mm',
142 'objc/Framework/Classes/RTCVideoFrame+Private.h', 149 'objc/Framework/Classes/RTCVideoFrame+Private.h',
143 'objc/Framework/Classes/RTCVideoFrame.mm', 150 'objc/Framework/Classes/RTCVideoFrame.mm',
144 'objc/Framework/Classes/RTCVideoRendererAdapter+Private.h', 151 'objc/Framework/Classes/RTCVideoRendererAdapter+Private.h',
145 'objc/Framework/Classes/RTCVideoRendererAdapter.h', 152 'objc/Framework/Classes/RTCVideoRendererAdapter.h',
146 'objc/Framework/Classes/RTCVideoRendererAdapter.mm', 153 'objc/Framework/Classes/RTCVideoRendererAdapter.mm',
147 'objc/Framework/Classes/RTCVideoSource+Private.h', 154 'objc/Framework/Classes/RTCVideoSource+Private.h',
148 'objc/Framework/Classes/RTCVideoSource.mm', 155 'objc/Framework/Classes/RTCVideoSource.mm',
149 'objc/Framework/Classes/RTCVideoTrack+Private.h', 156 'objc/Framework/Classes/RTCVideoTrack+Private.h',
150 'objc/Framework/Classes/RTCVideoTrack.mm', 157 'objc/Framework/Classes/RTCVideoTrack.mm',
158 'objc/Framework/Classes/avfoundationvideocapturer.h',
159 'objc/Framework/Classes/avfoundationvideocapturer.mm',
151 'objc/Framework/Headers/WebRTC/RTCAudioTrack.h', 160 'objc/Framework/Headers/WebRTC/RTCAudioTrack.h',
161 'objc/Framework/Headers/WebRTC/RTCAVFoundationVideoSource.h',
152 'objc/Framework/Headers/WebRTC/RTCConfiguration.h', 162 'objc/Framework/Headers/WebRTC/RTCConfiguration.h',
153 'objc/Framework/Headers/WebRTC/RTCDataChannel.h', 163 'objc/Framework/Headers/WebRTC/RTCDataChannel.h',
154 'objc/Framework/Headers/WebRTC/RTCDataChannelConfiguration.h', 164 'objc/Framework/Headers/WebRTC/RTCDataChannelConfiguration.h',
155 'objc/Framework/Headers/WebRTC/RTCIceCandidate.h', 165 'objc/Framework/Headers/WebRTC/RTCIceCandidate.h',
156 'objc/Framework/Headers/WebRTC/RTCIceServer.h', 166 'objc/Framework/Headers/WebRTC/RTCIceServer.h',
157 'objc/Framework/Headers/WebRTC/RTCMediaConstraints.h', 167 'objc/Framework/Headers/WebRTC/RTCMediaConstraints.h',
158 'objc/Framework/Headers/WebRTC/RTCMediaStream.h', 168 'objc/Framework/Headers/WebRTC/RTCMediaStream.h',
159 'objc/Framework/Headers/WebRTC/RTCMediaStreamTrack.h', 169 'objc/Framework/Headers/WebRTC/RTCMediaStreamTrack.h',
160 'objc/Framework/Headers/WebRTC/RTCPeerConnection.h', 170 'objc/Framework/Headers/WebRTC/RTCPeerConnection.h',
161 'objc/Framework/Headers/WebRTC/RTCPeerConnectionFactory.h', 171 'objc/Framework/Headers/WebRTC/RTCPeerConnectionFactory.h',
162 'objc/Framework/Headers/WebRTC/RTCRtpCodecParameters.h', 172 'objc/Framework/Headers/WebRTC/RTCRtpCodecParameters.h',
163 'objc/Framework/Headers/WebRTC/RTCRtpEncodingParameters.h', 173 'objc/Framework/Headers/WebRTC/RTCRtpEncodingParameters.h',
164 'objc/Framework/Headers/WebRTC/RTCRtpParameters.h', 174 'objc/Framework/Headers/WebRTC/RTCRtpParameters.h',
165 'objc/Framework/Headers/WebRTC/RTCRtpReceiver.h', 175 'objc/Framework/Headers/WebRTC/RTCRtpReceiver.h',
166 'objc/Framework/Headers/WebRTC/RTCRtpSender.h', 176 'objc/Framework/Headers/WebRTC/RTCRtpSender.h',
167 'objc/Framework/Headers/WebRTC/RTCSessionDescription.h', 177 'objc/Framework/Headers/WebRTC/RTCSessionDescription.h',
168 'objc/Framework/Headers/WebRTC/RTCStatsReport.h', 178 'objc/Framework/Headers/WebRTC/RTCStatsReport.h',
169 'objc/Framework/Headers/WebRTC/RTCVideoFrame.h', 179 'objc/Framework/Headers/WebRTC/RTCVideoFrame.h',
170 'objc/Framework/Headers/WebRTC/RTCVideoRenderer.h', 180 'objc/Framework/Headers/WebRTC/RTCVideoRenderer.h',
171 'objc/Framework/Headers/WebRTC/RTCVideoSource.h', 181 'objc/Framework/Headers/WebRTC/RTCVideoSource.h',
172 'objc/Framework/Headers/WebRTC/RTCVideoTrack.h', 182 'objc/Framework/Headers/WebRTC/RTCVideoTrack.h',
173 ], # sources 183 ], # sources
174 'conditions': [ 184 'conditions': [
175 ['OS=="ios"', { 185 ['OS=="ios"', {
176 'sources': [ 186 'sources': [
177 'objc/Framework/Classes/RTCAVFoundationVideoSource+Private.h',
178 'objc/Framework/Classes/RTCAVFoundationVideoSource.mm',
179 'objc/Framework/Classes/RTCEAGLVideoView.m', 187 'objc/Framework/Classes/RTCEAGLVideoView.m',
180 'objc/Framework/Classes/avfoundationvideocapturer.h',
181 'objc/Framework/Classes/avfoundationvideocapturer.mm',
182 'objc/Framework/Headers/WebRTC/RTCAVFoundationVideoSource.h',
183 'objc/Framework/Headers/WebRTC/RTCEAGLVideoView.h', 188 'objc/Framework/Headers/WebRTC/RTCEAGLVideoView.h',
184 ], 189 ],
185 'link_settings': { 190 'link_settings': {
186 'xcode_settings': { 191 'xcode_settings': {
187 'OTHER_LDFLAGS': [ 192 'OTHER_LDFLAGS': [
188 '-framework CoreGraphics', 193 '-framework CoreGraphics',
189 '-framework GLKit', 194 '-framework GLKit',
190 '-framework OpenGLES', 195 '-framework OpenGLES',
191 '-framework QuartzCore', 196 '-framework QuartzCore',
192 ], 197 ],
193 }, 198 },
194 }, # link_settings 199 }, # link_settings
195 }], # OS=="ios" 200 }], # OS=="ios"
196 ['OS=="mac"', { 201 ['OS=="mac"', {
197 'sources': [ 202 'sources': [
198 'objc/Framework/Classes/RTCNSGLVideoView.m', 203 'objc/Framework/Classes/RTCNSGLVideoView.m',
199 'objc/Framework/Headers/WebRTC/RTCNSGLVideoView.h', 204 'objc/Framework/Headers/WebRTC/RTCNSGLVideoView.h',
200 ], 205 ],
201 'link_settings': { 206 'link_settings': {
202 'xcode_settings': { 207 'xcode_settings': {
203 'OTHER_LDFLAGS': [ 208 'OTHER_LDFLAGS': [
209 '-framework CoreMedia',
204 '-framework OpenGL', 210 '-framework OpenGL',
205 ], 211 ],
206 }, 212 },
207 }, 213 },
208 }], 214 }],
209 ], # conditions 215 ], # conditions
210 }, # rtc_sdk_peerconnection_objc 216 }, # rtc_sdk_peerconnection_objc
211 { 217 {
212 'target_name': 'rtc_sdk_framework_objc', 218 'target_name': 'rtc_sdk_framework_objc',
213 'type': 'shared_library', 219 'type': 'shared_library',
(...skipping 90 matching lines...) Expand 10 before | Expand all | Expand 10 after
304 'mac_framework_headers!': [ 310 'mac_framework_headers!': [
305 'objc/Framework/Headers/WebRTC/RTCFileLogger.h', 311 'objc/Framework/Headers/WebRTC/RTCFileLogger.h',
306 ], 312 ],
307 }], 313 }],
308 ], # conditions 314 ], # conditions
309 }, # rtc_sdk_framework_objc 315 }, # rtc_sdk_framework_objc
310 ], # targets 316 ], # targets
311 }], # OS=="ios" or (OS=="mac" and mac_deployment_target=="10.7") 317 }], # OS=="ios" or (OS=="mac" and mac_deployment_target=="10.7")
312 ], 318 ],
313 } 319 }
OLDNEW
« no previous file with comments | « webrtc/sdk/objc/Framework/Classes/avfoundationvideocapturer.mm ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698