fix(venus): APK builds ship the Mali compatibility layer built from the tree

This commit is contained in:
The412Banner committed 2026-11-30 17:56:27 +00:00
1 parent 54ca518553
commit e2eb22a8d2
7 files changed
+180 -28

No files matched your search

+5 -2
View File
@@ -78,7 +78,8 @@ What is left on the present thread (~12 ms):
## Repository entrypoints
- `tools/venus/ci-build.sh`: guest ICD, compatibility layer and Android server build.
- `tools/venus/ci-build.sh`: guest ICD and Android server build.
- `tools/venus/build-layer.sh`: compatibility layer build, run by every APK build.
- `tools/venus/release.env`: Venus component pin consumed by APK builds.
- `.github/workflows/build-venus.yml`: Venus component artifact workflow.
- `tools/gamescope/build-in-arch.sh`: patched gamescope build.
@@ -177,7 +178,9 @@ When it is active:
- It logs one line per device: `droiddeck-mali-compat: emulating …`.
How it ships:
- `build-apk.sh` copies `layer/` into the APK's `assets/linuxfs/usr/local/…`.
- Every APK build compiles `layer/` with `tools/venus/build-layer.sh` into `assets/linuxfs/usr/local/…`
(CI's components job and `tools/build_local.sh`). `ci-build.sh` no longer packs it, and the copy in
older `venus.tzst` bundles is not extracted, so a merged layer change ships without a new bundle.
- `SessionFiles.kt` stages both files into the guest at every session start (its `optional` list).
- Guest paths: `usr/local/lib/droiddeck-mali/` and `usr/local/share/vulkan/implicit_layer.d/`.