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

Unified Diff: pkg/analysis_server/tool/spec/spec_input.html

Issue 874373003: Library dependencies server API updates (to pass package maps). (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 5 years, 11 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: pkg/analysis_server/tool/spec/spec_input.html
===================================================================
--- pkg/analysis_server/tool/spec/spec_input.html (revision 43154)
+++ pkg/analysis_server/tool/spec/spec_input.html (working copy)
@@ -369,19 +369,35 @@
</result>
</request>
<request method="getLibraryDependencies">
- <p>
- Return a list of all of the libraries referenced by any files in
- existing analysis roots.
- </p>
- <result>
- <field name="libraries">
- <list><ref>FilePath</ref></list>
- <p>
- A list of the paths of library elements referenced by
- files in existing analysis roots.
- </p>
- </field>
- </result>
+ <p>
+ Return library dependency information for use in client-side indexing
+ and package URI resolution.
+ </p>
+ <result>
+ <field name="libraries">
+ <list><ref>FilePath</ref></list>
+ <p>
+ A list of the paths of library elements referenced by
+ files in existing analysis roots.
+ </p>
+ </field>
+ <field name="packageMap">
+ <map>
+ <key><ref>String</ref></key>
+ <value>
+ <map>
+ <key><ref>String</ref></key>
+ <value><list><ref>FilePath</ref></list></value>
+ </map>
+ </value>
+ </map>
+ <p>
+ A mapping from context source roots to package maps which map
+ package names to source directories for use in client-side
+ package URI resolution.
+ </p>
+ </field>
+ </result>
</request>
<request method="getNavigation">
<p>

Powered by Google App Engine
This is Rietveld 408576698