• 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
10java_library {
11    name: "auto_factory_annotations",
12    host_supported: true,
13    srcs: ["src/main/**/com/google/auto/factory/*.java"],
14    visibility: ["//visibility:public"],
15}
16
17java_plugin {
18    name: "auto_factory_plugin",
19    srcs: ["src/main/**/com/google/auto/factory/processor/*.java"],
20    static_libs: [
21        "auto_common",
22        "auto_factory_annotations",
23        "google_java_format",
24        "guava",
25        "javapoet",
26        "jsr330",
27    ],
28    libs: [
29        "auto_android_annotation_stubs",
30        "auto_value_annotations",
31        "auto_service_annotations",
32    ],
33    plugins: [
34        "auto_service_plugin",
35        "auto_value_plugin",
36    ],
37    processor_class: "com.google.auto.factory.processor.AutoFactoryProcessor",
38    generates_api: true,
39    visibility: ["//visibility:public"],
40}
41