From 90474ccd1255c6b44e7a7938fa4298795306c9b1 Mon Sep 17 00:00:00 2001 From: ehmaldonado Date: Fri, 17 Mar 2017 03:47:24 -0700 Subject: [PATCH] GN: Make //webrtc/test:fileutils visible only to //webrtc/test. BUG=webrtc:6727 NOTRY=True Review-Url: https://codereview.webrtc.org/2754893002 Cr-Commit-Position: refs/heads/master@{#17283} --- webrtc/modules/audio_coding/BUILD.gn | 1 - webrtc/modules/remote_bitrate_estimator/BUILD.gn | 2 +- webrtc/test/BUILD.gn | 1 + 3 files changed, 2 insertions(+), 2 deletions(-) diff --git a/webrtc/modules/audio_coding/BUILD.gn b/webrtc/modules/audio_coding/BUILD.gn index 3a2d20a800..67ed45307a 100644 --- a/webrtc/modules/audio_coding/BUILD.gn +++ b/webrtc/modules/audio_coding/BUILD.gn @@ -1159,7 +1159,6 @@ if (rtc_include_tests) { "../../api/audio_codecs:builtin_audio_decoder_factory", "../../base:rtc_base_approved", "../../system_wrappers:system_wrappers", - "../../test:fileutils", "../../test:test_support", ] defines = audio_coding_defines diff --git a/webrtc/modules/remote_bitrate_estimator/BUILD.gn b/webrtc/modules/remote_bitrate_estimator/BUILD.gn index f4c338a70d..702d3e7b9c 100644 --- a/webrtc/modules/remote_bitrate_estimator/BUILD.gn +++ b/webrtc/modules/remote_bitrate_estimator/BUILD.gn @@ -134,7 +134,7 @@ if (rtc_include_tests) { ":bwe_simulator_lib", ":remote_bitrate_estimator", "../../base:rtc_base_approved", - "../../test:fileutils", + "../../test:test_support", ] if (!build_with_chromium && is_clang) { # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163). diff --git a/webrtc/test/BUILD.gn b/webrtc/test/BUILD.gn index 267d1e2d05..322f8393f7 100644 --- a/webrtc/test/BUILD.gn +++ b/webrtc/test/BUILD.gn @@ -122,6 +122,7 @@ rtc_source_set("fileutils") { sources += [ "testsupport/iosfileutils.mm" ] configs += [ "//build/config/compiler:enable_arc" ] } + visibility = [ ":*" ] } rtc_source_set("video_test_support") {