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

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

Issue 2828793003: GN: Tighten up test target visibility + refactorings (Closed)
Patch Set: Disable Win compile warning Created 3 years, 8 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("../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
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
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 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698