Skip to content

Commit 8818259

Browse files
rmacnak-googleCommit Queue
authored and
Commit Queue
committed
[build] Make build_analyze_snapshot consistent between the host and 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>
1 parent c84d037 commit 8818259

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

runtime/runtime_args.gni

+1-1
Original file line numberDiff line numberDiff line change
@@ -92,6 +92,6 @@ declare_args() {
9292
# The analyze_snapshot tool is only supported on 64 bit AOT builds running
9393
# under linux and android platforms
9494
build_analyze_snapshot =
95-
(is_linux || is_android) &&
95+
(target_os == "linux" || target_os == "android") &&
9696
(dart_target_arch == "x64" || dart_target_arch == "arm64")
9797
}

0 commit comments

Comments
 (0)