Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 4262bd19 authored by Colin Cross's avatar Colin Cross Committed by android-build-merger
Browse files

Merge "Replace annotation_processors with plugins" am: bc40469e

am: f30fba0a

Change-Id: I4527a2c7dfca71f3a2c19539450a414874b190f6
parents 00217ac4 f30fba0a
Loading
Loading
Loading
Loading
+1 −5
Original line number Original line Diff line number Diff line
@@ -747,11 +747,7 @@ java_library {
    name: "framework-annotation-proc",
    name: "framework-annotation-proc",
    defaults: ["framework-defaults"],
    defaults: ["framework-defaults"],
    // Use UsedByApps annotation processor
    // Use UsedByApps annotation processor
    annotation_processors: ["unsupportedappusage-annotation-processor"],
    plugins: ["unsupportedappusage-annotation-processor"],
    // b/25860419: annotation processors must be explicitly specified for grok
    annotation_processor_classes: [
        "android.processor.unsupportedappusage.UsedByAppsProcessor",
    ],
}
}


// A host library including just UnsupportedAppUsage.java so that the annotation
// A host library including just UnsupportedAppUsage.java so that the annotation
+3 −1
Original line number Original line Diff line number Diff line


java_library_host {
java_plugin {
    name: "unsupportedappusage-annotation-processor",
    name: "unsupportedappusage-annotation-processor",
    processor_class: "android.processor.unsupportedappusage.UnsupportedAppUsageProcessor",

    java_resources: [
    java_resources: [
        "META-INF/**/*",
        "META-INF/**/*",
    ],
    ],