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

Unified Diff: frog/leg/compiler.dart

Issue 9418045: Support for native in leg, and start moving native tests to a specific test suite. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 8 years, 10 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 | « no previous file | frog/leg/elements/elements.dart » ('j') | frog/leg/emitter.dart » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: frog/leg/compiler.dart
===================================================================
--- frog/leg/compiler.dart (revision 4354)
+++ frog/leg/compiler.dart (working copy)
@@ -253,6 +253,11 @@
void runCompiler(Script script) {
scanBuiltinLibraries();
mainApp = new LibraryElement(script);
+ if (script.name.contains('dart/frog/tests/native/src')) {
ahe 2012/02/19 14:38:02 I like this.
Lasse Reichstein Nielsen 2012/02/20 07:33:56 I would prefer to have it only enabled by a flag (
ngeoffray 2012/02/20 17:00:02 As discussed, that's half-way intended :)
+ mainApp.define(new ForeignElement(
+ const SourceString('native'), mainApp), this);
+ }
+
Element element;
withCurrentElement(mainApp, () {
scanner.scan(currentElement);
« no previous file with comments | « no previous file | frog/leg/elements/elements.dart » ('j') | frog/leg/emitter.dart » ('J')

Powered by Google App Engine
This is Rietveld 408576698