diff options
Diffstat (limited to 'test/056-const-string-jumbo/build')
-rw-r--r-- | test/056-const-string-jumbo/build | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/test/056-const-string-jumbo/build b/test/056-const-string-jumbo/build index ef286d1..ae42519 100644 --- a/test/056-const-string-jumbo/build +++ b/test/056-const-string-jumbo/build @@ -39,8 +39,13 @@ function writeFile(name, start, end) { printf("}\n") > fileName; }' -mkdir classes -${JAVAC} -d classes src/*.java +if [ ${USE_JACK} = "true" ]; then + ${JACK} --output-dex . src +else + mkdir classes + ${JAVAC} -d classes src/*.java + + ${DX} -JXmx500m --debug --dex --no-optimize --positions=none --no-locals --output=classes.dex classes +fi -${DX} -JXmx500m --debug --dex --no-optimize --positions=none --no-locals --output=classes.dex classes zip $TEST_NAME.jar classes.dex |