[build] Generate AOT snapshots in the SDK as dylibs on Mac.

Change-Id: I95efe7342e595b44bfce1a15229b926a721aea82
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/499480
Reviewed-by: Alexander Markov <alexmarkov@google.com>
Commit-Queue: Ryan Macnak <rmacnak@google.com>
This commit is contained in:
Ryan Macnak
2026-05-12 09:14:03 -07:00
committed by dart-scoped@luci-project-accounts.iam.gserviceaccount.com
parent b7125bde65
commit 7cc84b94b3
2 changed files with 21 additions and 94 deletions
-8
View File
@@ -70,14 +70,6 @@ _all_configs = [
dart_shared_lib = "../../runtime/engine:dart_engine_aot_shared"
dart_static_lib = "../../runtime/engine:dart_engine_aot_static"
snapshot_target = "aot_snapshot"
# AOT snapshots as shared libraries on Windows are not
# supported, and in fact we don't build AOT samples on
# Windows. However, GN evaluation model will still
# evaluate the `aot_snapshot` template on Windows,
# and it will fail the assert if as_shared_library is
# true, and the current platform is Windows.
as_shared_library = !is_win
},
]