Chromium Code Reviews| 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 1de80f07f742a4ee91d05cf2849b3efa9db58655..1f4eb4fadc5962351a068990d5b722703a49beb9 100644 |
| --- a/sdk/lib/_internal/compiler/implementation/compiler.dart |
| +++ b/sdk/lib/_internal/compiler/implementation/compiler.dart |
| @@ -534,19 +534,18 @@ abstract class Compiler implements DiagnosticListener { |
| bool nativeTest = library.entryCompilationUnit.script.name.contains( |
| 'dart/tests/compiler/dart2js_native'); |
| if (nativeTest |
| - || libraryName == 'dart:mirrors' |
| || libraryName == 'dart:math' |
| || libraryName == 'dart:html' |
| || libraryName == 'dart:html_common' |
| || libraryName == 'dart:indexed_db' |
| || libraryName == 'dart:svg' |
| - || libraryName == 'dart:web_audio') { |
| + || libraryName == 'dart:web_audio' |
| + || libraryName == 'dart:mirrors') { |
|
ahe
2012/12/19 10:37:57
Perhaps you shouldn't move this line.
|
| if (nativeTest |
| || libraryName == 'dart:html' |
| || libraryName == 'dart:html_common' |
| || libraryName == 'dart:indexed_db' |
| - || libraryName == 'dart:svg' |
| - || libraryName == 'dart:mirrors') { |
| + || libraryName == 'dart:svg') { |
| // dart:html and dart:svg need access to convertDartClosureToJS and |
| // annotation classes. |
| // dart:mirrors needs access to the Primitives class. |