diff --git a/androidOS_files/builscript.sh b/androidOS_files/builscript.sh index 2f1d142..1770c35 100644 --- a/androidOS_files/builscript.sh +++ b/androidOS_files/builscript.sh @@ -76,17 +76,20 @@ cd ${WORKDIR}/ . build/envsetup.sh lunch anbox_x86_64-userdebug -export ANDROID_JACK_VM_ARGS="-Dfile.encoding=UTF-8 -XX:+TieredCompilation -Xmx2G" +# Disable JACK +sed -i -r 's/(ANDROID_COMPILE_WITH_JACK := )true/\1false/' ${WORKDIR}/build/core/combo/javac.mk + +#export ANDROID_JACK_VM_ARGS="-Dfile.encoding=UTF-8 -XX:+TieredCompilation -Xmx2G" # RUN THIS IN SEPARATE SHELL! # Jack server must be run during compilation process -while true; do - sleep 2 - if [ -f aosp/out/host/linux-x86/bin/jack-admin ]; then - aosp/out/host/linux-x86/bin/jack-admin start-server - break - fi -done +#while true; do +# sleep 2 +# if [ -f aosp/out/host/linux-x86/bin/jack-admin ]; then +# aosp/out/host/linux-x86/bin/jack-admin start-server +# break +# fi +#done LC_ALL=C make -j$(nproc --ignore 1)