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

Commit 97088e99 authored by Anna Trostanetski's avatar Anna Trostanetski Committed by atrost
Browse files

Make unsupportedappusage_index.csv a build artifact.

Add the output of unsupportedappusage-annotation-processor as a build artifact to make it available for the hiddenapi ayeaye analyzer.

Test: build artifact appears in treehuger, found by ayeaye.
Bug: 135601059
Change-Id: If3ef7bde96e008127694a8b0aa25bf19767faf1c
parent 73b4106d
Loading
Loading
Loading
Loading
+11 −0
Original line number Diff line number Diff line
@@ -756,6 +756,7 @@ java_library {
java_library {
    name: "framework-annotation-proc",
    defaults: ["framework-defaults"],
    installable: false,
    // Use UsedByApps annotation processor
    plugins: ["unsupportedappusage-annotation-processor"],
}
@@ -1715,3 +1716,13 @@ aidl_mapping {
    srcs: [":framework-defaults"],
    output: "framework-aidl-mappings.txt",
}

genrule {
    name: "framework-annotation-proc-index",
    srcs: [":framework-annotation-proc"],
    cmd: "unzip -qp $(in) unsupportedappusage/unsupportedappusage_index.csv > $(out)",
    out: ["unsupportedappusage_index.csv"],
    dist: {
        targets: ["droidcore"],
    },
}