Merge "Replace annotation_processors with plugins" am: bc40469e19 am: f30fba0a60
am: 4262bd19ad
Change-Id: I0b417cccddebdccc8613d82d93ff9f0658be8217
This commit is contained in:
@@ -808,11 +808,7 @@ java_library {
|
||||
name: "framework-annotation-proc",
|
||||
defaults: ["framework-defaults"],
|
||||
// Use UsedByApps annotation processor
|
||||
annotation_processors: ["unsupportedappusage-annotation-processor"],
|
||||
// b/25860419: annotation processors must be explicitly specified for grok
|
||||
annotation_processor_classes: [
|
||||
"android.processor.unsupportedappusage.UsedByAppsProcessor",
|
||||
],
|
||||
plugins: ["unsupportedappusage-annotation-processor"],
|
||||
}
|
||||
|
||||
// A host library including just UnsupportedAppUsage.java so that the annotation
|
||||
|
||||
@@ -1,6 +1,8 @@
|
||||
|
||||
java_library_host {
|
||||
java_plugin {
|
||||
name: "unsupportedappusage-annotation-processor",
|
||||
processor_class: "android.processor.unsupportedappusage.UnsupportedAppUsageProcessor",
|
||||
|
||||
java_resources: [
|
||||
"META-INF/**/*",
|
||||
],
|
||||
|
||||
Reference in New Issue
Block a user