aboutsummaryrefslogtreecommitdiffstats
path: root/java/Android.mk
diff options
context:
space:
mode:
authorAlan Viverette <alanv@google.com>2017-04-26 16:13:45 -0400
committerAlan Viverette <alanv@google.com>2017-04-26 16:13:45 -0400
commit0f6f5c017629befcc4b8d9f1111e18d3505bfac1 (patch)
treed29f7532042393095473188e2889f0ca49c50fc5 /java/Android.mk
parent0a472ed0df874541c5037bca2eae7368f71705a8 (diff)
downloadlatinime-0f6f5c017629befcc4b8d9f1111e18d3505bfac1.tar.gz
latinime-0f6f5c017629befcc4b8d9f1111e18d3505bfac1.tar.xz
latinime-0f6f5c017629befcc4b8d9f1111e18d3505bfac1.zip
Use AAPT2
Test: make checkbuild Change-Id: I8478dd61a2edf8f87437276025ed57092c1b047c
Diffstat (limited to 'java/Android.mk')
-rw-r--r--java/Android.mk7
1 files changed, 6 insertions, 1 deletions
diff --git a/java/Android.mk b/java/Android.mk
index b84b3471e..154f3a20c 100644
--- a/java/Android.mk
+++ b/java/Android.mk
@@ -26,7 +26,12 @@ LOCAL_CERTIFICATE := shared
LOCAL_JNI_SHARED_LIBRARIES := libjni_latinime
LOCAL_STATIC_JAVA_LIBRARIES := \
- android-common inputmethod-common android-support-v4 jsr305 latinime-common
+ android-common inputmethod-common jsr305 latinime-common
+
+LOCAL_STATIC_ANDROID_LIBRARIES := \
+ android-support-v4
+
+LOCAL_USE_AAPT2 := true
# Do not compress dictionary files to mmap dict data runtime
LOCAL_AAPT_FLAGS := -0 .dict