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

Unified Diff: lib/compiler/implementation/native_handler.dart

Issue 10250002: test rename overhaul: step 5 - frog and leg tests (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 8 years, 8 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/compiler/implementation/native_handler.dart
diff --git a/lib/compiler/implementation/native_handler.dart b/lib/compiler/implementation/native_handler.dart
index 15b02e21fe6f58f88e2126520cc20b67673f55ee..6c650b2fa7dc06488d4ca4dd222f0a002ed29eb6 100644
--- a/lib/compiler/implementation/native_handler.dart
+++ b/lib/compiler/implementation/native_handler.dart
@@ -74,7 +74,7 @@ void maybeEnableNative(Compiler compiler,
LibraryElement library,
Uri uri) {
String libraryName = uri.toString();
- if (library.script.name.contains('dart/frog/tests/native/src')
+ if (library.script.name.contains('dart/frog/tests/frog_native')
|| libraryName == 'dart:dom'
|| libraryName == 'dart:isolate'
|| libraryName == 'dart:html') {
@@ -84,7 +84,7 @@ void maybeEnableNative(Compiler compiler,
}
// Additionaly, if this is a test, we allow access to foreign functions.
- if (library.script.name.contains('dart/frog/tests/native/src')) {
+ if (library.script.name.contains('dart/frog/tests/frog_native')) {
library.define(compiler.findHelper(const SourceString('JS')), compiler);
}
}

Powered by Google App Engine
This is Rietveld 408576698