Skip to content

Commit d2e65fa

Browse files
committed
Use 'compile js-dev'
1 parent 9609d09 commit d2e65fa

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

test_common/lib/sdk_asset_generator.dart

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,8 @@ class SdkAssetGenerator {
112112

113113
final sdkDirectoryUri = fileSystem.directory(sdkLayout.sdkDirectory).uri;
114114
final args = <String>[
115-
sdkLayout.dartdevcSnapshotPath,
115+
'compile',
116+
'js-dev',
116117
'--compile-sdk',
117118
'--multi-root',
118119
'$sdkDirectoryUri',
@@ -131,7 +132,7 @@ class SdkAssetGenerator {
131132

132133
final output = <String>[];
133134
_logger.fine('Executing dart ${args.join(' ')}');
134-
final process = await Process.start(sdkLayout.dartAotRuntimePath, args,
135+
final process = await Process.start(sdkLayout.dartPath, args,
135136
workingDirectory: sdkLayout.sdkDirectory);
136137

137138
process.stdout

0 commit comments

Comments
 (0)