Merge "Make unsupportedappusage_index.csv a build artifact."

This commit is contained in:
Anna Trostanetski
2019-06-28 10:46:22 +00:00
committed by Gerrit Code Review

View File

@@ -757,6 +757,7 @@ java_library {
java_library {
name: "framework-annotation-proc",
defaults: ["framework-defaults"],
installable: false,
// Use UsedByApps annotation processor
plugins: ["unsupportedappusage-annotation-processor"],
}
@@ -1716,3 +1717,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"],
},
}