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

Unified Diff: utils/apidoc/apidoc.dart

Issue 10874030: Get library data from lib/_internal/libraries.dart. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Updated to tip of tree (including danruble's change) Created 8 years, 4 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 | « lib/compiler/implementation/library_map.dart ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: utils/apidoc/apidoc.dart
diff --git a/utils/apidoc/apidoc.dart b/utils/apidoc/apidoc.dart
index fc3c81430fff414c1a966c39aefa95835ed51e4e..cfeaa2f2af3e45745722d64edc6c6456699edfa7 100644
--- a/utils/apidoc/apidoc.dart
+++ b/utils/apidoc/apidoc.dart
@@ -21,7 +21,7 @@
#import('../../pkg/dartdoc/mirrors/mirrors.dart');
#import('../../pkg/dartdoc/mirrors/mirrors_util.dart');
#import('../../pkg/dartdoc/dartdoc.dart', prefix: 'doc');
-#import('../../lib/compiler/implementation/library_map.dart');
+#import('../../lib/_internal/libraries.dart');
HtmlDiff _diff;
@@ -104,8 +104,10 @@ void main() {
// URIs. Perhaps Path should have a toURI() method.
// Add all of the core libraries.
final apidocLibraries = <Path>[];
- DART2JS_LIBRARY_MAP.forEach((String name, LibraryInfo info) {
- if (!info.isInternal) {
+ LIBRARIES.forEach((String name, LibraryInfo info) {
+ if (info.isDart2JsLibrary() &&
+ info.category != "Internal" &&
+ info.documented) {
apidocLibraries.add(new Path('dart:$name'));
}
});
« no previous file with comments | « lib/compiler/implementation/library_map.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698