Use dart2native rather than dart2aot

This commit is contained in:
Natalie Weizenbaum 2019-11-15 16:40:15 -08:00
parent 3ab40b0d6a
commit be05a5d77a

View File

@ -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'
]);
}