Skip to content

Commit 7f7a5f0

Browse files
Adam Dusketttpetazzoni
authored andcommitted
package/flutter-sdk-bin: bump version to 3.24.0
As of flutter/engine#51943, by default, flutter now uses and provides the AOT snapshot frontend server instead of the frontend_server.dart.snapshot. The depfile produced by dart has been renamed from kernel_snapshot.d to kernel_snapshot_program.d. Flutter programs must compile with the dartaotruntime binary instead of the dart binary, or else errors occure stating that the dartaotruntime must be used. Signed-off-by: Adam Duskett <[email protected]> Signed-off-by: Thomas Petazzoni <[email protected]>
1 parent 7c21eee commit 7f7a5f0

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
# Locally calculated
2-
sha256 6590607e7f2fb23bcc7e0a2d6aac292f9208cbf12a40862c281058c758604fb3 flutter_linux_3.19.5-stable.tar.xz
2+
sha256 d52a5d12f17d8bcf868d1ccc01fe0f7ffb05b53d9628aa21b07a18f9d33621f2 flutter_linux_3.24.0-stable.tar.xz
33
sha256 a598db94b6290ffbe10b5ecf911057b6a943351c727fdda9e5f2891d68700a20 LICENSE

package/flutter-sdk-bin/flutter-sdk-bin.mk

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
#
55
################################################################################
66

7-
FLUTTER_SDK_BIN_VERSION = 3.19.5
7+
FLUTTER_SDK_BIN_VERSION = 3.24.0
88
FLUTTER_SDK_BIN_SITE = https://storage.googleapis.com/flutter_infra_release/releases/stable/linux
99
FLUTTER_SDK_BIN_SOURCE = flutter_linux_$(FLUTTER_SDK_BIN_VERSION)-stable.tar.xz
1010
FLUTTER_SDK_BIN_LICENSE = BSD-3-Clause
@@ -68,11 +68,11 @@ HOST_FLUTTER_SDK_BIN_SDK_VM_PROFILE = false
6868
endif
6969

7070
# The Order matters.Taken from:
71-
# https://github.com/meta-flutter/meta-flutter/blob/kirkstone/classes/flutter-app.inc
71+
# https://github.com/meta-flutter/meta-flutter/blob/scarthgap/conf/include/common.inc
7272
HOST_FLUTTER_SDK_BIN_DART_ARGS = \
7373
--verbose \
7474
--disable-analytics \
75-
--disable-dart-dev $(HOST_FLUTTER_SDK_BIN_SDK_ENGINE)/linux-x64/frontend_server.dart.snapshot \
75+
--disable-dart-dev $(HOST_FLUTTER_SDK_BIN_SDK_ENGINE)/linux-x64/frontend_server_aot.dart.snapshot \
7676
--sdk-root $(HOST_FLUTTER_SDK_BIN_SDK_ROOT) \
7777
--target=flutter \
7878
--no-print-incremental-dependencies \
@@ -85,7 +85,7 @@ HOST_FLUTTER_SDK_BIN_DART_ARGS = \
8585
--target-os linux \
8686
--packages .dart_tool/package_config.json \
8787
--output-dill .dart_tool/flutter_build/*/app.dill \
88-
--depfile .dart_tool/flutter_build/*/kernel_snapshot.d
88+
--depfile .dart_tool/flutter_build/*/kernel_snapshot_program.d
8989

9090
# Helper wrapper to run flutter when building flutter applications.
9191
HOST_FLUTTER_SDK_BIN_FLUTTER = \
@@ -95,7 +95,7 @@ HOST_FLUTTER_SDK_BIN_FLUTTER = \
9595
# Helper wrapper to run dart when building flutter applications.
9696
HOST_FLUTTER_SDK_BIN_DART_BIN = \
9797
$(HOST_FLUTTER_SDK_BIN_ENV) \
98-
$(HOST_FLUTTER_SDK_BIN_DART_SDK)/bin/dart \
98+
$(HOST_FLUTTER_SDK_BIN_DART_SDK)/bin/dartaotruntime \
9999
$(HOST_FLUTTER_SDK_BIN_DART_ARGS)
100100

101101
$(eval $(host-generic-package))

0 commit comments

Comments
 (0)