Index: lib/compiler/implementation/native_handler.dart |
=================================================================== |
--- lib/compiler/implementation/native_handler.dart (revision 8644) |
+++ lib/compiler/implementation/native_handler.dart (working copy) |
@@ -76,7 +76,7 @@ |
LibraryElement library, |
Uri uri) { |
String libraryName = uri.toString(); |
- if (library.script.name.contains('dart/frog/tests/frog_native') |
+ if (library.script.name.contains('dart/tests/compiler/dart2js_native') |
|| libraryName == 'dart:dom_deprecated' |
|| libraryName == 'dart:isolate' |
|| libraryName == 'dart:html') { |
@@ -89,7 +89,7 @@ |
} |
// Additionaly, if this is a test, we allow access to foreign functions. |
- if (library.script.name.contains('dart/frog/tests/frog_native')) { |
+ if (library.script.name.contains('dart/tests/compiler/dart2js_native')) { |
library.define(compiler.findHelper(const SourceString('JS')), compiler); |
} |
} |