Skip to content

Commit 886fc8b

Browse files
committed
Use AOT snapshot of kernel_worker
1 parent ee65f5c commit 886fc8b

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

test_common/lib/sdk_asset_generator.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -212,7 +212,7 @@ class SdkAssetGenerator {
212212
];
213213

214214
_logger.fine('Executing dart ${args.join(' ')}');
215-
final process = await Process.start(sdkLayout.dartPath, args,
215+
final process = await Process.start(sdkLayout.dartAotRuntimePath, args,
216216
workingDirectory: sdkLayout.sdkDirectory);
217217

218218
final output = <String>[];

test_common/lib/test_sdk_layout.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,7 @@ class TestSdkLayout {
108108
sdkLayout.sdkDirectory,
109109
'bin',
110110
'snapshots',
111-
'kernel_worker.dart.snapshot',
111+
'kernel_worker_aot.dart.snapshot',
112112
),
113113
devToolsDirectory: p.join(
114114
sdkLayout.sdkDirectory,

0 commit comments

Comments
 (0)