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

Unified Diff: editor/tools/plugins/com.google.dart.server_test/src/com/google/dart/server/timing/AnalyzeEngineInServer.java

Issue 672003002: Add package root setting to analysis server API. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 6 years, 2 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
Index: editor/tools/plugins/com.google.dart.server_test/src/com/google/dart/server/timing/AnalyzeEngineInServer.java
diff --git a/editor/tools/plugins/com.google.dart.server_test/src/com/google/dart/server/timing/AnalyzeEngineInServer.java b/editor/tools/plugins/com.google.dart.server_test/src/com/google/dart/server/timing/AnalyzeEngineInServer.java
index 9d14e539ccb2eb86dcaaa409757b1006b7cce660..e874976093bf5f1927312f744080338431b2b644 100644
--- a/editor/tools/plugins/com.google.dart.server_test/src/com/google/dart/server/timing/AnalyzeEngineInServer.java
+++ b/editor/tools/plugins/com.google.dart.server_test/src/com/google/dart/server/timing/AnalyzeEngineInServer.java
@@ -154,7 +154,8 @@ public class AnalyzeEngineInServer extends TimingTest {
ArrayList<String> includedPaths = new ArrayList<String>();
includedPaths.add(enginePath);
ArrayList<String> excludedPaths = new ArrayList<String>();
- server.analysis_setAnalysisRoots(includedPaths, excludedPaths);
+ // TODO(paulberry): pass in the correct package roots.
+ server.analysis_setAnalysisRoots(includedPaths, excludedPaths, null);
//
// Wait for all work to be completed.
//
@@ -175,7 +176,7 @@ public class AnalyzeEngineInServer extends TimingTest {
//
ArrayList<String> includedPaths = new ArrayList<String>();
ArrayList<String> excludedPaths = new ArrayList<String>();
- server.analysis_setAnalysisRoots(includedPaths, excludedPaths);
+ server.analysis_setAnalysisRoots(includedPaths, excludedPaths, null);
}
/**

Powered by Google App Engine
This is Rietveld 408576698