| Index: dart/lib/compiler/implementation/dart2js.dart | 
| diff --git a/dart/lib/compiler/implementation/dart2js.dart b/dart/lib/compiler/implementation/dart2js.dart | 
| index 094a203640f09bc5eeb0b4104afb741f8b0c2863..6e6c10ccd4decdd4c3ce5687a5b7224c73c111c4 100644 | 
| --- a/dart/lib/compiler/implementation/dart2js.dart | 
| +++ b/dart/lib/compiler/implementation/dart2js.dart | 
| @@ -9,7 +9,6 @@ | 
|  | 
| #import('../../uri/uri.dart'); | 
| #import('../compiler.dart', prefix: 'api'); | 
| -#import('io/io.dart', prefix: 'io'); | 
| #import('colors.dart'); | 
| #import('source_file.dart'); | 
|  | 
| @@ -44,7 +43,7 @@ String relativize(Uri base, Uri uri) { | 
| } | 
|  | 
| void compile(List<String> argv) { | 
| -  Uri cwd = new Uri(scheme: 'file', path: io.getCurrentDirectory()); | 
| +  Uri cwd = new Uri(scheme: 'file', path: getCurrentDirectory()); | 
| bool throwOnError = false; | 
| bool showWarnings = true; | 
| bool verbose = false; | 
| @@ -151,3 +150,9 @@ String readAll(String filename) { | 
| file.closeSync(); | 
| return new String.fromCharCodes(new Utf8Decoder(buffer).decodeRest()); | 
| } | 
| + | 
| +String getCurrentDirectory() { | 
| +  String dir = new File(".").fullPathSync(); | 
| +  if (dir.endsWith("/")) return dir; | 
| +  return "$dir/"; | 
| +} | 
|  |