diff --git a/BUILD.gn b/BUILD.gn index 704c0f2c8628d..05fbbb093360a 100644 --- a/BUILD.gn +++ b/BUILD.gn @@ -149,10 +149,6 @@ group("unittests") { [ "//flutter/shell/platform/android:flutter_shell_native_unittests" ] } - if (is_ios) { - public_deps += [ "//flutter/shell/platform/darwin/ios:ios_test_flutter" ] - } - # Compile all unittests targets if enabled. if (enable_unittests) { public_deps += [ diff --git a/shell/platform/darwin/ios/BUILD.gn b/shell/platform/darwin/ios/BUILD.gn index fc09bd9a17f18..8aa967ae6ca55 100644 --- a/shell/platform/darwin/ios/BUILD.gn +++ b/shell/platform/darwin/ios/BUILD.gn @@ -270,7 +270,7 @@ source_set("ios_test_flutter_mrc") { shared_library("ios_test_flutter") { testonly = true - visibility = [ "*" ] + visibility = [ ":*" ] cflags = [ "-fvisibility=default", "-F$platform_frameworks_path",