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

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

Issue 2953703002: Tweak public APIs and use them in patch_sdk, dart2js, and kernel-service (Closed)
Patch Set: cl review updates: cleanup in kernel deserialization 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
« no previous file with comments | « pkg/kernel/lib/target/targets.dart ('k') | pkg/kernel/test/closures/suite.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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;
}
« no previous file with comments | « pkg/kernel/lib/target/targets.dart ('k') | pkg/kernel/test/closures/suite.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698