Merge "disable usage of plugins as static libs"
This commit is contained in:
@@ -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"],
|
||||
|
||||
Reference in New Issue
Block a user