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

Commit 9512cf8

Browse files
committed
Add flow_unittests to Fuchsia
1 parent 1aba5e6 commit 9512cf8

File tree

3 files changed

+17
-5
lines changed

3 files changed

+17
-5
lines changed

BUILD.gn

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,10 @@ group("flutter") {
9494

9595
# Fuchsia currently only supports a subset of our unit tests
9696
if (is_fuchsia) {
97-
public_deps += [ "$flutter_root/fml:fml_tests" ]
97+
public_deps += [
98+
"$flutter_root/flow:flow_tests",
99+
"$flutter_root/fml:fml_tests",
100+
]
98101
}
99102
}
100103

flow/BUILD.gn

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@
44

55
if (is_fuchsia) {
66
import("//build/fuchsia/sdk.gni")
7+
import("$flutter_root/tools/fuchsia/fuchsia_archive.gni")
78
}
8-
99
import("$flutter_root/testing/testing.gni")
1010

1111
source_set("flow") {
@@ -163,3 +163,13 @@ executable("flow_unittests") {
163163
"//third_party/skia",
164164
]
165165
}
166+
167+
if (is_fuchsia) {
168+
fuchsia_test_archive("flow_tests") {
169+
deps = [
170+
":flow_unittests",
171+
]
172+
173+
binary = "flow_unittests"
174+
}
175+
}

fml/BUILD.gn

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,12 +2,11 @@
22
# Use of this source code is governed by a BSD-style license that can be
33
# found in the LICENSE file.
44

5-
import("//build/fuchsia/sdk.gni")
6-
import("$flutter_root/testing/testing.gni")
7-
85
if (is_fuchsia) {
6+
import("//build/fuchsia/sdk.gni")
97
import("$flutter_root/tools/fuchsia/fuchsia_archive.gni")
108
}
9+
import("$flutter_root/testing/testing.gni")
1110

1211
source_set("fml") {
1312
sources = [

0 commit comments

Comments
 (0)