Skip to content
This repository was archived by the owner on Feb 25, 2025. It is now read-only.

Commit 1d703f0

Browse files
author
Chris Yang
authored
Reland "Build iOS unittest target in unopt builds" (#44356)" (#44821)
Relands #44301 The original PR was reverted in #44356 The `assert flutter_dylib_time <= ios_test_lib_time, final_message` check is reverted in 70dd9e4, so we are safe to land this again. [C++, Objective-C, Java style guides]: https://github.com/flutter/engine/blob/main/CONTRIBUTING.md#style
1 parent 5bdfa04 commit 1d703f0

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

BUILD.gn

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -149,6 +149,10 @@ group("unittests") {
149149
[ "//flutter/shell/platform/android:flutter_shell_native_unittests" ]
150150
}
151151

152+
if (is_ios) {
153+
public_deps += [ "//flutter/shell/platform/darwin/ios:ios_test_flutter" ]
154+
}
155+
152156
# Compile all unittests targets if enabled.
153157
if (enable_unittests) {
154158
public_deps += [

shell/platform/darwin/ios/BUILD.gn

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -270,7 +270,7 @@ source_set("ios_test_flutter_mrc") {
270270

271271
shared_library("ios_test_flutter") {
272272
testonly = true
273-
visibility = [ ":*" ]
273+
visibility = [ "*" ]
274274
cflags = [
275275
"-fvisibility=default",
276276
"-F$platform_frameworks_path",

0 commit comments

Comments
 (0)