build_script/build.sh
2022-06-13 15:59:30 +07:00

13 lines
266 B
Bash
Executable File

rom_fp="$(date +%Y%m%d).sophie"
cd /android
. build/envsetup.sh
lunch treble_arm64_bgN-userdebug
RELAX_USES_LIBRARY_CHECK=true
BUILD_NUMBER=$rom_fp
m installclean
m -j 16 systemimage
m vndk-test-sepolicy
xz -c -T16 $OUT/system.img > /android/system-$rom_fp.img.xz