| 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 76 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 87 if (!build_with_chromium) { | 87 if (!build_with_chromium) { |
| 88 sources += [ | 88 sources += [ |
| 89 "objc/Framework/Classes/RTCFileLogger.mm", | 89 "objc/Framework/Classes/RTCFileLogger.mm", |
| 90 "objc/Framework/Headers/WebRTC/RTCFileLogger.h", | 90 "objc/Framework/Headers/WebRTC/RTCFileLogger.h", |
| 91 ] | 91 ] |
| 92 } | 92 } |
| 93 } | 93 } |
| 94 | 94 |
| 95 rtc_static_library("rtc_sdk_peerconnection_objc") { | 95 rtc_static_library("rtc_sdk_peerconnection_objc") { |
| 96 sources = [ | 96 sources = [ |
| 97 "objc/Framework/Classes/Metal/RTCMTLNV12Renderer.h", | |
| 98 "objc/Framework/Classes/RTCAVFoundationVideoCapturerInternal.h", | 97 "objc/Framework/Classes/RTCAVFoundationVideoCapturerInternal.h", |
| 99 "objc/Framework/Classes/RTCAVFoundationVideoCapturerInternal.mm", | 98 "objc/Framework/Classes/RTCAVFoundationVideoCapturerInternal.mm", |
| 100 "objc/Framework/Classes/RTCAVFoundationVideoSource+Private.h", | 99 "objc/Framework/Classes/RTCAVFoundationVideoSource+Private.h", |
| 101 "objc/Framework/Classes/RTCAVFoundationVideoSource.mm", | 100 "objc/Framework/Classes/RTCAVFoundationVideoSource.mm", |
| 102 "objc/Framework/Classes/RTCAudioSource+Private.h", | 101 "objc/Framework/Classes/RTCAudioSource+Private.h", |
| 103 "objc/Framework/Classes/RTCAudioSource.mm", | 102 "objc/Framework/Classes/RTCAudioSource.mm", |
| 104 "objc/Framework/Classes/RTCAudioTrack+Private.h", | 103 "objc/Framework/Classes/RTCAudioTrack+Private.h", |
| 105 "objc/Framework/Classes/RTCAudioTrack.mm", | 104 "objc/Framework/Classes/RTCAudioTrack.mm", |
| 106 "objc/Framework/Classes/RTCConfiguration+Private.h", | 105 "objc/Framework/Classes/RTCConfiguration+Private.h", |
| 107 "objc/Framework/Classes/RTCConfiguration.mm", | 106 "objc/Framework/Classes/RTCConfiguration.mm", |
| (...skipping 143 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 251 testonly = true | 250 testonly = true |
| 252 sources = [ | 251 sources = [ |
| 253 "objc/Framework/UnitTests/RTCConfigurationTest.mm", | 252 "objc/Framework/UnitTests/RTCConfigurationTest.mm", |
| 254 "objc/Framework/UnitTests/RTCDataChannelConfigurationTest.mm", | 253 "objc/Framework/UnitTests/RTCDataChannelConfigurationTest.mm", |
| 255 "objc/Framework/UnitTests/RTCIceCandidateTest.mm", | 254 "objc/Framework/UnitTests/RTCIceCandidateTest.mm", |
| 256 "objc/Framework/UnitTests/RTCIceServerTest.mm", | 255 "objc/Framework/UnitTests/RTCIceServerTest.mm", |
| 257 "objc/Framework/UnitTests/RTCMediaConstraintsTest.mm", | 256 "objc/Framework/UnitTests/RTCMediaConstraintsTest.mm", |
| 258 "objc/Framework/UnitTests/RTCSessionDescriptionTest.mm", | 257 "objc/Framework/UnitTests/RTCSessionDescriptionTest.mm", |
| 259 "objc/Framework/UnitTests/avformatmappertests.mm", | 258 "objc/Framework/UnitTests/avformatmappertests.mm", |
| 260 ] | 259 ] |
| 261 if (is_ios) { | |
| 262 sources += [ "objc/Framework/UnitTests/RTCMTLVideoViewTests.mm" ] | |
| 263 if (current_cpu != "arm64") { | |
| 264 sources += [ "objc/Framework/Classes/Metal/RTCMTLVideoView.m" ] | |
| 265 } | |
| 266 } | |
| 267 deps = [ | 260 deps = [ |
| 268 ":rtc_sdk_peerconnection_objc", | 261 ":rtc_sdk_peerconnection_objc", |
| 269 "//third_party/ocmock", | 262 "//third_party/ocmock", |
| 270 "//webrtc/system_wrappers:system_wrappers_default", | 263 "//webrtc/system_wrappers:system_wrappers_default", |
| 271 ] | 264 ] |
| 272 | 265 |
| 273 # TODO(tkchin): Cleanup this warning. | 266 # TODO(tkchin): Cleanup this warning. |
| 274 cflags = [ "-Wno-objc-property-no-attribute" ] | 267 cflags = [ "-Wno-objc-property-no-attribute" ] |
| 275 | 268 |
| 276 # |-ObjC| flag needed to make sure category method implementations | 269 # |-ObjC| flag needed to make sure category method implementations |
| (...skipping 142 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 419 deps += [ "$rtc_libyuv_dir" ] | 412 deps += [ "$rtc_libyuv_dir" ] |
| 420 public_deps = [ | 413 public_deps = [ |
| 421 "$rtc_libyuv_dir", | 414 "$rtc_libyuv_dir", |
| 422 ] | 415 ] |
| 423 } else { | 416 } else { |
| 424 # Need to add a directory normally exported by libyuv. | 417 # Need to add a directory normally exported by libyuv. |
| 425 include_dirs = [ "$rtc_libyuv_dir/include" ] | 418 include_dirs = [ "$rtc_libyuv_dir/include" ] |
| 426 } | 419 } |
| 427 } | 420 } |
| 428 } | 421 } |
| OLD | NEW |