aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorXin Li <delphij@google.com>2018-08-06 16:50:34 -0700
committerXin Li <delphij@google.com>2018-08-06 16:50:34 -0700
commitb6005ef5734b9fe0c965e9b51545156159e536ac (patch)
treef0320cab0181b9de05065195712b069f7fb33049
parent0737ddc95f0f2d8f6527689c34116bc89d0847d8 (diff)
parent596c7d85571997598a86da24b8f07881d6bbf1c3 (diff)
downloadglide-b6005ef5734b9fe0c965e9b51545156159e536ac.tar.gz
Bug: 112104996 Change-Id: I4d936c46e75b21b0c0982b70a0b8e77f4b379d3e
-rw-r--r--Android.mk11
1 files changed, 8 insertions, 3 deletions
diff --git a/Android.mk b/Android.mk
index 1a752714..d71ae327 100644
--- a/Android.mk
+++ b/Android.mk
@@ -7,12 +7,17 @@ LOCAL_SRC_FILES += $(call all-java-files-under, third_party/gif_decoder/src)
LOCAL_SRC_FILES += $(call all-java-files-under, third_party/gif_encoder/src)
LOCAL_MANIFEST_FILE := library/src/main/AndroidManifest.xml
-LOCAL_STATIC_JAVA_LIBRARIES := volley
-LOCAL_STATIC_JAVA_LIBRARIES += android-support-v4
+LOCAL_JAVA_LIBRARIES := volley
+
+LOCAL_SHARED_ANDROID_LIBRARIES := \
+ android-support-fragment \
+ android-support-core-ui \
+ android-support-compat
LOCAL_MODULE := glide
LOCAL_MODULE_TAGS := optional
-LOCAL_SDK_VERSION := 19
+LOCAL_USE_AAPT2 := true
+LOCAL_SDK_VERSION := current
include $(BUILD_STATIC_JAVA_LIBRARY)