build: Update flutter 3.29.2

Signed-off-by: Krille <c.kussowski@famedly.com>
This commit is contained in:
krille-chan 2025-03-03 18:03:11 +01:00 committed by Krille
commit bfd23952b7
No known key found for this signature in database
GPG key ID: E067ECD60F1A0652
10 changed files with 76 additions and 50 deletions

View file

@ -3,36 +3,37 @@
#
list(APPEND FLUTTER_PLUGIN_LIST
app_links
desktop_drop
dynamic_color
emoji_picker_flutter
file_selector_windows
flutter_secure_storage_windows
flutter_webrtc
geolocator_windows
pasteboard
permission_handler_windows
record_windows
share_plus
sqlcipher_flutter_libs
url_launcher_windows
window_to_front
app_links
desktop_drop
dynamic_color
emoji_picker_flutter
file_selector_windows
flutter_secure_storage_windows
flutter_webrtc
geolocator_windows
pasteboard
permission_handler_windows
record_windows
share_plus
sqlcipher_flutter_libs
url_launcher_windows
window_to_front
)
list(APPEND FLUTTER_FFI_PLUGIN_LIST
flutter_local_notifications_windows
)
set(PLUGIN_BUNDLED_LIBRARIES)
foreach(plugin ${FLUTTER_PLUGIN_LIST})
add_subdirectory(flutter/ephemeral/.plugin_symlinks/${plugin}/windows plugins/${plugin})
target_link_libraries(${BINARY_NAME} PRIVATE ${plugin}_plugin)
list(APPEND PLUGIN_BUNDLED_LIBRARIES $<TARGET_FILE:${plugin}_plugin>)
list(APPEND PLUGIN_BUNDLED_LIBRARIES ${${plugin}_bundled_libraries})
endforeach(plugin)
foreach (plugin ${FLUTTER_PLUGIN_LIST})
add_subdirectory(flutter/ephemeral/.plugin_symlinks/${plugin}/windows plugins/${plugin})
target_link_libraries(${BINARY_NAME} PRIVATE ${plugin}_plugin)
list(APPEND PLUGIN_BUNDLED_LIBRARIES $<TARGET_FILE:${plugin}_plugin>)
list(APPEND PLUGIN_BUNDLED_LIBRARIES ${${plugin}_bundled_libraries})
endforeach (plugin)
foreach(ffi_plugin ${FLUTTER_FFI_PLUGIN_LIST})
add_subdirectory(flutter/ephemeral/.plugin_symlinks/${ffi_plugin}/windows plugins/${ffi_plugin})
list(APPEND PLUGIN_BUNDLED_LIBRARIES ${${ffi_plugin}_bundled_libraries})
endforeach(ffi_plugin)
foreach (ffi_plugin ${FLUTTER_FFI_PLUGIN_LIST})
add_subdirectory(flutter/ephemeral/.plugin_symlinks/${ffi_plugin}/windows plugins/${ffi_plugin})
list(APPEND PLUGIN_BUNDLED_LIBRARIES ${${ffi_plugin}_bundled_libraries})
endforeach (ffi_plugin)