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 "frameworks_base_license"
5    // to get the below license kinds:
6    //   SPDX-license-identifier-Apache-2.0
7    default_applicable_licenses: ["frameworks_base_license"],
8}
9
10java_library_host {
11    name: "libview-inspector-annotation-processor",
12
13    srcs: ["src/java/**/*.java"],
14    java_resource_dirs: ["src/resources"],
15
16    static_libs: [
17        "javapoet",
18        "stub-annotations",
19    ],
20
21    use_tools_jar: true,
22}
23
24java_plugin {
25    name: "view-inspector-annotation-processor",
26
27    processor_class: "android.processor.view.inspector.PlatformInspectableProcessor",
28
29    static_libs: [
30        "libview-inspector-annotation-processor",
31    ],
32}
33
34java_test_host {
35    name: "view-inspector-annotation-processor-test",
36
37    srcs: ["test/java/**/*.java"],
38    java_resource_dirs: ["test/resources"],
39
40    static_libs: [
41        "junit",
42        "guava",
43        "libview-inspector-annotation-processor",
44    ],
45
46    test_suites: ["general-tests"],
47}
48