| 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 85cbe027324c46d48934480b00940ac58567560a..0c1778953e3d6f3ffdade76b456782e4d4c283e5 100644
|
| --- a/sdk/lib/_internal/compiler/implementation/compiler.dart
|
| +++ b/sdk/lib/_internal/compiler/implementation/compiler.dart
|
| @@ -488,13 +488,16 @@ 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'
|
| || libraryName == 'dart:web_audio') {
|
| - if (libraryName == 'dart:html' || libraryName == 'dart:mirrors') {
|
| + if (libraryName == 'dart:html' ||
|
| + libraryName == 'dart:html_common' ||
|
| + libraryName == 'dart:mirrors') {
|
| // dart:html needs access to convertDartClosureToJS.
|
| // dart:mirrors needs access to the Primitives class.
|
| importHelperLibrary(library);
|
|
|