dart-sdk/tests
Daco Harkes 3b07865faf [vm/ffi] AOT kernel concatenation with native assets
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>
2024-04-11 17:55:26 +00:00
..
co19 [ddc] Add configuration to compile with asserts 2024-04-04 14:40:30 +00:00
corelib Revert "Tweak expect.dart library." 2024-04-09 18:10:57 +00:00
dartdevc Revert "Tweak expect.dart library." 2024-04-09 18:10:57 +00:00
ffi [vm/ffi] AOT kernel concatenation with native assets 2024-04-11 17:55:26 +00:00
hot_reload [reload_test] Adding support for VM hot reload tests. 2024-04-07 16:39:49 +00:00
language Use less static types, just check names and library URIs of declarations. 2024-04-09 19:56:01 +00:00
lib Revert "Tweak expect.dart library." 2024-04-09 18:10:57 +00:00
macro_build add package:_macros (SDK vendored) and package:macros (pub published) 2024-03-26 18:40:00 +00:00
modular Support prebuilt macros in the incremental compiler mode for DDC 2024-04-09 07:37:26 +00:00
standalone Revert "Tweak expect.dart library." 2024-04-09 18:10:57 +00:00
web [dart2wasm] Fix array.new_fixed calls with too large size 2024-04-10 11:00:31 +00:00
legacy_status_dart2js.csv Spelling tests 2022-12-19 12:56:47 +00:00
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.