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

Commit

Permalink
Add top-level target for Windows/Android gen_snapshot
Browse files Browse the repository at this point in the history
  • Loading branch information
zanderso committed Oct 29, 2022
1 parent 2f8b4e7 commit 2c23bcd
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions BUILD.gn
Original file line number Diff line number Diff line change
Expand Up @@ -251,3 +251,13 @@ if (is_fuchsia && enable_unittests) {
deps = [ "//flutter/shell/platform/fuchsia:tests" ]
}
}

# On Windows, when targeting Android, we only build gen_snapshot. This
# top-level target provides a convenient shorthand for the full path into the
# 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)" ]
}
}

0 comments on commit 2c23bcd

Please sign in to comment.