未验证 提交 ede50d43 编写于 作者: G George Wright 提交者: GitHub

Ensure GetFixturesPath works on Fuchsia (#15978)

上级 08d1f2af
......@@ -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" ]
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册