Use AOT snapshot of kernel_worker (#165103)
Use AOT snapshot of kernel_worker
This commit is contained in:
@@ -176,12 +176,13 @@ template("_kernel_worker") {
|
||||
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)
|
||||
kernel_worker = rebase_path(
|
||||
"$host_prebuilt_dart_sdk/bin/snapshots/kernel_worker.dart.snapshot")
|
||||
"$host_prebuilt_dart_sdk/bin/snapshots/kernel_worker_aot.dart.snapshot")
|
||||
|
||||
args = [
|
||||
dart,
|
||||
dartaot,
|
||||
kernel_worker,
|
||||
] + invoker.args
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user