build_script/build.sh

13 lines
266 B
Bash
Raw Normal View History

2022-06-13 08:59:30 +00:00
rom_fp="$(date +%Y%m%d).sophie"
2022-06-13 07:06:34 +00:00
2022-06-13 06:58:57 +00:00
cd /android
2022-06-13 08:56:09 +00:00
. build/envsetup.sh
2022-06-13 06:58:57 +00:00
lunch treble_arm64_bgN-userdebug
RELAX_USES_LIBRARY_CHECK=true
BUILD_NUMBER=$rom_fp
2022-06-13 08:59:30 +00:00
m installclean
m -j 16 systemimage
m vndk-test-sepolicy
2022-06-13 06:58:57 +00:00
xz -c -T16 $OUT/system.img > /android/system-$rom_fp.img.xz