未验证 提交 3e3da2e3 编写于 作者: Z Zachary Anderson 提交者: GitHub

Ensure gen_snapshot for the target is built when needed (#23694)

上级 effb529e
......@@ -62,6 +62,11 @@ group("flutter") {
public_deps += [
"//flutter/flutter_frontend_server:frontend_server",
"//third_party/dart:create_sdk",
# This must be listed explicitly for desktop cross-builds since
# //flutter/lib/snapshot:generate_snapshot_bin will only build
# gen_snapshot for the host and not the target.
"//third_party/dart/runtime/bin:gen_snapshot",
]
if (full_dart_sdk) {
......
......@@ -201,6 +201,7 @@ action("create_arm_gen_snapshot") {
output_dir = "$root_out_dir/clang_x64"
script = "//flutter/sky/tools/create_macos_gen_snapshots.py"
visibility = [ ":*" ]
deps = [ "//third_party/dart/runtime/bin:gen_snapshot" ]
args = [
"--dst",
rebase_path(output_dir),
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册