Skip to content

Commit

Permalink
[build] Make build_analyze_snapshot consistent between the host and…
Browse files Browse the repository at this point in the history
… target toolchains.

Bug: #51242
Change-Id: I7a0ad1f0bc94c4593412945e4887f9045693fd40
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/280782
Reviewed-by: Daco Harkes <dacoharkes@google.com>
Commit-Queue: Ryan Macnak <rmacnak@google.com>
  • Loading branch information
rmacnak-google authored and Commit Queue committed Feb 6, 2023
1 parent c84d037 commit 8818259
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion runtime/runtime_args.gni
Original file line number Diff line number Diff line change
Expand Up @@ -92,6 +92,6 @@ declare_args() {
# The analyze_snapshot tool is only supported on 64 bit AOT builds running
# under linux and android platforms
build_analyze_snapshot =
(is_linux || is_android) &&
(target_os == "linux" || target_os == "android") &&
(dart_target_arch == "x64" || dart_target_arch == "arm64")
}

0 comments on commit 8818259

Please sign in to comment.