disable usage of plugins as static libs
Test: m intdef-annotation-processor-test Test: atest intdef-annotation-processor-test Test: m view-inspector-annotation-processor-test Test: atest view-inspector-annotation-processor-test Bug: 225388628 Change-Id: I70ea1510a886998f07ef2b002895b6905b81c0eb
This commit is contained in:
parent
e3a1682e0b
commit
ad1207bf9c
@ -7,18 +7,24 @@ package {
|
||||
default_applicable_licenses: ["frameworks_base_license"],
|
||||
}
|
||||
|
||||
java_library_host {
|
||||
name: "libintdef-annotation-processor",
|
||||
|
||||
srcs: [
|
||||
":framework-annotations",
|
||||
"src/**/*.java",
|
||||
"src/**/*.kt",
|
||||
],
|
||||
|
||||
use_tools_jar: true,
|
||||
}
|
||||
|
||||
java_plugin {
|
||||
name: "intdef-annotation-processor",
|
||||
|
||||
processor_class: "android.processor.IntDefProcessor",
|
||||
|
||||
srcs: [
|
||||
":framework-annotations",
|
||||
"src/**/*.java",
|
||||
"src/**/*.kt"
|
||||
],
|
||||
|
||||
use_tools_jar: true,
|
||||
static_libs: ["libintdef-annotation-processor"],
|
||||
}
|
||||
|
||||
java_test_host {
|
||||
@ -26,8 +32,8 @@ java_test_host {
|
||||
|
||||
srcs: [
|
||||
"test/**/*.java",
|
||||
"test/**/*.kt"
|
||||
],
|
||||
"test/**/*.kt",
|
||||
],
|
||||
java_resource_dirs: ["test/resources"],
|
||||
|
||||
static_libs: [
|
||||
@ -35,7 +41,7 @@ java_test_host {
|
||||
"truth-prebuilt",
|
||||
"junit",
|
||||
"guava",
|
||||
"intdef-annotation-processor"
|
||||
"libintdef-annotation-processor",
|
||||
],
|
||||
|
||||
test_suites: ["general-tests"],
|
||||
|
@ -7,10 +7,8 @@ package {
|
||||
default_applicable_licenses: ["frameworks_base_license"],
|
||||
}
|
||||
|
||||
java_plugin {
|
||||
name: "view-inspector-annotation-processor",
|
||||
|
||||
processor_class: "android.processor.view.inspector.PlatformInspectableProcessor",
|
||||
java_library_host {
|
||||
name: "libview-inspector-annotation-processor",
|
||||
|
||||
srcs: ["src/java/**/*.java"],
|
||||
java_resource_dirs: ["src/resources"],
|
||||
@ -23,6 +21,16 @@ java_plugin {
|
||||
use_tools_jar: true,
|
||||
}
|
||||
|
||||
java_plugin {
|
||||
name: "view-inspector-annotation-processor",
|
||||
|
||||
processor_class: "android.processor.view.inspector.PlatformInspectableProcessor",
|
||||
|
||||
static_libs: [
|
||||
"libview-inspector-annotation-processor",
|
||||
],
|
||||
}
|
||||
|
||||
java_test_host {
|
||||
name: "view-inspector-annotation-processor-test",
|
||||
|
||||
@ -32,7 +40,7 @@ java_test_host {
|
||||
static_libs: [
|
||||
"junit",
|
||||
"guava",
|
||||
"view-inspector-annotation-processor"
|
||||
"libview-inspector-annotation-processor",
|
||||
],
|
||||
|
||||
test_suites: ["general-tests"],
|
||||
|
Loading…
x
Reference in New Issue
Block a user