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

Unified Diff: pkg/kernel/lib/target/vm.dart

Issue 2976543002: Reapply "Tweak public APIs and use them in patch_sdk, dart2js, and kernel-service."" (Closed)
Patch Set: fix Created 3 years, 5 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: pkg/kernel/lib/target/vm.dart
diff --git a/pkg/kernel/lib/target/vm.dart b/pkg/kernel/lib/target/vm.dart
index 2733d35a8d166a672e24aee9e85120a3422aa2f3..a108928d2f576cc56db31552fa045496b7d885df 100644
--- a/pkg/kernel/lib/target/vm.dart
+++ b/pkg/kernel/lib/target/vm.dart
@@ -269,4 +269,12 @@ class VmTarget extends Target {
new NamedExpression("growable", new BoolLiteral(false))
]));
}
+
+ // TODO(sigmund,ahe): limit this to `dart-ext` libraries only (see
+ // https://github.com/dart-lang/sdk/issues/29763).
+ @override
+ bool enableNative(Uri uri) => true;
+
+ @override
+ bool get nativeExtensionExpectsString => true;
}

Powered by Google App Engine
This is Rietveld 408576698