Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(190)

Unified Diff: pkg/analysis_server/lib/src/analysis_server.dart

Issue 2885993004: Pass the sdk path to plugins (Closed)
Patch Set: Created 3 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | pkg/analysis_server/lib/src/plugin/plugin_manager.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/analysis_server/lib/src/analysis_server.dart
diff --git a/pkg/analysis_server/lib/src/analysis_server.dart b/pkg/analysis_server/lib/src/analysis_server.dart
index 352c0029c707cf18b51ea8b7ea21bef767586fb3..0e7fe483173ca45d982a709bbe502d54df94933f 100644
--- a/pkg/analysis_server/lib/src/analysis_server.dart
+++ b/pkg/analysis_server/lib/src/analysis_server.dart
@@ -422,8 +422,12 @@ class AnalysisServer {
new NotificationManager(channel, resourceProvider) {
_performance = performanceDuringStartup;
- pluginManager = new PluginManager(resourceProvider, _getByteStorePath(),
- notificationManager, instrumentationService);
+ pluginManager = new PluginManager(
+ resourceProvider,
+ _getByteStorePath(),
+ sdkManager.defaultSdkDirectory,
+ notificationManager,
+ instrumentationService);
PluginWatcher pluginWatcher =
new PluginWatcher(resourceProvider, pluginManager);
« no previous file with comments | « no previous file | pkg/analysis_server/lib/src/plugin/plugin_manager.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698