46bd867651
This refactoring is being done to make it easier to integrate this code into internal builds. It has the added benefit of cleaning up some really wonderful code. Change-Id: I30f22785cc1f3dec00e01fb809115344284375c0 Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/152840 Auto-Submit: Clement Skau <cskau@google.com> Reviewed-by: Martin Kustermann <kustermann@google.com> Commit-Queue: Clement Skau <cskau@google.com>