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