flutter/packages/flutter_tools/test/integration.shard/isolated
Martin Kustermann 3a83e43ede
Make flutter_tools use newest package:{native_assets_builder,native_assets_cli,native_toolchain_c} (#158214)
Almost all of the code is just adopting to changes to the APIs of
`package:native_assets_builder`, `package:native_assets_cli` and
`package:native_toolchain_c`

There's only two semantic changes

* Removes a test that checks for a verification error if a build hook
produces a static library if the preferred linking mode is dynamic:
=> The test is written in a very hacky way. By monkey patching the build
config.json that flutter build actually made. This monkey patching
relies on package:cli_config which is now no longer used.
=> The actual code that checks for this mismatch lives in
dart-lang/native repository and is tested there. So there's really no
need to duplicate that.

* The `package:native_assets_builder` no longer knows about code assets.
This is something a user of that package (e.g. flutter tools) adds. Now
the dry-run functionality will invoke build hooks who produce code
assets without an architecture.
=> The `package:native_assets_builder` used to expand such a code asset
to N different code assets (one for each supported architecture)
=> This logic was now moved to flutter tools. => In the near future
we're going to this dry-run complexity, which will then also get rid of
this uglyness (of expanding to all archs of an OS).
2024-11-06 14:12:34 +01:00
..
native_assets_agp_version_test.dart Use Gradle KTS in new Android app projects by default (2nd try) (#157195) 2024-10-22 17:28:31 +00:00
native_assets_test_utils.dart Make native asset integration test more robust, thereby allowing smooth auto-update of packages via flutter update-packages (#158170) 2024-11-05 16:08:34 +01:00
native_assets_test.dart Make flutter_tools use newest package:{native_assets_builder,native_assets_cli,native_toolchain_c} (#158214) 2024-11-06 14:12:34 +01:00
native_assets_without_cbuild_assemble_test.dart Extract and restore a test that a blank native assets project still builds (#158141) 2024-11-05 01:39:25 +00:00