ccdddd2eee
It does not enable summary2 yet, but makes it possible to flip one flag AnalysisDriver.useSummary2 to switch between summary1 and summary2. I run presubmit scripts, and it seems that it works for both. https://test.corp.google.com/ui#id=OCL:255717824:BASE:259228828:1563746330268:5481d33a https://test.corp.google.com/ui#id=OCL:255717824:BASE:258892260:1563515248201:2d5ce329 One thing that is not implemented yet is tracking used dependencies for summary2. So, //dart/bazel_codegen_tests:dependencies_test_run fails. Change-Id: Iec9f3852e9b91236ce98e87041031daa0cc71a88 Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/107689 Reviewed-by: Paul Berry <paulberry@google.com> Reviewed-by: Brian Wilkerson <brianwilkerson@google.com> Reviewed-by: Vijay Menon <vsm@google.com> Commit-Queue: Konstantin Shcheglov <scheglov@google.com>