Build iOS unittest target in unopt builds (flutter/engine#44301)
build ios unittest target in unopt builds. [C++, Objective-C, Java style guides]: https://github.com/flutter/engine/blob/main/CONTRIBUTING.md#style
This commit is contained in:
@@ -264,7 +264,6 @@ source_set("ios_test_flutter_mrc") {
|
||||
}
|
||||
|
||||
shared_library("ios_test_flutter") {
|
||||
testonly = true
|
||||
visibility = [ ":*" ]
|
||||
cflags = [
|
||||
"-fvisibility=default",
|
||||
@@ -304,7 +303,6 @@ shared_library("ios_test_flutter") {
|
||||
"framework/Source/connection_collection_test.mm",
|
||||
]
|
||||
deps = [
|
||||
":flutter_framework",
|
||||
":flutter_framework_source",
|
||||
":flutter_framework_source_arc",
|
||||
":ios_gpu_configuration",
|
||||
@@ -467,4 +465,8 @@ action("flutter_framework") {
|
||||
]
|
||||
|
||||
deps = [ ":universal_flutter_framework" ]
|
||||
|
||||
if (is_debug) {
|
||||
deps += [ ":ios_test_flutter" ]
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user