2015-12-02 12:32:11 +01:00
|
|
|
#!/bin/sh
|
2015-06-13 01:03:31 +02:00
|
|
|
|
|
|
|
# There needs to be a folder at $ANDROID_DATA/dalvik-cache
|
|
|
|
export ANDROID_DATA=@TERMUX_PREFIX@/var/android/
|
|
|
|
mkdir -p $ANDROID_DATA/dalvik-cache
|
|
|
|
|
|
|
|
jarpath=@TERMUX_PREFIX@/share/dex/ecj.jar
|
|
|
|
# -proc:none to disable annotation processing/compiling
|
|
|
|
# -7 for java 1.7 compatibility
|
|
|
|
dalvikvm -Xmx256m -cp $jarpath org.eclipse.jdt.internal.compiler.batch.Main -proc:none -7 -cp @TERMUX_PREFIX@/share/java/android.jar $@
|