|
|
@ -4,7 +4,12 @@ |
|
|
|
export ANDROID_DATA=@TERMUX_PREFIX@/var/android/ |
|
|
|
mkdir -p $ANDROID_DATA/dalvik-cache |
|
|
|
|
|
|
|
JACK_JAR=@TERMUX_PREFIX@/share/dex/jack.jar |
|
|
|
ANDROID_JAR=@TERMUX_PREFIX@/share/jack/android.jack |
|
|
|
|
|
|
|
dalvikvm -Xmx256m -cp $JACK_JAR com.android.jack.Main -cp $ANDROID_JAR $@ |
|
|
|
LD_LIBRARY_PATH=/system/lib \ |
|
|
|
exec dalvikvm -Xmx256m \ |
|
|
|
-Djava.io.tmpdir=@TERMUX_PREFIX@/tmp \ |
|
|
|
-cp @TERMUX_PREFIX@/share/dex/jack.jar com.android.jack.Main \ |
|
|
|
-cp @TERMUX_PREFIX@/share/jack/android.jack \ |
|
|
|
-D jack.library.digest.algo=MD5 -D sched.vfs.case-insensitive.algo=MD5 \ |
|
|
|
-D jack.annotation-processor=off \ |
|
|
|
--output-dex=`pwd` \ |
|
|
|
$@ |
|
|
|