From be05a5d77ac84baab17bdd8cb357eb697adf232d Mon Sep 17 00:00:00 2001 From: Natalie Weizenbaum Date: Fri, 15 Nov 2019 16:40:15 -0800 Subject: [PATCH] Use dart2native rather than dart2aot --- tool/grind/standalone.dart | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/tool/grind/standalone.dart b/tool/grind/standalone.dart index d6d3d068..cd10bead 100644 --- a/tool/grind/standalone.dart +++ b/tool/grind/standalone.dart @@ -27,10 +27,11 @@ void appSnapshot() => _appSnapshot(); @Task('Build a native-code Dart executable.') void nativeExecutable() { ensureBuild(); - run(p.join(sdkDir.path, 'bin/dart2aot'), arguments: [ + run(p.join(sdkDir.path, 'bin/dart2native'), arguments: [ + '--output-kind=aot', 'bin/sass.dart', '-Dversion=$version', - 'build/sass.dart.native' + '--output=build/sass.dart.native' ]); }