e8d3389eb5
Previous version (landed via https://dart-review.googlesource.com/c/sdk/+/135683) only worked if the dill was loaded via Dart_LoadScriptFromKernel where script_kernel_size was set, and when the platform dill could be loaded from a file called the right thing. This CL makes it work for Dart_LoadLibraryFromKernel too and allows the VM to send the platform along (explicitly or implicitly) and only tries to load the platform from a file with the right name if no platform is given in any of the inputs. This should fix http://b/148776866 Change-Id: I62317400a932b7dcd9e126a5a88907d507f9d658 Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/153609 Reviewed-by: Alexander Aprelev <aam@google.com> Commit-Queue: Jens Johansen <jensj@google.com>
This package hosts VM specific Dart code and helper scripts.