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

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

Issue 2532983006: Enable VideoToolbox encoder on mac (Closed)
Patch Set: Created 4 years 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 | « no previous file | webrtc/sdk/objc/Framework/Classes/videotoolboxvideocodecfactory.cc » ('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("../build/webrtc.gni") 9 import("../build/webrtc.gni")
10 if (is_mac) { 10 if (is_mac) {
(...skipping 166 matching lines...) Expand 10 before | Expand all | Expand 10 after
177 "objc/Framework/Headers/WebRTC/RTCRtpParameters.h", 177 "objc/Framework/Headers/WebRTC/RTCRtpParameters.h",
178 "objc/Framework/Headers/WebRTC/RTCRtpReceiver.h", 178 "objc/Framework/Headers/WebRTC/RTCRtpReceiver.h",
179 "objc/Framework/Headers/WebRTC/RTCRtpSender.h", 179 "objc/Framework/Headers/WebRTC/RTCRtpSender.h",
180 "objc/Framework/Headers/WebRTC/RTCSessionDescription.h", 180 "objc/Framework/Headers/WebRTC/RTCSessionDescription.h",
181 "objc/Framework/Headers/WebRTC/RTCVideoFrame.h", 181 "objc/Framework/Headers/WebRTC/RTCVideoFrame.h",
182 "objc/Framework/Headers/WebRTC/RTCVideoRenderer.h", 182 "objc/Framework/Headers/WebRTC/RTCVideoRenderer.h",
183 "objc/Framework/Headers/WebRTC/RTCVideoSource.h", 183 "objc/Framework/Headers/WebRTC/RTCVideoSource.h",
184 "objc/Framework/Headers/WebRTC/RTCVideoTrack.h", 184 "objc/Framework/Headers/WebRTC/RTCVideoTrack.h",
185 ] 185 ]
186 186
187 deps = [
188 ":webrtc_h264_video_toolbox",
189 ]
190
187 if (is_ios) { 191 if (is_ios) {
188 sources += [ 192 sources += [
189 "objc/Framework/Classes/RTCEAGLVideoView.m", 193 "objc/Framework/Classes/RTCEAGLVideoView.m",
190 "objc/Framework/Classes/RTCNativeNV12Shader.mm", 194 "objc/Framework/Classes/RTCNativeNV12Shader.mm",
191 "objc/Framework/Headers/WebRTC/RTCEAGLVideoView.h", 195 "objc/Framework/Headers/WebRTC/RTCEAGLVideoView.h",
192 ] 196 ]
193 libs = [ 197 libs = [
194 "CoreGraphics.framework", 198 "CoreGraphics.framework",
195 "GLKit.framework", 199 "GLKit.framework",
196 "OpenGLES.framework", 200 "OpenGLES.framework",
197 "QuartzCore.framework", 201 "QuartzCore.framework",
198 ] 202 ]
199 deps = [
200 ":webrtc_h264_video_toolbox",
201 ]
202 } 203 }
203 204
204 if (is_mac) { 205 if (is_mac) {
205 sources += [ 206 sources += [
206 "objc/Framework/Classes/RTCNSGLVideoView.m", 207 "objc/Framework/Classes/RTCNSGLVideoView.m",
207 "objc/Framework/Headers/WebRTC/RTCNSGLVideoView.h", 208 "objc/Framework/Headers/WebRTC/RTCNSGLVideoView.h",
208 ] 209 ]
209 libs = [ 210 libs = [
210 "CoreMedia.framework", 211 "CoreMedia.framework",
211 "OpenGL.framework", 212 "OpenGL.framework",
212 ] 213 ]
213 deps = []
214 } 214 }
215 215
216 configs += [ 216 configs += [
217 "..:common_objc", 217 "..:common_objc",
218 "//build/config/compiler:enable_arc", 218 "//build/config/compiler:enable_arc",
219 ] 219 ]
220 220
221 public_configs = [ ":rtc_sdk_common_objc_config" ] 221 public_configs = [ ":rtc_sdk_common_objc_config" ]
222 222
223 if (!build_with_chromium && is_clang) { 223 if (!build_with_chromium && is_clang) {
(...skipping 186 matching lines...) Expand 10 before | Expand all | Expand 10 after
410 deps += [ "$rtc_libyuv_dir" ] 410 deps += [ "$rtc_libyuv_dir" ]
411 public_deps = [ 411 public_deps = [
412 "$rtc_libyuv_dir", 412 "$rtc_libyuv_dir",
413 ] 413 ]
414 } else { 414 } else {
415 # Need to add a directory normally exported by libyuv. 415 # Need to add a directory normally exported by libyuv.
416 include_dirs = [ "$rtc_libyuv_dir/include" ] 416 include_dirs = [ "$rtc_libyuv_dir/include" ]
417 } 417 }
418 } 418 }
419 } 419 }
OLDNEW
« no previous file with comments | « no previous file | webrtc/sdk/objc/Framework/Classes/videotoolboxvideocodecfactory.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698