未验证 提交 f6905f57 编写于 作者: P P.Y. Laligand 提交者: GitHub

[fuchsia] Look for .packages under the proper directory. (#4909)

上级 4a347699
...@@ -128,7 +128,10 @@ action("generate_snapshot_bin") { ...@@ -128,7 +128,10 @@ action("generate_snapshot_bin") {
} }
if (is_fuchsia) { if (is_fuchsia) {
inputs += zircon_sdk_ext_files + mozart_dart_sdk_ext_files package_gen_dir = get_label_info(":bogus($dart_toolchain)",
"target_gen_dir")
package_file = "$package_gen_dir/generate_package_map.packages"
inputs += zircon_sdk_ext_files + mozart_dart_sdk_ext_files + [package_file]
zircon_path = rebase_path(zircon_sdk_ext_lib) zircon_path = rebase_path(zircon_sdk_ext_lib)
fuchsia_path = rebase_path(fuchsia_sdk_ext_lib) fuchsia_path = rebase_path(fuchsia_sdk_ext_lib)
mozart_internal_path = rebase_path(mozart_dart_sdk_ext_lib) mozart_internal_path = rebase_path(mozart_dart_sdk_ext_lib)
...@@ -137,7 +140,7 @@ action("generate_snapshot_bin") { ...@@ -137,7 +140,7 @@ action("generate_snapshot_bin") {
"--url_mapping=dart:fuchsia,$fuchsia_path", "--url_mapping=dart:fuchsia,$fuchsia_path",
"--url_mapping=dart:mozart.internal,$mozart_internal_path", "--url_mapping=dart:mozart.internal,$mozart_internal_path",
"--packages", "--packages",
rebase_path("$target_gen_dir/generate_package_map.packages"), rebase_path(package_file),
"--load_compilation_trace", "--load_compilation_trace",
rebase_path("fuchsia_compilation_trace.txt"), rebase_path("fuchsia_compilation_trace.txt"),
] ]
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册