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

Unified Diff: sdk/lib/_internal/compiler/implementation/dart2js.dart

Issue 11361118: Use new library/import syntax in dart2js. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 8 years, 1 month 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: sdk/lib/_internal/compiler/implementation/dart2js.dart
diff --git a/sdk/lib/_internal/compiler/implementation/dart2js.dart b/sdk/lib/_internal/compiler/implementation/dart2js.dart
index e8c25919ed1c6d12a08c37bb23cd5da148c97573..f6a91d73f10f84ed15452887f99e328b6f9217f4 100644
--- a/sdk/lib/_internal/compiler/implementation/dart2js.dart
+++ b/sdk/lib/_internal/compiler/implementation/dart2js.dart
@@ -2,17 +2,17 @@
// for details. All rights reserved. Use of this source code is governed by a
// BSD-style license that can be found in the LICENSE file.
-#library('dart2js');
+library dart2js;
-#import('dart:io');
-#import('dart:uri');
-#import('dart:utf');
+import 'dart:io';
+import 'dart:uri';
+import 'dart:utf';
-#import('../compiler.dart', prefix: 'api');
-#import('colors.dart', prefix: 'colors');
-#import('source_file.dart');
-#import('filenames.dart');
-#import('util/uri_extras.dart');
+import '../compiler.dart' as api;
+import 'colors.dart' as colors;
+import 'source_file.dart';
+import 'filenames.dart';
+import 'util/uri_extras.dart';
const String LIBRARY_ROOT = '../../../../..';
const String OUTPUT_LANGUAGE_DART = 'Dart';
« no previous file with comments | « sdk/lib/_internal/compiler/implementation/colors.dart ('k') | sdk/lib/_internal/compiler/implementation/filenames.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698