Skip to content
This repository was archived by the owner on Feb 25, 2025. It is now read-only.

Copy Windows gen_snapshot to a standard location #37318

Merged
merged 1 commit into from
Nov 4, 2022
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 8 additions & 2 deletions BUILD.gn
Original file line number Diff line number Diff line change
Expand Up @@ -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" ]
}
}