Files
frameworks_base/tools/processors/view_inspector/Android.bp
Colin Cross a3b22bfd14 Replace annotation_processors with plugins
The annotation_processors property is deprecated, replace it with
plugins, and use java_plugin for modules that provide annotation
processors.

Bug: 77284273
Test: m checkbuild
Change-Id: I467b899e0c8f2c8fa74a9bfbe6e952ad0f7aa009
2019-01-23 15:54:30 -08:00

30 lines
601 B
Plaintext

java_plugin {
name: "view-inspector-annotation-processor",
processor_class: "android.processor.view.inspector.PlatformInspectableProcessor",
srcs: ["src/java/**/*.java"],
java_resource_dirs: ["src/resources"],
static_libs: [
"javapoet",
],
use_tools_jar: true,
}
java_test_host {
name: "view-inspector-annotation-processor-test",
srcs: ["test/java/**/*.java"],
java_resource_dirs: ["test/resources"],
static_libs: [
"junit",
"guava",
"view-inspector-annotation-processor"
],
test_suites: ["general-tests"],
}