aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDan Willemsen <dwillemsen@google.com>2022-09-14 07:27:00 -0700
committerKrzysztof KosiƄski <krzysio@google.com>2022-09-16 21:34:02 +0000
commit9f2bb47d3e5f84069f8d7439a49c60a6790b1b9d (patch)
treea160e98232ff838d0fd0589cad4120305c89064e
parentf94a64c27886fe3a42ded9d8fd08a37ddf6543ea (diff)
downloadbumptech-9f2bb47d3e5f84069f8d7439a49c60a6790b1b9d.tar.gz
Add remote dialer prebuilt defintions
These were previously defined in packages/apps/Dialer/Android.mk using "../..". That's not allowed in Soong or Bazel, so move the definitions here. This will also make it simpler to understand which files are actually used. Bug: 244341573 Change-Id: I87ccf8330c7a709ab0d9de4b15d10d875ba66bc9 Merged-In: I87ccf8330c7a709ab0d9de4b15d10d875ba66bc9
-rw-r--r--Android.bp21
1 files changed, 21 insertions, 0 deletions
diff --git a/Android.bp b/Android.bp
index f91b8f3..ded387c 100644
--- a/Android.bp
+++ b/Android.bp
@@ -88,3 +88,24 @@ java_plugin {
processor_class: "com.bumptech.glide.annotation.compiler.GlideAnnotationProcessor",
use_tools_jar: true,
}
+
+java_import {
+ name: "dialer-glide-target-deps",
+ visibility: ["//packages/apps/Dialer"],
+ jars: [
+ "com/github/bumptech/glide/disklrucache/SNAPSHOT/disklrucache-SNAPSHOT.jar",
+ "com/github/bumptech/glide/gifdecoder/SNAPSHOT/gifdecoder-SNAPSHOT.jar",
+ "com/github/bumptech/glide/glide/SNAPSHOT/glide-SNAPSHOT.jar",
+ "com/github/bumptech/glide/annotation/SNAPSHOT/annotation-SNAPSHOT.jar",
+ ],
+ sdk_version: "current",
+}
+
+java_import_host {
+ name: "dialer-glide-host-deps",
+ visibility: ["//packages/apps/Dialer"],
+ jars: [
+ "com/github/bumptech/glide/annotation/SNAPSHOT/annotation-SNAPSHOT.jar",
+ "com/github/bumptech/glide/compiler/SNAPSHOT/compiler-SNAPSHOT.jar",
+ ],
+}