Chromium Code Reviews| 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); |