Reland "[build] Generate AOT snapshots in the SDK as dylibs on Mac."
Also apply code signing like we do for C++ binaries. Cq-Include-Trybots: luci.dart.try:dart-sdk-mac-try,dart-sdk-mac-arm64-try Change-Id: If2a379c0cde556ad3198cafc5b53a386bd265197 Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/504721 Reviewed-by: Alexander Markov <alexmarkov@google.com> Commit-Queue: Ryan Macnak <rmacnak@google.com>
This commit is contained in:
committed by
dart-scoped@luci-project-accounts.iam.gserviceaccount.com
parent
a16de199d7
commit
25a757da3e
@@ -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
|
||||
},
|
||||
]
|
||||
|
||||
|
||||
Reference in New Issue
Block a user