mirror of
https://github.com/flutter/flutter.git
synced 2026-02-20 02:29:02 +08:00
Copy Windows gen_snapshot to a standard location (flutter/engine#37318)
This commit is contained in:
parent
d4bc88f5e1
commit
eb154de875
@ -257,7 +257,13 @@ if (is_fuchsia && enable_unittests) {
|
||||
# Dart tree, and is less ambiguous than specifying the binary to build since
|
||||
# we can specify the toolchain to use, too.
|
||||
if (host_os == "win") {
|
||||
group("gen_snapshot") {
|
||||
deps = [ "//third_party/dart/runtime/bin:gen_snapshot($host_toolchain)" ]
|
||||
_gen_snapshot_target =
|
||||
"//third_party/dart/runtime/bin:gen_snapshot($host_toolchain)"
|
||||
copy("gen_snapshot") {
|
||||
deps = [ _gen_snapshot_target ]
|
||||
|
||||
gen_snapshot_out_dir = get_label_info(_gen_snapshot_target, "root_out_dir")
|
||||
sources = [ "$gen_snapshot_out_dir/gen_snapshot.exe" ]
|
||||
outputs = [ "$root_build_dir/gen_snapshot/gen_snapshot.exe" ]
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user