summaryrefslogtreecommitdiff
path: root/Android.mk
diff options
context:
space:
mode:
authorTreeHugger Robot <treehugger-gerrit@google.com>2017-05-02 13:38:22 +0000
committerAndroid (Google) Code Review <android-gerrit@google.com>2017-05-02 13:38:23 +0000
commitafa29d4a8659eeffc8d92a6216b154f594eeb895 (patch)
tree8129d2bcf5cb8afe0b91c0e81b3250e400c18db6 /Android.mk
parent1558e380e471b92152265a7652e0745f409b1a8b (diff)
parentb5870be094fd6163eadc6fb5038a61b9be3d34b7 (diff)
Merge "Use AAPT2" into oc-dev
Diffstat (limited to 'Android.mk')
-rw-r--r--Android.mk23
1 files changed, 11 insertions, 12 deletions
diff --git a/Android.mk b/Android.mk
index c3e065c8b..c753cfefd 100644
--- a/Android.mk
+++ b/Android.mk
@@ -156,14 +156,11 @@ LOCAL_RESOURCE_DIR := \
$(support_library_root_dir)/v7/cardview/res \
$(support_library_root_dir)/v7/recyclerview/res
+LOCAL_USE_AAPT2 := true
+
# We specify each package explicitly to glob resource files.
LOCAL_AAPT_FLAGS := \
--auto-add-overlay \
- --extra-packages android.support.design \
- --extra-packages android.support.transition \
- --extra-packages android.support.v7.appcompat \
- --extra-packages android.support.v7.cardview \
- --extra-packages android.support.v7.recyclerview \
--extra-packages com.android.contacts.common \
--extra-packages com.android.dialer.app \
--extra-packages com.android.dialer.app.voicemail.error \
@@ -216,13 +213,6 @@ LOCAL_AAPT_FLAGS := \
LOCAL_STATIC_JAVA_LIBRARIES := \
android-common \
- android-support-design \
- android-support-transition \
- android-support-v13 \
- android-support-v4 \
- android-support-v7-appcompat \
- android-support-v7-cardview \
- android-support-v7-recyclerview \
com.android.vcard \
dialer-commons-io-target \
dialer-dagger2-target \
@@ -238,6 +228,15 @@ LOCAL_STATIC_JAVA_LIBRARIES := \
libprotobuf-java-nano \
volley \
+LOCAL_STATIC_ANDROID_LIBRARIES := \
+ android-support-design \
+ android-support-transition \
+ android-support-v13 \
+ android-support-v4 \
+ android-support-v7-appcompat \
+ android-support-v7-cardview \
+ android-support-v7-recyclerview \
+
LOCAL_JAVA_LIBRARIES := \
org.apache.http.legacy \
dialer-auto-value \