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

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

Issue 10536169: Move frog/tests/{leg,leg_only,frog_native} to tests/compiler/. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 8 years, 6 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
« no previous file with comments | « frog/tests/leg_only/while_test.dart ('k') | tests/compiler/dart2js/dart2js.status » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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);
}
}
« no previous file with comments | « frog/tests/leg_only/while_test.dart ('k') | tests/compiler/dart2js/dart2js.status » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698