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 242 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
253 deps += [ "$rtc_libyuv_dir" ] | 253 deps += [ "$rtc_libyuv_dir" ] |
254 public_deps = [ | 254 public_deps = [ |
255 "$rtc_libyuv_dir", | 255 "$rtc_libyuv_dir", |
256 ] | 256 ] |
257 } | 257 } |
258 } | 258 } |
259 | 259 |
260 if (rtc_include_tests) { | 260 if (rtc_include_tests) { |
261 rtc_source_set("rtc_sdk_peerconnection_objc_unittests") { | 261 rtc_source_set("rtc_sdk_peerconnection_objc_unittests") { |
262 testonly = true | 262 testonly = true |
| 263 if (!is_android && !is_ios) { # Generated targets makes this check break. |
| 264 visibility = [ "//webrtc:rtc_unittests" ] |
| 265 } |
263 sources = [ | 266 sources = [ |
264 "objc/Framework/UnitTests/RTCConfigurationTest.mm", | 267 "objc/Framework/UnitTests/RTCConfigurationTest.mm", |
265 "objc/Framework/UnitTests/RTCDataChannelConfigurationTest.mm", | 268 "objc/Framework/UnitTests/RTCDataChannelConfigurationTest.mm", |
266 "objc/Framework/UnitTests/RTCIceCandidateTest.mm", | 269 "objc/Framework/UnitTests/RTCIceCandidateTest.mm", |
267 "objc/Framework/UnitTests/RTCIceServerTest.mm", | 270 "objc/Framework/UnitTests/RTCIceServerTest.mm", |
268 "objc/Framework/UnitTests/RTCMediaConstraintsTest.mm", | 271 "objc/Framework/UnitTests/RTCMediaConstraintsTest.mm", |
269 "objc/Framework/UnitTests/RTCPeerConnectionTest.mm", | 272 "objc/Framework/UnitTests/RTCPeerConnectionTest.mm", |
270 "objc/Framework/UnitTests/RTCSessionDescriptionTest.mm", | 273 "objc/Framework/UnitTests/RTCSessionDescriptionTest.mm", |
271 "objc/Framework/UnitTests/avformatmappertests.mm", | 274 "objc/Framework/UnitTests/avformatmappertests.mm", |
272 ] | 275 ] |
(...skipping 158 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
431 deps += [ "$rtc_libyuv_dir" ] | 434 deps += [ "$rtc_libyuv_dir" ] |
432 public_deps = [ | 435 public_deps = [ |
433 "$rtc_libyuv_dir", | 436 "$rtc_libyuv_dir", |
434 ] | 437 ] |
435 } else { | 438 } else { |
436 # Need to add a directory normally exported by libyuv. | 439 # Need to add a directory normally exported by libyuv. |
437 include_dirs = [ "$rtc_libyuv_dir/include" ] | 440 include_dirs = [ "$rtc_libyuv_dir/include" ] |
438 } | 441 } |
439 } | 442 } |
440 } | 443 } |
OLD | NEW |