Browse Source

package/flutter-sdk-bin: bump version to 3.24.0

As of https://github.com/flutter/engine/pull/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 <adam.duskett@amarulasolutions.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Adam Duskett 1 year ago
parent
commit
7f7a5f0374

+ 1 - 1
package/flutter-sdk-bin/flutter-sdk-bin.hash

@@ -1,3 +1,3 @@
 # Locally calculated
-sha256  6590607e7f2fb23bcc7e0a2d6aac292f9208cbf12a40862c281058c758604fb3  flutter_linux_3.19.5-stable.tar.xz
+sha256  d52a5d12f17d8bcf868d1ccc01fe0f7ffb05b53d9628aa21b07a18f9d33621f2  flutter_linux_3.24.0-stable.tar.xz
 sha256  a598db94b6290ffbe10b5ecf911057b6a943351c727fdda9e5f2891d68700a20  LICENSE

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

@@ -4,7 +4,7 @@
 #
 ################################################################################
 
-FLUTTER_SDK_BIN_VERSION = 3.19.5
+FLUTTER_SDK_BIN_VERSION = 3.24.0
 FLUTTER_SDK_BIN_SITE = https://storage.googleapis.com/flutter_infra_release/releases/stable/linux
 FLUTTER_SDK_BIN_SOURCE = flutter_linux_$(FLUTTER_SDK_BIN_VERSION)-stable.tar.xz
 FLUTTER_SDK_BIN_LICENSE = BSD-3-Clause
@@ -68,11 +68,11 @@ HOST_FLUTTER_SDK_BIN_SDK_VM_PROFILE = false
 endif
 
 # The Order matters.Taken from:
-# https://github.com/meta-flutter/meta-flutter/blob/kirkstone/classes/flutter-app.inc
+# https://github.com/meta-flutter/meta-flutter/blob/scarthgap/conf/include/common.inc
 HOST_FLUTTER_SDK_BIN_DART_ARGS = \
 	--verbose \
 	--disable-analytics \
-	--disable-dart-dev $(HOST_FLUTTER_SDK_BIN_SDK_ENGINE)/linux-x64/frontend_server.dart.snapshot \
+	--disable-dart-dev $(HOST_FLUTTER_SDK_BIN_SDK_ENGINE)/linux-x64/frontend_server_aot.dart.snapshot \
 	--sdk-root $(HOST_FLUTTER_SDK_BIN_SDK_ROOT) \
 	--target=flutter \
 	--no-print-incremental-dependencies \
@@ -85,7 +85,7 @@ HOST_FLUTTER_SDK_BIN_DART_ARGS = \
 	--target-os linux \
 	--packages .dart_tool/package_config.json \
 	--output-dill .dart_tool/flutter_build/*/app.dill \
-	--depfile .dart_tool/flutter_build/*/kernel_snapshot.d
+	--depfile .dart_tool/flutter_build/*/kernel_snapshot_program.d
 
 # Helper wrapper to run flutter when building flutter applications.
 HOST_FLUTTER_SDK_BIN_FLUTTER = \
@@ -95,7 +95,7 @@ HOST_FLUTTER_SDK_BIN_FLUTTER = \
 # Helper wrapper to run dart when building flutter applications.
 HOST_FLUTTER_SDK_BIN_DART_BIN = \
 	$(HOST_FLUTTER_SDK_BIN_ENV) \
-	$(HOST_FLUTTER_SDK_BIN_DART_SDK)/bin/dart \
+	$(HOST_FLUTTER_SDK_BIN_DART_SDK)/bin/dartaotruntime \
 	$(HOST_FLUTTER_SDK_BIN_DART_ARGS)
 
 $(eval $(host-generic-package))