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