Java used-by API list generation

Wrap the dexdeps output content with "<externals></externals>" to
simplify backend xml parsing.

Test: TARGET_BUILD_APPS=com.android.adbd m dist apps_only
Change-Id: I1457eb9558763e50911dc9c689b9bc3fb833a52c
This commit is contained in:
sophiez 2021-12-10 13:43:04 -08:00
parent eb59a6d3ea
commit 65a981569f

View file

@ -30,9 +30,11 @@ genUsedByList() {
shift
rm -f "$out"
touch "$out"
echo "<externals>" >> "$out"
for x in "$@"; do
"$dexdeps" "$x" >> "$out" || true
done
echo "</externals>" >> "$out"
}
if [[ "$1" == "help" ]]