summaryrefslogtreecommitdiffstats
path: root/Android.mk
diff options
context:
space:
mode:
authorEric Erfanian <erfanian@google.com>2017-03-29 10:20:40 -0700
committerEric Erfanian <erfanian@google.com>2017-03-29 10:23:39 -0700
commitcdb1edf966a892abebcba425a85b7d4e47758302 (patch)
treec3cacbc046938866eebe14c64ad3073b8a577bb9 /Android.mk
parent9779f967ebb9512e5b19090b071572c9c4f0f2a6 (diff)
downloadandroid_packages_apps_Dialer-cdb1edf966a892abebcba425a85b7d4e47758302.tar.gz
android_packages_apps_Dialer-cdb1edf966a892abebcba425a85b7d4e47758302.tar.bz2
android_packages_apps_Dialer-cdb1edf966a892abebcba425a85b7d4e47758302.zip
Use the commons-io prebuilt instead of local source for voicemail.
Test: treehugger, make This change removes part of the local apache source and depends on a prebuilt jar. In a future change, the rest of the apache code will be removed from Dialer and also replaced with prebuilts. Bug: 35391680 Change-Id: Ibbc4e62a23f30de5a11c07cb6cc4c00365c4f415
Diffstat (limited to 'Android.mk')
-rw-r--r--Android.mk15
1 files changed, 14 insertions, 1 deletions
diff --git a/Android.mk b/Android.mk
index 2310d56bc..b5b71988e 100644
--- a/Android.mk
+++ b/Android.mk
@@ -219,6 +219,7 @@ LOCAL_STATIC_JAVA_LIBRARIES := \
android-support-v7-cardview \
android-support-v7-recyclerview \
com.android.vcard \
+ dialer-commons-io-target \
dialer-dagger2-target \
dialer-disklrucache-target \
dialer-gifdecoder-target \
@@ -230,7 +231,7 @@ LOCAL_STATIC_JAVA_LIBRARIES := \
jsr305 \
libphonenumber \
libprotobuf-java-nano \
- volley
+ volley \
LOCAL_JAVA_LIBRARIES := \
org.apache.http.legacy \
@@ -376,3 +377,15 @@ LOCAL_UNINSTALLABLE_MODULE := true
include $(BUILD_PREBUILT)
include $(CLEAR_VARS)
+
+include $(CLEAR_VARS)
+
+LOCAL_MODULE_CLASS := JAVA_LIBRARIES
+LOCAL_MODULE := dialer-commons-io-target
+LOCAL_SDK_VERSION := current
+LOCAL_SRC_FILES := ../../../prebuilts/tools/common/m2/repository/commons-io/commons-io/2.4/commons-io-2.4$(COMMON_JAVA_PACKAGE_SUFFIX)
+LOCAL_UNINSTALLABLE_MODULE := true
+
+include $(BUILD_PREBUILT)
+
+include $(CLEAR_VARS)