$ the-wire · showcase
Flutter fixes macOS dylib test runs, web content-hash deletions
By RepoJournal · Filed · About Mobile platforms · Composed from the cited sources · methodology
Flutter shipped three tooling fixes that each unblock a run that used to fail outright: macOS dylibs in flutter test, index.html deletions on --web-content-hash transitions, and Android library plugin configuration.
[native_assets] Keep a dylib's install name in flutter test when its path does not fit flutter/flutter
On macOS, flutter test sets each code asset's install name to an absolute path under build/native_assets/macos/, and a prebuilt dylib linked without -headerpad_max_install_names has no room for it, so install_name_tool fails and the whole run exits. The tester now falls back only when install_name_tool reports the larger load commands do not fit, leaving assets built by the hook's own CBuilder ...
[flutter_tools] Preserve index.html across --web-content-hash transitions (#196491) flutter/flutter
Templated index.html outputs are now registered in the build graph, with symlinked and relative output paths canonicalized, so switching off --web-content-hash no longer deletes a freshly generated index.html. This replaces the literal {PROJECT_DIR}/web/*/index.html and {OUTPUT_DIR}/*/index.html patterns the SourceVisitor previously expanded.
[flutter_tools] Do not copy app-only build type properties onto library plugins (#196692) flutter/flutter
Since Flutter 3.50, an app with a plugin failed to configure even in debug mode whenever a build type set something a library module cannot have: applicationIdSuffix on profile, isShrinkResources on a custom build type, or a buildConfigField or resValue. Those app-only properties are no longer copied onto library plugins.
Fix TextStyle background color fade-out when lerping to null (#196153) flutter/flutter
TextStyle.lerp(redStyle, null, t) faded a background color in rather than out, because the b == null branch called Color.lerp(null, a.backgroundColor, t). The endpoints are reversed to match the adjacent color and decorationColor fields, with a regression test added.
[cxx-rev-interop] Fix out-of-bounds accesses in pass/return direct apple/swift
Swift's generated pass/return direct stubs copied the full register-sized chunk rather than only the bytes belonging to the value, so a 6-byte struct passed in an i64 read 8 bytes and went out of bounds. The stubs now copy at most the size of the type; anyone mixing Swift and C++ should note it alongside the Kotlin and Flutter long tail below.
[Wasm, JS] prohibit @JsQualifier on non-toplevel and non-external declarations KT-90277 JetBrains/kotlin
Elsewhere: Kotlin's compiler rejects @JsQualifier on non-toplevel and non-external declarations for Wasm and JS targets, and its K/N degrade tool drops deprecated Gradle APIs, checked against Gradle 6.8.3.