flutter/packages/flutter_tools/templates
Daco Harkes 27ba2f2790
[native assets] Roll dependencies (#160672)
This PR rolls in a number of breaking changes from dart-lang/native:

* `BuildMode` is no longer part of the protocol, so Flutter no longer
passes it in.
* This means all code dealing with the name conflict between
`native_assets_cli.BuildMode` and `flutter_tools.BuildMode` has been
cleaned up.
  * Also, the logs no longer mention the build mode.
* The tests still exercise both modes, because linking only happens in
release mode.
* `OS` is no longer part of the main protocol, but of the "code"
"protocol extension".
* The code now aligns more with `OS?` being nullable in a bunch of
places, since it is nullable if there's no code assets.
* The OS-specific config is nested in an object per OS.
* `CCompilerConfig`s fields are non-nullable now.
* So instead of passing an object with nullable fields around, a null
instead of the object is returned in various places.
* `FileSystem` is now passed in to the native assets builder.

This PR contains no feature changes.

This PR will need to be followed up by restricting what environment
variables are passed in (similar to
https://github.com/dart-lang/native/pull/1764), I will do this in a
follow up PR.

Tests:

* All existing features should be covered by existing tests.
2025-01-02 19:26:02 +00:00
..
app Remove --template=skeleton and add a placeholder error message instead. (#160695) 2024-12-24 00:02:29 +00:00
app_integration_test/integration_test Switch to more reliable flutter.dev link destinations in the tool (#150587) 2024-06-26 23:30:39 +00:00
app_test_widget/test
cocoapods Remove use_modular_headers! from Swift Podfiles (#156257) 2024-11-04 20:32:34 +00:00
module Fix regression to hardcoded AGP/Kotlin values in Android module templates (#160108) 2024-12-16 19:59:00 +00:00
package update flutter create generated projects to use package:flutter_lints 5.0.0 (#156011) 2024-10-02 08:36:40 -07:00
package_ffi [native assets] Roll dependencies (#160672) 2025-01-02 19:26:02 +00:00
plugin Remove unused import from kt plugin template (#157220) 2024-10-29 15:42:20 +00:00
plugin_cocoapods Add PrivacyInfo.xcprivacy to macOS plugin template (#155570) 2024-09-25 05:30:53 +00:00
plugin_ffi Update Android plugin templates for newer AGP (#156533) 2024-10-10 17:18:50 +00:00
plugin_shared feat: Include web 1.x.x in plugin template (#156947) 2024-11-14 21:48:12 +00:00
plugin_swift_package_manager Add PrivacyInfo.xcprivacy to macOS plugin template (#155570) 2024-09-25 05:30:53 +00:00
widget_preview_scaffold Add flutter widget-preview {start, clean} commands (#159510) 2024-12-04 21:51:08 +00:00
xcode/ios/custom_application_bundle [flutter_tools] opt iOS/macOS apps out of Metal API validation via migrator, update templates in repo. (#159228) 2024-11-21 01:36:55 +00:00
template_manifest.json Remove --template=skeleton and add a placeholder error message instead. (#160695) 2024-12-24 00:02:29 +00:00