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

Unified Diff: lib/src/compiler.dart

Issue 1633003002: Add --modules=node support (Closed) Base URL: git@github.com:dart-lang/dev_compiler.git@master
Patch Set: regen sdk and expectations Created 4 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: lib/src/compiler.dart
diff --git a/lib/src/compiler.dart b/lib/src/compiler.dart
index 61c568591624e3a99238c4a54937cf2f6f85bcf8..2ea6e389ed6c6e8dec853def84019b7bf8d818b6 100644
--- a/lib/src/compiler.dart
+++ b/lib/src/compiler.dart
@@ -513,12 +513,14 @@ const corelibOrder = const [
'dart._js_mirrors',
'dart.js',
'dart._metadata',
- 'dart.dom.html_common',
- 'dart.dom.html',
+ 'dart.html_common',
+ 'dart.html',
vsm 2016/01/26 14:09:40 These need to match the library names in html_ddc.
ochafik 2016/01/26 16:27:36 Done: added special casing for their module name (
'dart._debugger'
// _foreign_helper is not included, as it only defines the JS builtin that
// the compiler handles at compile time.
];
+final corelibUriOrder =
+ corelibOrder.map((lib) => lib.replaceAll('dart.', 'dart:')).toList();
/// Runtime files added to all applications when running the compiler in the
/// command line.

Powered by Google App Engine
This is Rietveld 408576698