| Index: pkg/compiler/lib/src/native/native.dart
|
| diff --git a/pkg/compiler/lib/src/native/native.dart b/pkg/compiler/lib/src/native/native.dart
|
| index c0d6a869e811c76fd3d171a1a3e351241887aa0f..2c30a27a5461f474dd8d8bd8393f24f8081ecd64 100644
|
| --- a/pkg/compiler/lib/src/native/native.dart
|
| +++ b/pkg/compiler/lib/src/native/native.dart
|
| @@ -33,6 +33,7 @@ bool maybeEnableNative(Compiler compiler, LibraryElement library) {
|
| return scriptName.contains('sdk/tests/compiler/dart2js_native') ||
|
| scriptName.contains('sdk/tests/compiler/dart2js_extra');
|
| }
|
| +
|
| bool allowedDartLibary() {
|
| Uri uri = library.canonicalUri;
|
| if (uri.scheme != 'dart') return false;
|
|
|