Ensure GetFixturesPath works on Fuchsia (flutter/engine#15978)
This commit is contained in:
@@ -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" ]
|
||||
|
||||
|
||||
Reference in New Issue
Block a user