From 3969fad48b8246c9a39d9c0e25cc34a7a4be6a3a Mon Sep 17 00:00:00 2001 From: Paul Duffin Date: Mon, 12 Apr 2021 12:57:06 +0100 Subject: [PATCH] Export monolithic hidden api files to the dist Bug: 179354495 Test: m dist droidcore - before, without and after these changes Change-Id: I0fb73f107d901632cc94945b768fe700808f1139 --- boot/Android.bp | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/boot/Android.bp b/boot/Android.bp index 8f6e5915bc25f..844dd64ce8d72 100644 --- a/boot/Android.bp +++ b/boot/Android.bp @@ -71,4 +71,21 @@ platform_bootclasspath { "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", + }, + ], }