Skip to content

Commit

Permalink
Switch the web compilation step to use an AOT snapshot (#56040)
Browse files Browse the repository at this point in the history
Switch the Dart Development Compiler compilation step to use the
dartdevc AOT snapshot.
  • Loading branch information
a-siva authored Oct 23, 2024
1 parent 73c54fa commit 838250e
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions web_sdk/BUILD.gn
Original file line number Diff line number Diff line change
Expand Up @@ -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
}
Expand Down

0 comments on commit 838250e

Please sign in to comment.