• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1package {
2    // See: http://go/android-license-faq
3    // A large-scale-change added 'default_applicable_licenses' to import
4    // all of the 'license_kinds' from "external_auto_license"
5    // to get the below license kinds:
6    //   SPDX-license-identifier-Apache-2.0
7    default_applicable_licenses: ["external_auto_license"],
8}
9
10filegroup {
11    name: "auto_value_plugin_resources",
12    path: "src/main/java",
13    srcs: ["src/main/java/com/google/auto/value/processor/*.vm"],
14}
15
16java_library_host {
17    name: "libauto_value_plugin",
18    srcs: ["src/main/java/com/google/auto/value/processor/**/*.java"],
19    java_resources: [":auto_value_plugin_resources"],
20    libs: [
21        "auto_android_annotation_stubs",
22        "auto_service_annotations",
23        "error_prone_annotations",
24
25        "auto_common",
26        "auto_value_extension",
27        "escapevelocity",
28        "guava",
29        "javapoet",
30    ],
31}
32
33java_library_host {
34    name: "auto_value_extension",
35    srcs: ["src/main/java/com/google/auto/value/extension/*.java"],
36    libs: [
37        "guava",
38    ],
39}
40
41
42java_library {
43    name: "auto_value_annotations",
44    host_supported: true,
45    srcs: ["src/main/java/com/google/auto/value/*.java"],
46    sdk_version: "core_current",
47    visibility: ["//visibility:public"],
48}
49
50java_plugin {
51    name: "auto_value_plugin",
52    static_libs: [
53        "libauto_value_plugin",
54
55        "auto_android_annotation_stubs",
56        "auto_common",
57        "auto_service_plugin",
58        "auto_value_extension",
59        "escapevelocity",
60        "guava",
61        "javapoet",
62    ],
63    processor_class: "com.google.auto.value.processor.AutoValueProcessor",
64    visibility: ["//visibility:public"],
65}
66
67java_plugin {
68    name: "auto_annotation_plugin",
69    static_libs: [
70        "libauto_value_plugin",
71
72        "auto_android_annotation_stubs",
73        "auto_common",
74        "auto_service_plugin",
75        "auto_value_extension",
76        "escapevelocity",
77        "guava",
78        "javapoet",
79    ],
80    processor_class: "com.google.auto.value.processor.AutoAnnotationProcessor",
81    visibility: ["//visibility:public"],
82}
83
84java_library {
85    name: "auto_value_memoized_extension_annotations",
86    host_supported: true,
87    srcs: ["src/main/java/com/google/auto/value/extension/memoized/*.java"],
88    sdk_version: "core_current",
89    visibility: ["//visibility:public"],
90}
91
92java_plugin {
93    name: "auto_value_memoized_extension_plugin",
94    srcs: ["src/main/java/com/google/auto/value/extension/memoized/processor/*.java"],
95    static_libs: [
96        "auto_android_annotation_stubs",
97        "auto_common",
98        "auto_service_annotations",
99        "auto_value_extension",
100        "error_prone_annotations",
101        "escapevelocity",
102        "guava",
103        "javapoet",
104        "jsr305",
105    ],
106    plugins: ["auto_service_plugin"],
107    processor_class: "com.google.auto.value.extension.memoized.processor.MemoizedValidator",
108    visibility: ["//visibility:public"],
109}
110