We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9fa39fc commit 4c6771bCopy full SHA for 4c6771b
BUILD.gn
@@ -257,7 +257,13 @@ if (is_fuchsia && enable_unittests) {
257
# Dart tree, and is less ambiguous than specifying the binary to build since
258
# we can specify the toolchain to use, too.
259
if (host_os == "win") {
260
- group("gen_snapshot") {
261
- deps = [ "//third_party/dart/runtime/bin:gen_snapshot($host_toolchain)" ]
+ _gen_snapshot_target =
+ "//third_party/dart/runtime/bin:gen_snapshot($host_toolchain)"
262
+ copy("gen_snapshot") {
263
+ deps = [ _gen_snapshot_target ]
264
+
265
+ gen_snapshot_out_dir = get_label_info(_gen_snapshot_target, "root_out_dir")
266
+ sources = [ "$gen_snapshot_out_dir/gen_snapshot.exe" ]
267
+ outputs = [ "$root_build_dir/gen_snapshot/gen_snapshot.exe" ]
268
}
269
0 commit comments