|
@@ -21,7 +21,7 @@
|
|
#
|
|
#
|
|
# There is no hash provided, as the gn binary (used for configuration) relies
|
|
# There is no hash provided, as the gn binary (used for configuration) relies
|
|
# on the .git directories. As such, a reproducible tarball is not possible.
|
|
# on the .git directories. As such, a reproducible tarball is not possible.
|
|
-FLUTTER_ENGINE_VERSION = 3.19.5
|
|
|
|
|
|
+FLUTTER_ENGINE_VERSION = 3.24.0
|
|
|
|
|
|
# There is nothing for Buildroot to download. This is handled by gclient.
|
|
# There is nothing for Buildroot to download. This is handled by gclient.
|
|
FLUTTER_ENGINE_SITE =
|
|
FLUTTER_ENGINE_SITE =
|
|
@@ -67,7 +67,7 @@ FLUTTER_ENGINE_INSTALL_FILES = libflutter_engine.so
|
|
|
|
|
|
# Flutter engine includes a bundled patched clang that must be used for
|
|
# Flutter engine includes a bundled patched clang that must be used for
|
|
# compiling or else there are linking errors.
|
|
# compiling or else there are linking errors.
|
|
-FLUTTER_ENGINE_CLANG_PATH = $(@D)/buildtools/linux-x64/clang
|
|
|
|
|
|
+FLUTTER_ENGINE_CLANG_PATH = $(@D)/flutter/buildtools/linux-x64/clang
|
|
|
|
|
|
FLUTTER_ENGINE_CONF_OPTS = \
|
|
FLUTTER_ENGINE_CONF_OPTS = \
|
|
--clang \
|
|
--clang \
|
|
@@ -126,7 +126,7 @@ endif
|
|
|
|
|
|
ifeq ($(BR2_PACKAGE_HAS_LIBGLES),y)
|
|
ifeq ($(BR2_PACKAGE_HAS_LIBGLES),y)
|
|
FLUTTER_ENGINE_DEPENDENCIES += libgles
|
|
FLUTTER_ENGINE_DEPENDENCIES += libgles
|
|
-FLUTTER_ENGINE_CONF_OPTS += --enable-impeller-opengles
|
|
|
|
|
|
+FLUTTER_ENGINE_CONF_OPTS += --enable-impeller-3d
|
|
endif
|
|
endif
|
|
|
|
|
|
ifeq ($(BR2_PACKAGE_LIBGLFW),y)
|
|
ifeq ($(BR2_PACKAGE_LIBGLFW),y)
|
|
@@ -153,7 +153,7 @@ FLUTTER_ENGINE_DEPENDENCIES += libxcb
|
|
else
|
|
else
|
|
define FLUTTER_ENGINE_VULKAN_X11_SUPPORT_FIXUP
|
|
define FLUTTER_ENGINE_VULKAN_X11_SUPPORT_FIXUP
|
|
$(SED) "s%vulkan_use_x11.*%vulkan_use_x11 = false%g" -i \
|
|
$(SED) "s%vulkan_use_x11.*%vulkan_use_x11 = false%g" -i \
|
|
- $(@D)/build_overrides/vulkan_headers.gni
|
|
|
|
|
|
+ $(@D)/flutter/build_overrides/vulkan_headers.gni
|
|
|
|
|
|
$(SED) "s%ozone_platform_x11.*%ozone_platform_x11 = false%g" \
|
|
$(SED) "s%ozone_platform_x11.*%ozone_platform_x11 = false%g" \
|
|
$(@D)/build/config/BUILDCONFIG.gn
|
|
$(@D)/build/config/BUILDCONFIG.gn
|
|
@@ -166,7 +166,7 @@ FLUTTER_ENGINE_DEPENDENCIES += wayland
|
|
else
|
|
else
|
|
define FLUTTER_ENGINE_VULKAN_WAYLAND_SUPPORT_FIXUP
|
|
define FLUTTER_ENGINE_VULKAN_WAYLAND_SUPPORT_FIXUP
|
|
$(SED) "s%vulkan_use_wayland.*%vulkan_use_wayland = false%g" \
|
|
$(SED) "s%vulkan_use_wayland.*%vulkan_use_wayland = false%g" \
|
|
- $(@D)/build_overrides/vulkan_headers.gni
|
|
|
|
|
|
+ $(@D)/flutter/build_overrides/vulkan_headers.gni
|
|
|
|
|
|
$(SED) "s%ozone_platform_wayland.*%ozone_platform_wayland = false%g" \
|
|
$(SED) "s%ozone_platform_wayland.*%ozone_platform_wayland = false%g" \
|
|
$(@D)/build/config/BUILDCONFIG.gn
|
|
$(@D)/build/config/BUILDCONFIG.gn
|