From cdb1edf966a892abebcba425a85b7d4e47758302 Mon Sep 17 00:00:00 2001 From: Eric Erfanian Date: Wed, 29 Mar 2017 10:20:40 -0700 Subject: 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 --- Android.mk | 15 ++++++++++++++- 1 file changed, 14 insertions(+), 1 deletion(-) (limited to 'Android.mk') 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) -- cgit v1.2.3