Export monolithic hidden api files to the dist
Bug: 179354495
Test: m dist droidcore - before, without and after these changes
Change-Id: I0fb73f107d901632cc94945b768fe700808f1139
diff --git a/boot/Android.bp b/boot/Android.bp
index 8f6e591..844dd64 100644
--- a/boot/Android.bp
+++ b/boot/Android.bp
@@ -71,4 +71,21 @@
"hiddenapi/hiddenapi-unsupported-packages.txt",
],
},
+
+ dists: [
+ {
+ targets: ["droidcore"],
+ tag: "hiddenapi-flags.csv",
+ },
+ {
+ targets: ["droidcore"],
+ tag: "hiddenapi-index.csv",
+ },
+ {
+ targets: ["droidcore"],
+ tag: "hiddenapi-metadata.csv",
+ // Legacy name
+ dest: "hiddenapi-unsupported.csv",
+ },
+ ],
}