build_script/build.sh
2022-06-13 14:06:34 +07:00

12 lines
255 B
Bash
Executable File

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