summaryrefslogtreecommitdiffstats
path: root/test/056-const-string-jumbo/build
diff options
context:
space:
mode:
Diffstat (limited to 'test/056-const-string-jumbo/build')
-rw-r--r--test/056-const-string-jumbo/build9
1 files changed, 8 insertions, 1 deletions
diff --git a/test/056-const-string-jumbo/build b/test/056-const-string-jumbo/build
index c5e35db..98f27b8 100644
--- a/test/056-const-string-jumbo/build
+++ b/test/056-const-string-jumbo/build
@@ -44,4 +44,11 @@ ${JAVAC} -d classes src/*.java
dx -JXmx500m --debug --dex --no-optimize --positions=none --no-locals \
--dump-to=classes.lst --output=classes.dex classes
-zip test.jar classes.dex
+zip ${ANDROID_PRODUCT_OUT}/system/framework/test.jar classes.dex
+
+dex2oatd -Xms16m -Xmx16m \
+ --boot-dex-file=${ANDROID_PRODUCT_OUT}/system/framework/core.jar \
+ --boot=${ANDROID_PRODUCT_OUT}/system/framework/core.oat \
+ --dex-file=${ANDROID_PRODUCT_OUT}/system/framework/test.jar \
+ --image=${ANDROID_PRODUCT_OUT}/system/framework/test.oat \
+ --strip-prefix=${ANDROID_PRODUCT_OUT}