Skip to content

Commit d54ea1c

Browse files
George WrightNoamDev
authored andcommitted
Ensure GetFixturesPath works on Fuchsia (flutter#15978)
1 parent 0bc313d commit d54ea1c

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

testing/testing.gni

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -230,7 +230,11 @@ template("test_fixtures") {
230230
# must always be known to tests.
231231
fixtures_location_target_name = "fixtures_location_$target_name"
232232
fixtures_location(fixtures_location_target_name) {
233-
assets_dir = "$target_gen_dir/assets"
233+
if (is_fuchsia) {
234+
assets_dir = "/pkg/data/assets"
235+
} else {
236+
assets_dir = "$target_gen_dir/assets"
237+
}
234238
}
235239
test_deps = [ ":$fixtures_location_target_name" ]
236240

0 commit comments

Comments
 (0)