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

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

Issue 2651743007: Add metal view, shaders and renderer. (Closed)
Patch Set: Address comments Created 3 years, 10 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("../build/webrtc.gni") 9 import("../build/webrtc.gni")
10 if (is_ios) { 10 if (is_ios) {
(...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after
57 "objc/Framework/Headers/WebRTC/RTCTracing.h", 57 "objc/Framework/Headers/WebRTC/RTCTracing.h",
58 ] 58 ]
59 if (is_ios) { 59 if (is_ios) {
60 sources += [ 60 sources += [
61 "objc/Framework/Classes/RTCCameraPreviewView.m", 61 "objc/Framework/Classes/RTCCameraPreviewView.m",
62 "objc/Framework/Classes/RTCUIApplication.h", 62 "objc/Framework/Classes/RTCUIApplication.h",
63 "objc/Framework/Classes/RTCUIApplication.mm", 63 "objc/Framework/Classes/RTCUIApplication.mm",
64 "objc/Framework/Classes/UIDevice+RTCDevice.mm", 64 "objc/Framework/Classes/UIDevice+RTCDevice.mm",
65 "objc/Framework/Classes/helpers.h", 65 "objc/Framework/Classes/helpers.h",
66 "objc/Framework/Classes/helpers.mm", 66 "objc/Framework/Classes/helpers.mm",
67 "objc/Framework/Classes/metal/RTCMTLVideoView.m",
68 "objc/Framework/Classes/metal/RTCNV12Renderer.h",
69 "objc/Framework/Classes/metal/RTCNV12Renderer.mm",
70 "objc/Framework/Classes/metal/Shaders.metal",
67 "objc/Framework/Headers/WebRTC/RTCCameraPreviewView.h", 71 "objc/Framework/Headers/WebRTC/RTCCameraPreviewView.h",
68 "objc/Framework/Headers/WebRTC/UIDevice+RTCDevice.h", 72 "objc/Framework/Headers/WebRTC/UIDevice+RTCDevice.h",
69 ] 73 ]
70 libs = [ "AVFoundation.framework" ] 74 libs = [
75 "AVFoundation.framework",
76 "Metal.framework",
77 "MetalKit.framework",
78 ]
71 } 79 }
72 if (!build_with_chromium) { 80 if (!build_with_chromium) {
73 sources += [ 81 sources += [
74 "objc/Framework/Classes/RTCFileLogger.mm", 82 "objc/Framework/Classes/RTCFileLogger.mm",
75 "objc/Framework/Headers/WebRTC/RTCFileLogger.h", 83 "objc/Framework/Headers/WebRTC/RTCFileLogger.h",
76 ] 84 ]
77 } 85 }
78 } 86 }
79 87
80 rtc_static_library("rtc_sdk_peerconnection_objc") { 88 rtc_static_library("rtc_sdk_peerconnection_objc") {
(...skipping 219 matching lines...) Expand 10 before | Expand all | Expand 10 after
300 "objc/Framework/Headers/WebRTC/RTCRtpSender.h", 308 "objc/Framework/Headers/WebRTC/RTCRtpSender.h",
301 "objc/Framework/Headers/WebRTC/RTCSSLAdapter.h", 309 "objc/Framework/Headers/WebRTC/RTCSSLAdapter.h",
302 "objc/Framework/Headers/WebRTC/RTCSessionDescription.h", 310 "objc/Framework/Headers/WebRTC/RTCSessionDescription.h",
303 "objc/Framework/Headers/WebRTC/RTCTracing.h", 311 "objc/Framework/Headers/WebRTC/RTCTracing.h",
304 "objc/Framework/Headers/WebRTC/RTCVideoFrame.h", 312 "objc/Framework/Headers/WebRTC/RTCVideoFrame.h",
305 "objc/Framework/Headers/WebRTC/RTCVideoRenderer.h", 313 "objc/Framework/Headers/WebRTC/RTCVideoRenderer.h",
306 "objc/Framework/Headers/WebRTC/RTCVideoSource.h", 314 "objc/Framework/Headers/WebRTC/RTCVideoSource.h",
307 "objc/Framework/Headers/WebRTC/RTCVideoTrack.h", 315 "objc/Framework/Headers/WebRTC/RTCVideoTrack.h",
308 "objc/Framework/Headers/WebRTC/UIDevice+RTCDevice.h", 316 "objc/Framework/Headers/WebRTC/UIDevice+RTCDevice.h",
309 "objc/Framework/Headers/WebRTC/WebRTC.h", 317 "objc/Framework/Headers/WebRTC/WebRTC.h",
318 "objc/Framework/Headers/WebRTC/RTCMTLRenderer.h",
magjed_webrtc 2017/02/07 12:12:41 Sort these.
daniela-webrtc 2017/02/07 13:36:16 Done.
319 "objc/Framework/Headers/WebRTC/RTCMTLVideoView.h",
310 ] 320 ]
311 321
312 sources = common_objc_headers 322 sources = common_objc_headers
313 public_headers = common_objc_headers 323 public_headers = common_objc_headers
314 324
315 if (!build_with_chromium) { 325 if (!build_with_chromium) {
316 sources += [ "objc/Framework/Headers/WebRTC/RTCFileLogger.h" ] 326 sources += [ "objc/Framework/Headers/WebRTC/RTCFileLogger.h" ]
317 public_headers += [ "objc/Framework/Headers/WebRTC/RTCFileLogger.h" ] 327 public_headers += [ "objc/Framework/Headers/WebRTC/RTCFileLogger.h" ]
318 } 328 }
319 329
(...skipping 72 matching lines...) Expand 10 before | Expand all | Expand 10 after
392 deps += [ "$rtc_libyuv_dir" ] 402 deps += [ "$rtc_libyuv_dir" ]
393 public_deps = [ 403 public_deps = [
394 "$rtc_libyuv_dir", 404 "$rtc_libyuv_dir",
395 ] 405 ]
396 } else { 406 } else {
397 # Need to add a directory normally exported by libyuv. 407 # Need to add a directory normally exported by libyuv.
398 include_dirs = [ "$rtc_libyuv_dir/include" ] 408 include_dirs = [ "$rtc_libyuv_dir/include" ]
399 } 409 }
400 } 410 }
401 } 411 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698