aot_build library

Functions

buildSlintAot(BuildInput input, BuildOutputBuilder output) Future<void>
App build hook: AOT-compiles every ui/**.slint of the package into one staticlib — slint-build codegen plus generated C ABI glue, no slint-interpreter — and routes it to the app's link hook (ToLinkHook), which links the final dylib keeping only the components the app uses (see aot_link.dart). One code asset per .slint file, with id package:<app>/<path>.aot.g.dart matching the wrappers the slint_compiler builder generates.
nativeStaticLibsNote(String cargoOutput) List<String>?
The flag list from rustc's native-static-libs: note in cargoOutput, or null when the note is absent. Quoted segments ("...", '...', with \ escapes) stay one flag, so SDK paths containing spaces survive the round trip through _persistedNativeLinkFlags.
splitLinkFlags(String line) List<String>
Splits a linker flag line on whitespace, keeping quoted segments whole: "..." and '...' may contain spaces, a backslash escapes the next character. The surrounding quotes are stripped; an unterminated quote runs to the end of the line rather than dropping the flag.