[native_assets] Roll dependencies (#166282)

Updating the dart-lang/native dependencies to the ones published today.

No functional changes, but `CodeAsset` does not expose an `architecture`
and `os ` anymore (https://github.com/dart-lang/native/issues/2127).
Instead these should be taken from what is passed in for the
`CodeConfig`. This PR refactors the `DartBuildResult` to carry around
the `Target` with `CodeAsset`s as `FlutterCodeAsset`s.

(This PR avoid refactoring relevant code due to
https://github.com/flutter/flutter/pull/164094 already refactoring this
code.)
This commit is contained in:
Daco Harkes
2025-04-03 07:42:31 +02:00
committed by GitHub
parent b85c0fc2fe
commit dec31cbab6
12 changed files with 158 additions and 131 deletions

View File

@@ -8,8 +8,8 @@ environment:
dependencies:
logging: ^1.2.0
native_assets_cli: ^0.12.0
native_toolchain_c: ^0.9.0
native_assets_cli: ^0.13.0
native_toolchain_c: ^0.10.0
dev_dependencies:
ffi: ^2.1.3