mirror of
https://github.com/dart-lang/sdk
synced 2024-10-14 18:49:37 +00:00
3b07865faf
gen_snapshot can now consume a concatenated dill file. Restrictions: * The first dill file must be the main program. * The subsequent dill files must only contain dummy libraries with objects which are recognized classes in the VM and not treeshaken in the main program. This will enable compiling Dart AOT first, then using the tree-shaking information to tree-shake native assets, and then embedding the native assets mapping in the kernel file before running gen_snapshot. TEST=tests/ffi/native_assets/asset_relative_test.dart Closes: https://github.com/dart-lang/sdk/issues/50152 Bug: https://github.com/dart-lang/sdk/issues/55377 Change-Id: Id562aa39840d5eb467198efaa4cf3152d860f8b5 q-Include-Trybots: dart/try:vm-aot-linux-debug-x64-try,vm-aot-linux-debug-x64c-try,vm-aot-mac-release-arm64-try,vm-aot-mac-release-x64-try,vm-aot-obfuscate-linux-release-x64-try,vm-aot-optimization-level-linux-release-x64-try,vm-aot-win-debug-arm64-try,vm-aot-win-debug-x64-try,vm-aot-win-debug-x64c-try Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/362381 Reviewed-by: Alexander Markov <alexmarkov@google.com> Commit-Queue: Daco Harkes <dacoharkes@google.com> |
||
---|---|---|
.. | ||
co19 | ||
corelib | ||
dartdevc | ||
ffi | ||
hot_reload | ||
language | ||
lib | ||
macro_build | ||
modular | ||
standalone | ||
web | ||
legacy_status_dart2js.csv | ||
OWNERS | ||
README.md |
This directory contains tests of the language and core library implementations. For more information, see https://github.com/dart-lang/sdk/wiki/Testing.