From e8b353fe03b93e76d48b0745462b7cf9e64bbeba Mon Sep 17 00:00:00 2001 From: Biswarup Pal Date: Sun, 15 Aug 2021 21:08:24 +0000 Subject: 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 --- Android.bp | 68 +++++++++++++++++++-- .../glide/annotation/4.12.0/annotations-4.12.0.jar | Bin 0 -> 3707 bytes .../glide/compiler/4.12.0/compiler-4.12.0.jar | Bin 0 -> 314553 bytes .../disklrucache/4.12.0/disklrucache-4.12.0.aar | Bin 0 -> 18584 bytes .../glide/gifdecoder/4.12.0/gifdecoder-4.12.0.aar | Bin 0 -> 17582 bytes .../bumptech/glide/glide/4.12.0/glide-4.12.0.aar | Bin 0 -> 640219 bytes 6 files changed, 64 insertions(+), 4 deletions(-) create mode 100644 com/github/bumptech/glide/annotation/4.12.0/annotations-4.12.0.jar create mode 100644 com/github/bumptech/glide/compiler/4.12.0/compiler-4.12.0.jar create mode 100644 com/github/bumptech/glide/disklrucache/4.12.0/disklrucache-4.12.0.aar create mode 100644 com/github/bumptech/glide/gifdecoder/4.12.0/gifdecoder-4.12.0.aar create mode 100644 com/github/bumptech/glide/glide/4.12.0/glide-4.12.0.aar diff --git a/Android.bp b/Android.bp index f8721c2..a298f52 100644 --- a/Android.bp +++ b/Android.bp @@ -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 new file mode 100644 index 0000000..4f82189 Binary files /dev/null and b/com/github/bumptech/glide/annotation/4.12.0/annotations-4.12.0.jar differ 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 new file mode 100644 index 0000000..f26f3fd Binary files /dev/null and b/com/github/bumptech/glide/compiler/4.12.0/compiler-4.12.0.jar differ 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 new file mode 100644 index 0000000..f26adeb Binary files /dev/null and b/com/github/bumptech/glide/disklrucache/4.12.0/disklrucache-4.12.0.aar differ 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 new file mode 100644 index 0000000..ff4d9b3 Binary files /dev/null and b/com/github/bumptech/glide/gifdecoder/4.12.0/gifdecoder-4.12.0.aar differ 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 new file mode 100644 index 0000000..00611d6 Binary files /dev/null and b/com/github/bumptech/glide/glide/4.12.0/glide-4.12.0.aar differ -- cgit v1.2.3