KernelSU module that turns any rooted phone into a native Android compiler. Includes aapt2/aapt/aidl/zipalign/dexdump (API 35 static arm64), BusyBox, platform-tools. Hooks into Termux for Java/Kotlin/ Python/Gradle. bc-build compiles Java/Kotlin to APK or runs Gradle projects. bc-sign handles debug/release signing. WebUI dashboard on port 8089. Auto-links tools into system PATH and Termux PATH.
20 lines
326 B
Bash
Executable File
20 lines
326 B
Bash
Executable File
#!/bin/bash
|
|
set -e
|
|
cd "$(dirname "$0")"
|
|
|
|
ZIP="BuildChain-v1.0.0.zip"
|
|
rm -f "$ZIP"
|
|
|
|
zip -r9 "$ZIP" \
|
|
module.prop \
|
|
customize.sh \
|
|
post-fs-data.sh \
|
|
service.sh \
|
|
uninstall.sh \
|
|
tools/ \
|
|
scripts/ \
|
|
webroot/ \
|
|
-x "*.git*" "build.sh" "sepolicy/*"
|
|
|
|
echo "Built: $ZIP ($(du -h "$ZIP" | cut -f1))"
|