Skip to content

Commit

Permalink
switch to using the flutter sdk dill file from the new location
Browse files Browse the repository at this point in the history
  • Loading branch information
devoncarew committed Nov 17, 2023
1 parent a882404 commit 953d479
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -150,12 +150,12 @@
"vector_math": "2.1.4",
"video_player": "2.8.1",
"video_player_android": "2.4.10",
"video_player_avfoundation": "2.5.1",
"video_player_avfoundation": "2.5.2",
"video_player_platform_interface": "6.2.1",
"video_player_web": "2.1.2",
"vm_service": "13.0.0",
"watcher": "1.1.0",
"web": "0.3.0",
"web": "0.4.0",
"web_socket_channel": "2.4.0",
"webkit_inspection_protocol": "1.2.1",
"win32": "5.1.0",
Expand Down
8 changes: 4 additions & 4 deletions pkgs/dart_services/tool/grind.dart
Original file line number Diff line number Diff line change
Expand Up @@ -185,21 +185,21 @@ Future<String> _buildStorageArtifacts(Directory dir, Sdk sdk,
}

// Make sure
// flutter-sdks/<channel>/bin/cache/flutter_web_sdk/kernel/flutter_ddc_sdk.dill
// is installed.
// <flutter-sdk>/bin/cache/flutter_web_sdk/kernel/ddc_outline_sound.dill is
// installed.
await _run(
sdk.flutterToolPath,
arguments: ['precache', '--web'],
workingDirectory: dir.path,
);

// Build the artifacts using DDC:
// dart-sdk/bin/dartdevc -s kernel/flutter_ddc_sdk.dill
// dart-sdk/bin/dartdevc -s kernel/ddc_outline_sound.dill
// --modules=amd package:flutter/animation.dart ...
final compilerPath = path.join(sdk.dartSdkPath, 'bin', 'dart');
final dillPath = path.join(
sdk.flutterWebSdkPath,
'flutter_ddc_sdk_sound.dill',
'ddc_outline_sound.dill',
);

final arguments = <String>[
Expand Down

0 comments on commit 953d479

Please sign in to comment.