dart-sdk/utils
Aske Simon Christensen 6c7604291c [dart2wasm] Build platform dill and compile dart2wasm to AOT snapshots
This adds a --platform= option to dart2wasm to read the SDK libraries
from that dill file instead of compiling them from source every time.
If the option is not given, the SDK libraries are compiled, like before.

Also adds a "dart2wasm" build target, which will build the dart2wasm
platform dill and compile dart2wasm to two AOT snapshots (with and
without asserts). The dart2wasm scripts in sdk/bin are updated to run
via these snapshots and use this platform dill.

This speeds up test runs for the dart2wasm-hostasserts-linux-x64-d8
configuration by approximately 45x.

Change-Id: If2c7750a6eb39725310745f887792784d0dfc583
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/243624
Commit-Queue: Aske Simon Christensen <askesc@google.com>
Reviewed-by: William Hesse <whesse@google.com>
Reviewed-by: Joshua Litt <joshualitt@google.com>
2022-05-10 10:06:06 +00:00
..
analysis_server Reapply "[build] Don't list Dart sources up front when creating application snapshots." 2021-04-27 17:22:54 +00:00
bazel Revert "Revert "Move most of the code from u/b/kernel_worker.dart to p/frontend_server"" 2021-06-14 13:28:23 +00:00
compiler [dart2js] Rename platform files. 2021-10-15 21:40:08 +00:00
dart2native [BUILD] - Format gn files, this is being done to ensure the unfork CL 2020-03-10 21:56:11 +00:00
dart2wasm [dart2wasm] Build platform dill and compile dart2wasm to AOT snapshots 2022-05-10 10:06:06 +00:00
dartanalyzer Replace a bunch of references to .packages 2021-10-12 20:16:15 +00:00
dartdev [ CLI ] Migrate package:dartdev to null safety 2022-01-26 21:16:49 +00:00
dartdevc [build] Fix dart2js_compile action dependencies 2021-11-24 13:10:11 +00:00
dds Reapply "[build] Don't list Dart sources up front when creating application snapshots." 2021-04-27 17:22:54 +00:00
gen_kernel Replace a bunch of references to .packages 2021-10-12 20:16:15 +00:00
kernel-service Replace a bunch of references to .packages 2021-10-12 20:16:15 +00:00
peg Spelling fixes e to i. 2017-06-24 13:41:39 +02:00
tests/peg [test] Apply simarm64 status file entries to simarm64c. 2021-02-25 21:18:02 +00:00
aot_snapshot.gni [dart2wasm] Build platform dill and compile dart2wasm to AOT snapshots 2022-05-10 10:06:06 +00:00
application_snapshot.gni Remove more reference to .packages 2022-02-03 01:08:34 +00:00
compile_platform.gni Replace a bunch of references to .packages 2021-10-12 20:16:15 +00:00
create_timestamp.gni Reapply "[build] Track glob dependencies via depfiles, instead of always re-executing scripts at GN time." 2021-05-12 00:27:28 +00:00
OWNERS [infra] Add OWNERS to the Dart SDK 2022-02-14 14:06:34 +00:00