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

Unified Diff: frog/reader.dart

Issue 9705037: Add new core ("dart:") libraries to frog so that apidoc can find them. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 8 years, 9 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 | « frog/leg/lib/io.dart ('k') | utils/apidoc/.gitignore » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: frog/reader.dart
diff --git a/frog/reader.dart b/frog/reader.dart
index 1d5815a6da2c39a9b148524837a55b264dbd7603..9d8cb5008f85e91c02bcde871d5513539a847655 100644
--- a/frog/reader.dart
+++ b/frog/reader.dart
@@ -18,8 +18,11 @@ class LibraryReader {
'dart:dom': joinPaths(options.libDir,
'../../client/dom/frog/dom_frog.dart'),
'dart:json': joinPaths(options.libDir, '../../lib/json/json_frog.dart'),
+ 'dart:io': joinPaths(options.libDir, '../leg/lib/io.dart'),
'dart:isolate': joinPaths(options.libDir,
'../../lib/isolate/isolate_frog.dart'),
+ 'dart:uri': joinPaths(options.libDir, '../../lib/uri/uri.dart'),
+ 'dart:utf': joinPaths(options.libDir, '../../lib/utf/utf.dart'),
};
} else if (options.config == 'sdk') {
_specialLibs = {
@@ -28,8 +31,11 @@ class LibraryReader {
'coreimpl/coreimpl_frog.dart'),
'dart:html': joinPaths(options.libDir, 'html/html_frog.dart'),
'dart:dom': joinPaths(options.libDir, 'dom/frog/dom_frog.dart'),
- 'dart:json': joinPaths(options.libDir, 'json/json_frog.dart'),
+ // TODO(rnystrom): How should we handle dart:io here?
'dart:isolate': joinPaths(options.libDir, 'isolate/isolate_frog.dart'),
+ 'dart:json': joinPaths(options.libDir, 'json/json_frog.dart'),
+ 'dart:uri': joinPaths(options.libDir, 'uri/uri.dart'),
+ 'dart:utf': joinPaths(options.libDir, 'utf/utf.dart'),
};
} else {
world.error('Invalid configuration ${options.config}');
« no previous file with comments | « frog/leg/lib/io.dart ('k') | utils/apidoc/.gitignore » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698