| Index: editor/tools/plugins/com.google.dart.server/src/com/google/dart/server/AnalysisServer.java
|
| diff --git a/editor/tools/plugins/com.google.dart.server/src/com/google/dart/server/AnalysisServer.java b/editor/tools/plugins/com.google.dart.server/src/com/google/dart/server/AnalysisServer.java
|
| index 1c75875128d3d9ccd295f742a0aea6c6d41d8fa2..3b1283ff8a3f3e83d67fe5f80167917dfc0635e1 100644
|
| --- a/editor/tools/plugins/com.google.dart.server/src/com/google/dart/server/AnalysisServer.java
|
| +++ b/editor/tools/plugins/com.google.dart.server/src/com/google/dart/server/AnalysisServer.java
|
| @@ -103,8 +103,16 @@ public interface AnalysisServer {
|
| * @param included A list of the files and directories that should be analyzed.
|
| * @param excluded A list of the files and directories within the included directories that should
|
| * not be analyzed.
|
| + * @param packageRoots A mapping from source directories to target directories that should override
|
| + * the normal package: URI resolution mechanism. The analyzer will behave as though each
|
| + * source directory in the map contains a special pubspec.yaml file which resolves any
|
| + * package: URI to the corresponding path within the target directory. The effect is the
|
| + * same as specifying the target directory as a "--package_root" parameter to the Dart VM
|
| + * when executing any Dart file inside the source directory. If this field is absent, or
|
| + * the empty map is specified, then all package: URI's are resolved the normal pubspec.yaml
|
| + * mechanism.
|
| */
|
| - public void analysis_setAnalysisRoots(List<String> included, List<String> excluded);
|
| + public void analysis_setAnalysisRoots(List<String> included, List<String> excluded, Map<String, String> packageRoots);
|
|
|
| /**
|
| * {@code analysis.setPriorityFiles}
|
|
|