b08eb9d21a
This change is the final piece in enabling plugins in the new style to be launched from a specification in analysis options. Work towards https://github.com/dart-lang/sdk/issues/53402 * We support both one legacy analyzer plugin (the current max), and a set of new analyzer plugins, which are combined and launched in one shared plugin isolate. * Make PluginLocator.pluginMap private. * Add a parameter to PluginManager.addPluginToContextRoot: isLegacyPlugin. This method is used for both legacy and new plugins, but has slightly different behavior, finding where the plugin files are. Change-Id: I6644aecd4283eea22586ffd051a01b0ec8987fc5 Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/395360 Reviewed-by: Brian Wilkerson <brianwilkerson@google.com> Commit-Queue: Samuel Rawlins <srawlins@google.com>