19144db89f
This moves ddc to use the same logic to compile the sdk.dill as all other backends. This will also enable us in a subsequent CL to generate the dart_sdk.js files from a precompiled .dill file, and hence improve overall caching on local rebuilds. Change-Id: I02e178baa5497a5bee2de42e3423176ca97ceaef Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/125446 Reviewed-by: Nicholas Shahan <nshahan@google.com>