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

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

Issue 2711003004: Revert of Add metal view, shaders and renderer. (Closed)
Patch Set: 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
« no previous file with comments | « no previous file | webrtc/sdk/objc/Framework/Classes/Metal/RTCMTLNV12Renderer.h » ('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 49 matching lines...) Expand 10 before | Expand all | Expand 10 after
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/Headers/WebRTC/RTCCameraPreviewView.h", 67 "objc/Framework/Headers/WebRTC/RTCCameraPreviewView.h",
68 "objc/Framework/Headers/WebRTC/UIDevice+RTCDevice.h", 68 "objc/Framework/Headers/WebRTC/UIDevice+RTCDevice.h",
69 ] 69 ]
70 if (current_cpu == "arm64") {
71 sources += [
72 "objc/Framework/Classes/Metal/RTCMTLNV12Renderer.h",
73 "objc/Framework/Classes/Metal/RTCMTLNV12Renderer.mm",
74 "objc/Framework/Classes/Metal/RTCMTLVideoView.m",
75 ]
76 }
77
78 libs = [ "AVFoundation.framework" ] 70 libs = [ "AVFoundation.framework" ]
79 if (current_cpu == "arm64") {
80 libs += [
81 "CoreVideo.framework",
82 "Metal.framework",
83 "MetalKit.framework",
84 ]
85 }
86 } 71 }
87 if (!build_with_chromium) { 72 if (!build_with_chromium) {
88 sources += [ 73 sources += [
89 "objc/Framework/Classes/RTCFileLogger.mm", 74 "objc/Framework/Classes/RTCFileLogger.mm",
90 "objc/Framework/Headers/WebRTC/RTCFileLogger.h", 75 "objc/Framework/Headers/WebRTC/RTCFileLogger.h",
91 ] 76 ]
92 } 77 }
93 } 78 }
94 79
95 rtc_static_library("rtc_sdk_peerconnection_objc") { 80 rtc_static_library("rtc_sdk_peerconnection_objc") {
(...skipping 203 matching lines...) Expand 10 before | Expand all | Expand 10 after
299 "objc/Framework/Headers/WebRTC/RTCIceServer.h", 284 "objc/Framework/Headers/WebRTC/RTCIceServer.h",
300 "objc/Framework/Headers/WebRTC/RTCLegacyStatsReport.h", 285 "objc/Framework/Headers/WebRTC/RTCLegacyStatsReport.h",
301 "objc/Framework/Headers/WebRTC/RTCLogging.h", 286 "objc/Framework/Headers/WebRTC/RTCLogging.h",
302 "objc/Framework/Headers/WebRTC/RTCMacros.h", 287 "objc/Framework/Headers/WebRTC/RTCMacros.h",
303 "objc/Framework/Headers/WebRTC/RTCMediaConstraints.h", 288 "objc/Framework/Headers/WebRTC/RTCMediaConstraints.h",
304 "objc/Framework/Headers/WebRTC/RTCMediaSource.h", 289 "objc/Framework/Headers/WebRTC/RTCMediaSource.h",
305 "objc/Framework/Headers/WebRTC/RTCMediaStream.h", 290 "objc/Framework/Headers/WebRTC/RTCMediaStream.h",
306 "objc/Framework/Headers/WebRTC/RTCMediaStreamTrack.h", 291 "objc/Framework/Headers/WebRTC/RTCMediaStreamTrack.h",
307 "objc/Framework/Headers/WebRTC/RTCMetrics.h", 292 "objc/Framework/Headers/WebRTC/RTCMetrics.h",
308 "objc/Framework/Headers/WebRTC/RTCMetricsSampleInfo.h", 293 "objc/Framework/Headers/WebRTC/RTCMetricsSampleInfo.h",
309 "objc/Framework/Headers/WebRTC/RTCMTLVideoView.h",
310 "objc/Framework/Headers/WebRTC/RTCPeerConnection.h", 294 "objc/Framework/Headers/WebRTC/RTCPeerConnection.h",
311 "objc/Framework/Headers/WebRTC/RTCPeerConnectionFactory.h", 295 "objc/Framework/Headers/WebRTC/RTCPeerConnectionFactory.h",
312 "objc/Framework/Headers/WebRTC/RTCRtpCodecParameters.h", 296 "objc/Framework/Headers/WebRTC/RTCRtpCodecParameters.h",
313 "objc/Framework/Headers/WebRTC/RTCRtpEncodingParameters.h", 297 "objc/Framework/Headers/WebRTC/RTCRtpEncodingParameters.h",
314 "objc/Framework/Headers/WebRTC/RTCRtpParameters.h", 298 "objc/Framework/Headers/WebRTC/RTCRtpParameters.h",
315 "objc/Framework/Headers/WebRTC/RTCRtpReceiver.h", 299 "objc/Framework/Headers/WebRTC/RTCRtpReceiver.h",
316 "objc/Framework/Headers/WebRTC/RTCRtpSender.h", 300 "objc/Framework/Headers/WebRTC/RTCRtpSender.h",
317 "objc/Framework/Headers/WebRTC/RTCSSLAdapter.h", 301 "objc/Framework/Headers/WebRTC/RTCSSLAdapter.h",
318 "objc/Framework/Headers/WebRTC/RTCSessionDescription.h", 302 "objc/Framework/Headers/WebRTC/RTCSessionDescription.h",
319 "objc/Framework/Headers/WebRTC/RTCTracing.h", 303 "objc/Framework/Headers/WebRTC/RTCTracing.h",
(...skipping 92 matching lines...) Expand 10 before | Expand all | Expand 10 after
412 deps += [ "$rtc_libyuv_dir" ] 396 deps += [ "$rtc_libyuv_dir" ]
413 public_deps = [ 397 public_deps = [
414 "$rtc_libyuv_dir", 398 "$rtc_libyuv_dir",
415 ] 399 ]
416 } else { 400 } else {
417 # Need to add a directory normally exported by libyuv. 401 # Need to add a directory normally exported by libyuv.
418 include_dirs = [ "$rtc_libyuv_dir/include" ] 402 include_dirs = [ "$rtc_libyuv_dir/include" ]
419 } 403 }
420 } 404 }
421 } 405 }
OLDNEW
« no previous file with comments | « no previous file | webrtc/sdk/objc/Framework/Classes/Metal/RTCMTLNV12Renderer.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698