mirror of
https://github.com/flutter/flutter.git
synced 2026-02-20 02:29:02 +08:00
Ensure GetFixturesPath works on Fuchsia (#15978)
This commit is contained in:
parent
08d1f2af9f
commit
ede50d43d3
@ -230,7 +230,11 @@ template("test_fixtures") {
|
||||
# must always be known to tests.
|
||||
fixtures_location_target_name = "fixtures_location_$target_name"
|
||||
fixtures_location(fixtures_location_target_name) {
|
||||
assets_dir = "$target_gen_dir/assets"
|
||||
if (is_fuchsia) {
|
||||
assets_dir = "/pkg/data/assets"
|
||||
} else {
|
||||
assets_dir = "$target_gen_dir/assets"
|
||||
}
|
||||
}
|
||||
test_deps = [ ":$fixtures_location_target_name" ]
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user