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

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: Minor code updates 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
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 71 matching lines...) Expand 10 before | Expand all | Expand 10 after
82 'objc/Framework/Classes', 82 'objc/Framework/Classes',
83 'objc/Framework/Headers', 83 'objc/Framework/Headers',
84 ], 84 ],
85 'direct_dependent_settings': { 85 'direct_dependent_settings': {
86 'include_dirs': [ 86 'include_dirs': [
87 'objc/Framework/Classes', 87 'objc/Framework/Classes',
88 'objc/Framework/Headers', 88 'objc/Framework/Headers',
89 ], 89 ],
90 }, 90 },
91 'link_settings': { 91 'link_settings': {
92 'xcode_settings': {
93 'OTHER_LDFLAGS': [
94 '-framework AVFoundation',
95 ],
96 },
92 'libraries': [ 97 'libraries': [
93 '-lstdc++', 98 '-lstdc++',
94 ], 99 ],
95 }, # link_settings 100 }, # link_settings
96 'sources': [ 101 'sources': [
97 'objc/Framework/Classes/RTCAudioTrack+Private.h', 102 'objc/Framework/Classes/RTCAudioTrack+Private.h',
98 'objc/Framework/Classes/RTCAudioTrack.mm', 103 'objc/Framework/Classes/RTCAudioTrack.mm',
104 'objc/Framework/Classes/RTCAVFoundationVideoSource+Private.h',
105 'objc/Framework/Classes/RTCAVFoundationVideoSource.mm',
99 'objc/Framework/Classes/RTCConfiguration+Private.h', 106 'objc/Framework/Classes/RTCConfiguration+Private.h',
100 'objc/Framework/Classes/RTCConfiguration.mm', 107 'objc/Framework/Classes/RTCConfiguration.mm',
101 'objc/Framework/Classes/RTCDataChannel+Private.h', 108 'objc/Framework/Classes/RTCDataChannel+Private.h',
102 'objc/Framework/Classes/RTCDataChannel.mm', 109 'objc/Framework/Classes/RTCDataChannel.mm',
103 'objc/Framework/Classes/RTCDataChannelConfiguration+Private.h', 110 'objc/Framework/Classes/RTCDataChannelConfiguration+Private.h',
104 'objc/Framework/Classes/RTCDataChannelConfiguration.mm', 111 'objc/Framework/Classes/RTCDataChannelConfiguration.mm',
105 'objc/Framework/Classes/RTCIceCandidate+Private.h', 112 'objc/Framework/Classes/RTCIceCandidate+Private.h',
106 'objc/Framework/Classes/RTCIceCandidate.mm', 113 'objc/Framework/Classes/RTCIceCandidate.mm',
107 'objc/Framework/Classes/RTCIceServer+Private.h', 114 'objc/Framework/Classes/RTCIceServer+Private.h',
108 'objc/Framework/Classes/RTCIceServer.mm', 115 'objc/Framework/Classes/RTCIceServer.mm',
(...skipping 27 matching lines...) Expand all
136 'objc/Framework/Classes/RTCStatsReport.mm', 143 'objc/Framework/Classes/RTCStatsReport.mm',
137 'objc/Framework/Classes/RTCVideoFrame+Private.h', 144 'objc/Framework/Classes/RTCVideoFrame+Private.h',
138 'objc/Framework/Classes/RTCVideoFrame.mm', 145 'objc/Framework/Classes/RTCVideoFrame.mm',
139 'objc/Framework/Classes/RTCVideoRendererAdapter+Private.h', 146 'objc/Framework/Classes/RTCVideoRendererAdapter+Private.h',
140 'objc/Framework/Classes/RTCVideoRendererAdapter.h', 147 'objc/Framework/Classes/RTCVideoRendererAdapter.h',
141 'objc/Framework/Classes/RTCVideoRendererAdapter.mm', 148 'objc/Framework/Classes/RTCVideoRendererAdapter.mm',
142 'objc/Framework/Classes/RTCVideoSource+Private.h', 149 'objc/Framework/Classes/RTCVideoSource+Private.h',
143 'objc/Framework/Classes/RTCVideoSource.mm', 150 'objc/Framework/Classes/RTCVideoSource.mm',
144 'objc/Framework/Classes/RTCVideoTrack+Private.h', 151 'objc/Framework/Classes/RTCVideoTrack+Private.h',
145 'objc/Framework/Classes/RTCVideoTrack.mm', 152 'objc/Framework/Classes/RTCVideoTrack.mm',
153 'objc/Framework/Classes/avfoundationvideocapturer.h',
154 'objc/Framework/Classes/avfoundationvideocapturer.mm',
146 'objc/Framework/Headers/WebRTC/RTCAudioTrack.h', 155 'objc/Framework/Headers/WebRTC/RTCAudioTrack.h',
156 'objc/Framework/Headers/WebRTC/RTCAVFoundationVideoSource.h',
147 'objc/Framework/Headers/WebRTC/RTCConfiguration.h', 157 'objc/Framework/Headers/WebRTC/RTCConfiguration.h',
148 'objc/Framework/Headers/WebRTC/RTCDataChannel.h', 158 'objc/Framework/Headers/WebRTC/RTCDataChannel.h',
149 'objc/Framework/Headers/WebRTC/RTCDataChannelConfiguration.h', 159 'objc/Framework/Headers/WebRTC/RTCDataChannelConfiguration.h',
150 'objc/Framework/Headers/WebRTC/RTCIceCandidate.h', 160 'objc/Framework/Headers/WebRTC/RTCIceCandidate.h',
151 'objc/Framework/Headers/WebRTC/RTCIceServer.h', 161 'objc/Framework/Headers/WebRTC/RTCIceServer.h',
152 'objc/Framework/Headers/WebRTC/RTCMediaConstraints.h', 162 'objc/Framework/Headers/WebRTC/RTCMediaConstraints.h',
153 'objc/Framework/Headers/WebRTC/RTCMediaStream.h', 163 'objc/Framework/Headers/WebRTC/RTCMediaStream.h',
154 'objc/Framework/Headers/WebRTC/RTCMediaStreamTrack.h', 164 'objc/Framework/Headers/WebRTC/RTCMediaStreamTrack.h',
155 'objc/Framework/Headers/WebRTC/RTCPeerConnection.h', 165 'objc/Framework/Headers/WebRTC/RTCPeerConnection.h',
156 'objc/Framework/Headers/WebRTC/RTCPeerConnectionFactory.h', 166 'objc/Framework/Headers/WebRTC/RTCPeerConnectionFactory.h',
157 'objc/Framework/Headers/WebRTC/RTCRtpCodecParameters.h', 167 'objc/Framework/Headers/WebRTC/RTCRtpCodecParameters.h',
158 'objc/Framework/Headers/WebRTC/RTCRtpEncodingParameters.h', 168 'objc/Framework/Headers/WebRTC/RTCRtpEncodingParameters.h',
159 'objc/Framework/Headers/WebRTC/RTCRtpParameters.h', 169 'objc/Framework/Headers/WebRTC/RTCRtpParameters.h',
160 'objc/Framework/Headers/WebRTC/RTCRtpReceiver.h', 170 'objc/Framework/Headers/WebRTC/RTCRtpReceiver.h',
161 'objc/Framework/Headers/WebRTC/RTCRtpSender.h', 171 'objc/Framework/Headers/WebRTC/RTCRtpSender.h',
162 'objc/Framework/Headers/WebRTC/RTCSessionDescription.h', 172 'objc/Framework/Headers/WebRTC/RTCSessionDescription.h',
163 'objc/Framework/Headers/WebRTC/RTCStatsReport.h', 173 'objc/Framework/Headers/WebRTC/RTCStatsReport.h',
164 'objc/Framework/Headers/WebRTC/RTCVideoFrame.h', 174 'objc/Framework/Headers/WebRTC/RTCVideoFrame.h',
165 'objc/Framework/Headers/WebRTC/RTCVideoRenderer.h', 175 'objc/Framework/Headers/WebRTC/RTCVideoRenderer.h',
166 'objc/Framework/Headers/WebRTC/RTCVideoSource.h', 176 'objc/Framework/Headers/WebRTC/RTCVideoSource.h',
167 'objc/Framework/Headers/WebRTC/RTCVideoTrack.h', 177 'objc/Framework/Headers/WebRTC/RTCVideoTrack.h',
168 ], # sources 178 ], # sources
169 'conditions': [ 179 'conditions': [
170 ['OS=="ios"', { 180 ['OS=="ios"', {
171 'sources': [ 181 'sources': [
172 'objc/Framework/Classes/RTCAVFoundationVideoSource+Private.h',
173 'objc/Framework/Classes/RTCAVFoundationVideoSource.mm',
174 'objc/Framework/Classes/RTCEAGLVideoView.m', 182 'objc/Framework/Classes/RTCEAGLVideoView.m',
175 'objc/Framework/Classes/avfoundationvideocapturer.h',
176 'objc/Framework/Classes/avfoundationvideocapturer.mm',
177 'objc/Framework/Headers/WebRTC/RTCAVFoundationVideoSource.h',
178 'objc/Framework/Headers/WebRTC/RTCEAGLVideoView.h', 183 'objc/Framework/Headers/WebRTC/RTCEAGLVideoView.h',
179 ], 184 ],
180 'link_settings': { 185 'link_settings': {
181 'xcode_settings': { 186 'xcode_settings': {
182 'OTHER_LDFLAGS': [ 187 'OTHER_LDFLAGS': [
183 '-framework CoreGraphics', 188 '-framework CoreGraphics',
184 '-framework GLKit', 189 '-framework GLKit',
185 '-framework OpenGLES', 190 '-framework OpenGLES',
186 '-framework QuartzCore', 191 '-framework QuartzCore',
187 ], 192 ],
188 }, 193 },
189 }, # link_settings 194 }, # link_settings
190 }], # OS=="ios" 195 }], # OS=="ios"
191 ['OS=="mac"', { 196 ['OS=="mac"', {
192 'sources': [ 197 'sources': [
193 'objc/Framework/Classes/RTCNSGLVideoView.m', 198 'objc/Framework/Classes/RTCNSGLVideoView.m',
194 'objc/Framework/Headers/WebRTC/RTCNSGLVideoView.h', 199 'objc/Framework/Headers/WebRTC/RTCNSGLVideoView.h',
195 ], 200 ],
196 'link_settings': { 201 'link_settings': {
197 'xcode_settings': { 202 'xcode_settings': {
198 'OTHER_LDFLAGS': [ 203 'OTHER_LDFLAGS': [
199 '-framework OpenGL', 204 '-framework OpenGL',
205 '-framework CoreMedia',
tkchin_webrtc 2016/06/08 22:17:24 alphabetize
200 ], 206 ],
201 }, 207 },
202 }, 208 },
203 }], 209 }],
204 ], # conditions 210 ], # conditions
205 }, # rtc_sdk_peerconnection_objc 211 }, # rtc_sdk_peerconnection_objc
206 { 212 {
207 'target_name': 'rtc_sdk_framework_objc', 213 'target_name': 'rtc_sdk_framework_objc',
208 'type': 'shared_library', 214 'type': 'shared_library',
209 'product_name': 'WebRTC', 215 'product_name': 'WebRTC',
(...skipping 89 matching lines...) Expand 10 before | Expand all | Expand 10 after
299 'mac_framework_headers!': [ 305 'mac_framework_headers!': [
300 'objc/Framework/Headers/WebRTC/RTCFileLogger.h', 306 'objc/Framework/Headers/WebRTC/RTCFileLogger.h',
301 ], 307 ],
302 }], 308 }],
303 ], # conditions 309 ], # conditions
304 }, # rtc_sdk_framework_objc 310 }, # rtc_sdk_framework_objc
305 ], # targets 311 ], # targets
306 }], # OS=="ios" or (OS=="mac" and mac_deployment_target=="10.7") 312 }], # OS=="ios" or (OS=="mac" and mac_deployment_target=="10.7")
307 ], 313 ],
308 } 314 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698