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:
Siva
2024-10-23 13:18:11 -07:00
committed by GitHub
parent 7f5c576e6f
commit 4595712f73

View File

@@ -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
}