flutter/packages/flutter_tools/test
Martin Kustermann 1636fbd4cb
Fix code asset copying logic in native asset code (#158984)
After the dart build is done, the flutter tool has to bundle the
produced shared libraries, which it does that by copying them around.

Though the code assumed that all code assets are shared libraries to be
bundled, whereas in fact one can have code assets without any actual
code (ones that are installed on the target system already or artificial
code assets whose symbols get resolved from executable / process).

=> Using non-bundled code assets currently results in null pointer
exceptions and/or cast errors.
=> We update the copy code to only operate on code assets that have a
shared library to bundle.

We also update the copy routines by removing copy&past'ed - but slightly
different - printing code into the shared caller function.
2024-11-15 16:23:23 +01:00
..
android_java11_integration.shard Reland "Update template/test compileSdk, targetSdk, ndk versions" (#153795) 2024-08-21 18:27:00 +00:00
android_preview_integration.shard Use Gradle KTS in new Android app projects by default (2nd try) (#157195) 2024-10-22 17:28:31 +00:00
commands.shard Move platform-specific log-reading implementation details from ResidentRunner/FlutterDevice to DeviceLogReader implementations (#156181) 2024-11-14 21:29:30 +00:00
data make asset_test.dart tests not dependent on context (#141331) 2024-01-11 18:08:07 +00:00
flutter_build_apk.shard Try with bringup: true debugging why flutter build apk often times out. (#158895) 2024-11-14 02:12:14 +00:00
general.shard Fix code asset copying logic in native asset code (#158984) 2024-11-15 16:23:23 +01:00
host_cross_arch.shard Test alternate correct macOS framework xcprivacy manifest location (#157318) 2024-10-22 19:41:14 +00:00
integration.shard Stop generate both .kts and non-.kts gradle files for a test project. (#158965) 2024-11-15 01:38:26 +00:00
src Move platform-specific log-reading implementation details from ResidentRunner/FlutterDevice to DeviceLogReader implementations (#156181) 2024-11-14 21:29:30 +00:00
web.shard Move explicit package dependencies to a feature flag (#158016) 2024-11-13 18:33:34 -08:00