aboutsummaryrefslogtreecommitdiff
path: root/Android.bp
blob: ded387c619e3453c7c3ca597ab8576ae056938c3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
package {
    default_applicable_licenses: ["prebuilts_maven_repo_bumptech_license"],
}

// See: http://go/android-license-faq
license {
    name: "prebuilts_maven_repo_bumptech_license",
    package_name: "glide",
    visibility: [":__subpackages__"],
    license_kinds: [
        "SPDX-license-identifier-Apache-2.0",
        "SPDX-license-identifier-BSD",
        "SPDX-license-identifier-MIT",
    ],
    license_text: [
        "LICENSE",
    ],
}

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",
}

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",
}

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",
}

java_import {
    name: "glide-annotation-and-compiler-prebuilt",
    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",
    ],
    jetifier: true,
    apex_available: [
        "com.android.mediaprovider",
        "//apex_available:platform",
    ],
    sdk_version: "current",
    min_sdk_version: "14",
}

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",
    ],
}

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,
}

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",
    ],
}