dart-sdk/utils
Michal Terepeta 659fdae898 Move most of the code from u/b/kernel_worker.dart to p/frontend_server
This should allow us to import the code in cases when we want to
implement the Bazel worker loop ourselves. This opens some possibilities
of extra optimizations for internal use cases.

I'm leaving some of the code (e.g., `main`) in the old location, so that
we do not break anything that depends on it.

The only thing that I've done is to pass the input-digest map to
`computeKernel` instead of using `Input` objects directly, this way
we can avoid the dependency on `package:bazel_worker` from
`frontend_server`. So now, if we're using the worker loop, the map will
be computed by `kernel_worker.dart` (in non-worker mode, we rely on
the default empty map).

Bug: http://b/187910394
Change-Id: I408407ebdebc17c7898552c053a8e1c269cf2df5
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/201187
Commit-Queue: Michal Terepeta <michalt@google.com>
Reviewed-by: Johnni Winther <johnniwinther@google.com>
2021-05-31 13:47:14 +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 Move most of the code from u/b/kernel_worker.dart to p/frontend_server 2021-05-31 13:47:14 +00:00
compiler [infra] Migrate scripts to python3 2021-04-15 10:10:20 +00:00
dart2native [BUILD] - Format gn files, this is being done to ensure the unfork CL 2020-03-10 21:56:11 +00:00
dartanalyzer Use prebuilt dart to generate strong sdk summary 2021-05-23 02:11:39 +00:00
dartdev Reland "[ VM / DDS / CLI ] Add DevTools support to the standalone VM" 2021-05-11 17:55:26 +00:00
dartdevc Reapply "[build] Don't list Dart sources up front when creating application snapshots." 2021-04-27 17:22:54 +00:00
dartdoc [VM/SDK] Switch kernel isolate to run in Dart 2 mode 2018-08-21 20:28:06 +00:00
dartfmt [VM/SDK] Switch kernel isolate to run in Dart 2 mode 2018-08-21 20:28:06 +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 Reapply "[build] Don't list Dart sources up front when creating application snapshots." 2021-04-27 17:22:54 +00:00
kernel-service Remove bytecode mode of Dart SDK build 2020-10-21 22:43:14 +00:00
peg Spelling fixes e to i. 2017-06-24 13:41:39 +02:00
pub Remove workaround introduced for issue #40486, that issue 2020-02-26 03:26:25 +00:00
tests/peg [test] Apply simarm64 status file entries to simarm64c. 2021-02-25 21:18:02 +00:00
application_snapshot.gni Reland "[build] Use an absolute path for the snapshot" 2021-05-21 11:52:02 +00:00
compile_platform.gni Reland "[SDK] Adds an SDK hash to kernels and the VM." 2020-07-07 06:08:20 +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