jack: Configure when running
This commit is contained in:
parent
2ff12a7aa0
commit
5828a775db
@ -4,6 +4,7 @@
|
|||||||
TERMUX_PKG_HOMEPAGE=http://tools.android.com/tech-docs/jackandjill
|
TERMUX_PKG_HOMEPAGE=http://tools.android.com/tech-docs/jackandjill
|
||||||
TERMUX_PKG_DESCRIPTION="Java Android Compiler Kit"
|
TERMUX_PKG_DESCRIPTION="Java Android Compiler Kit"
|
||||||
TERMUX_PKG_VERSION="1.1-mr2"
|
TERMUX_PKG_VERSION="1.1-mr2"
|
||||||
|
TERMUX_PKG_BUILD_REVISION=1
|
||||||
TERMUX_PKG_PLATFORM_INDEPENDENT=true
|
TERMUX_PKG_PLATFORM_INDEPENDENT=true
|
||||||
|
|
||||||
termux_step_make () {
|
termux_step_make () {
|
||||||
|
@ -4,7 +4,12 @@
|
|||||||
export ANDROID_DATA=@TERMUX_PREFIX@/var/android/
|
export ANDROID_DATA=@TERMUX_PREFIX@/var/android/
|
||||||
mkdir -p $ANDROID_DATA/dalvik-cache
|
mkdir -p $ANDROID_DATA/dalvik-cache
|
||||||
|
|
||||||
JACK_JAR=@TERMUX_PREFIX@/share/dex/jack.jar
|
LD_LIBRARY_PATH=/system/lib \
|
||||||
ANDROID_JAR=@TERMUX_PREFIX@/share/jack/android.jack
|
exec dalvikvm -Xmx256m \
|
||||||
|
-Djava.io.tmpdir=@TERMUX_PREFIX@/tmp \
|
||||||
dalvikvm -Xmx256m -cp $JACK_JAR com.android.jack.Main -cp $ANDROID_JAR $@
|
-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` \
|
||||||
|
$@
|
||||||
|
Loading…
Reference in New Issue
Block a user