Switch the web compilation step to use an AOT snapshot (flutter/engine#56040)
Switch the Dart Development Compiler compilation step to use the dartdevc AOT snapshot.
This commit is contained in:
@@ -125,11 +125,12 @@ template("_dartdevc") {
|
||||
if (is_win) {
|
||||
ext = ".exe"
|
||||
}
|
||||
dart = rebase_path("$host_prebuilt_dart_sdk/bin/dart$ext", root_out_dir)
|
||||
dartaot = rebase_path("$host_prebuilt_dart_sdk/bin/dartaotruntime$ext",
|
||||
root_out_dir)
|
||||
dartdevc = rebase_path(
|
||||
"$host_prebuilt_dart_sdk/bin/snapshots/dartdevc.dart.snapshot")
|
||||
"$host_prebuilt_dart_sdk/bin/snapshots/dartdevc_aot.dart.snapshot")
|
||||
args = [
|
||||
dart,
|
||||
dartaot,
|
||||
dartdevc,
|
||||
] + invoker.args
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user