Index: sdk/lib/_internal/compiler/implementation/compiler.dart |
diff --git a/sdk/lib/_internal/compiler/implementation/compiler.dart b/sdk/lib/_internal/compiler/implementation/compiler.dart |
index e4168043e997239604dbdbb60437fd584ee8c811..9376efafb98008a45b5fc1db9be45c76d211d98b 100644 |
--- a/sdk/lib/_internal/compiler/implementation/compiler.dart |
+++ b/sdk/lib/_internal/compiler/implementation/compiler.dart |
@@ -490,12 +490,15 @@ abstract class Compiler implements DiagnosticListener { |
String libraryName = library.uri.toString(); |
if (library.entryCompilationUnit.script.name.contains( |
'dart/tests/compiler/dart2js_native') |
+ || libraryName == 'dart:html_common' |
|| libraryName == 'dart:mirrors' |
|| libraryName == 'dart:isolate' |
|| libraryName == 'dart:math' |
|| libraryName == 'dart:html' |
|| libraryName == 'dart:svg') { |
- if (libraryName == 'dart:html' || libraryName == 'dart:mirrors') { |
+ if (libraryName == 'dart:html' |
+ || libraryName == 'dart:mirrors' |
+ || libraryName == 'dart:html_common') { |
sra1
2012/11/21 05:54:33
Coding style is to put || at the end of the previo
blois
2012/11/26 18:10:34
Done.
|
// dart:html needs access to convertDartClosureToJS. |
// dart:mirrors needs access to the Primitives class. |
importHelperLibrary(library); |