`cargo makepad android dyn-pack` stages the relocatable checkout, cross-builds host + engine from it through the ordinary Android build, proves every tile's on-device command against that target/, packs the APK with the phone toolchain, the checkout and target/ as streamed LZ4 tar parts, and rehearses the phone's first tile open from the packed APK; `dyn-rehearse` runs that last gate alone. This replaces the Python and shell pipeline that lived outside the tree. The stage directory is tool-owned, every cargo phase runs under one controlled environment recorded in the target's marker, rustc runs through cargo-makepad itself as the remapping wrapper, and the APK is renamed into place only after signing and the rehearsal. The host package names its engine and tiles in [package.metadata.makepad.dyn]. Only the three /system/bin/sh templates that run on the phone stay shell. libs/rmeta is the rustc metadata header reader apps/wm used, now shared with cargo-makepad; libs/tar gains a streaming ustar writer with GNU long names; the zip writer streams to any sink so a 900 MB APK never sits in memory. Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
7 lines
227 B
TOML
7 lines
227 B
TOML
[package]
|
|
name = "makepad-rmeta"
|
|
version = "0.1.0"
|
|
edition = "2021"
|
|
description = "rustc crate-metadata (rmeta) header reader and SVH patcher: what the Android super-app's packer records and the phone rewrites"
|
|
|
|
[dependencies]
|