diff options
author | Biswarup Pal <biswarupp@google.com> | 2021-08-15 21:08:24 +0000 |
---|---|---|
committer | Sahana Rao <sahanas@google.com> | 2021-10-06 17:05:30 +0000 |
commit | e8b353fe03b93e76d48b0745462b7cf9e64bbeba (patch) | |
tree | 19e053278436ccd51bb09f005f1193b8dc125aa8 | |
parent | b803411682a3efdb760f954bc12f48965c3b13a4 (diff) | |
download | bumptech-e8b353fe03b93e76d48b0745462b7cf9e64bbeba.tar.gz |
Update glide to 4.12.0
Refactor glide prebuilt dependencies to
1. include aar's from maven instead of jar's for glide, gifdecoder, disklrucache
2. include jar's for compiler and annotations
3. add glide annotation processor plugin
The binaries have been taken from https://search.maven.org
Test: m
Bug: 195008673
Change-Id: I54ec33b2e69209e1cdbd0cd7cca36843d62f926e
Merged-In: I54ec33b2e69209e1cdbd0cd7cca36843d62f926e
-rw-r--r-- | Android.bp | 68 | ||||
-rw-r--r-- | com/github/bumptech/glide/annotation/4.12.0/annotations-4.12.0.jar | bin | 0 -> 3707 bytes | |||
-rw-r--r-- | com/github/bumptech/glide/compiler/4.12.0/compiler-4.12.0.jar | bin | 0 -> 314553 bytes | |||
-rw-r--r-- | com/github/bumptech/glide/disklrucache/4.12.0/disklrucache-4.12.0.aar | bin | 0 -> 18584 bytes | |||
-rw-r--r-- | com/github/bumptech/glide/gifdecoder/4.12.0/gifdecoder-4.12.0.aar | bin | 0 -> 17582 bytes | |||
-rw-r--r-- | com/github/bumptech/glide/glide/4.12.0/glide-4.12.0.aar | bin | 0 -> 640219 bytes |
6 files changed, 64 insertions, 4 deletions
@@ -29,12 +29,56 @@ license { ], } -java_import { +android_library_import { name: "glide-prebuilt", + aars: [ + "com/github/bumptech/glide/glide/4.12.0/glide-4.12.0.aar", + ], + jetifier: true, + apex_available: [ + "com.android.mediaprovider", + "//apex_available:platform", + ], + sdk_version: "current", + min_sdk_version: "14", + notice: "LICENSE", +} + +android_library_import { + name: "glide-disklrucache-prebuilt", + aars: [ + "com/github/bumptech/glide/disklrucache/4.12.0/disklrucache-4.12.0.aar", + ], + jetifier: true, + apex_available: [ + "com.android.mediaprovider", + "//apex_available:platform", + ], + sdk_version: "current", + min_sdk_version: "14", + notice: "LICENSE", +} + +android_library_import { + name: "glide-gifdecoder-prebuilt", + aars: [ + "com/github/bumptech/glide/gifdecoder/4.12.0/gifdecoder-4.12.0.aar", + ], + jetifier: true, + apex_available: [ + "com.android.mediaprovider", + "//apex_available:platform", + ], + sdk_version: "current", + min_sdk_version: "14", + notice: "LICENSE", +} + +java_import { + name: "glide-annotation-and-compiler-prebuilt", jars: [ - "com/github/bumptech/glide/glide/4.8.0/glide-4.8.0.jar", - "com/github/bumptech/glide/disklrucache/4.8.0/disklrucache-4.8.0.jar", - "com/github/bumptech/glide/gifdecoder/4.8.0/gifdecoder-4.8.0.jar", + "com/github/bumptech/glide/compiler/4.12.0/compiler-4.12.0.jar", + "com/github/bumptech/glide/annotation/4.12.0/annotations-4.12.0.jar", ], jetifier: true, apex_available: [ @@ -45,3 +89,19 @@ java_import { min_sdk_version: "14", notice: "LICENSE", } + +java_import_host { + name: "glide-annotation-and-compiler-prebuilt-host", + jars: [ + "com/github/bumptech/glide/compiler/4.12.0/compiler-4.12.0.jar", + "com/github/bumptech/glide/annotation/4.12.0/annotations-4.12.0.jar", + ], + notice: "LICENSE", +} + +java_plugin { + name: "glide-annotation-processor", + static_libs: ["glide-annotation-and-compiler-prebuilt-host"], + processor_class: "com.bumptech.glide.annotation.compiler.GlideAnnotationProcessor", + use_tools_jar: true, +} diff --git a/com/github/bumptech/glide/annotation/4.12.0/annotations-4.12.0.jar b/com/github/bumptech/glide/annotation/4.12.0/annotations-4.12.0.jar Binary files differnew file mode 100644 index 0000000..4f82189 --- /dev/null +++ b/com/github/bumptech/glide/annotation/4.12.0/annotations-4.12.0.jar diff --git a/com/github/bumptech/glide/compiler/4.12.0/compiler-4.12.0.jar b/com/github/bumptech/glide/compiler/4.12.0/compiler-4.12.0.jar Binary files differnew file mode 100644 index 0000000..f26f3fd --- /dev/null +++ b/com/github/bumptech/glide/compiler/4.12.0/compiler-4.12.0.jar diff --git a/com/github/bumptech/glide/disklrucache/4.12.0/disklrucache-4.12.0.aar b/com/github/bumptech/glide/disklrucache/4.12.0/disklrucache-4.12.0.aar Binary files differnew file mode 100644 index 0000000..f26adeb --- /dev/null +++ b/com/github/bumptech/glide/disklrucache/4.12.0/disklrucache-4.12.0.aar diff --git a/com/github/bumptech/glide/gifdecoder/4.12.0/gifdecoder-4.12.0.aar b/com/github/bumptech/glide/gifdecoder/4.12.0/gifdecoder-4.12.0.aar Binary files differnew file mode 100644 index 0000000..ff4d9b3 --- /dev/null +++ b/com/github/bumptech/glide/gifdecoder/4.12.0/gifdecoder-4.12.0.aar diff --git a/com/github/bumptech/glide/glide/4.12.0/glide-4.12.0.aar b/com/github/bumptech/glide/glide/4.12.0/glide-4.12.0.aar Binary files differnew file mode 100644 index 0000000..00611d6 --- /dev/null +++ b/com/github/bumptech/glide/glide/4.12.0/glide-4.12.0.aar |