Merge "Make unsupportedappusage_index.csv a build artifact."
This commit is contained in:
11
Android.bp
11
Android.bp
@@ -757,6 +757,7 @@ java_library {
|
|||||||
java_library {
|
java_library {
|
||||||
name: "framework-annotation-proc",
|
name: "framework-annotation-proc",
|
||||||
defaults: ["framework-defaults"],
|
defaults: ["framework-defaults"],
|
||||||
|
installable: false,
|
||||||
// Use UsedByApps annotation processor
|
// Use UsedByApps annotation processor
|
||||||
plugins: ["unsupportedappusage-annotation-processor"],
|
plugins: ["unsupportedappusage-annotation-processor"],
|
||||||
}
|
}
|
||||||
@@ -1716,3 +1717,13 @@ aidl_mapping {
|
|||||||
srcs: [":framework-defaults"],
|
srcs: [":framework-defaults"],
|
||||||
output: "framework-aidl-mappings.txt",
|
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"],
|
||||||
|
},
|
||||||
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user