be7ff1daf6
This adds a [MacroSerializer] interface to abstract how URIs are created for precompiled macro components. Two strategies are added. The existing solution using a temporary directory in TempDirMacroSerializer and a new solution using the recently added (experimental) Isolate.createUriForKernelBlob feature in IsolateSerializer. Change-Id: Id7117cc518f09e9b3762d6ca924c788c81fd9ac0 Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/234282 Reviewed-by: Jens Johansen <jensj@google.com> Commit-Queue: Johnni Winther <johnniwinther@google.com>