Java used-by API list generation

Update the java used by script to fix the xml format when dexdeps processing resource only APKs

Test: TARGET_BUILD_APPS=com.android.adbd m dist apps_only
Change-Id: I61a58d7c739e74a571e97166a7c9b4091e6f8da0
This commit is contained in:
sophiez 2021-12-14 14:01:17 -08:00
parent f793ba068c
commit bc82ba55c5

View file

@ -32,7 +32,7 @@ genUsedByList() {
touch "$out" touch "$out"
echo "<externals>" >> "$out" echo "<externals>" >> "$out"
for x in "$@"; do for x in "$@"; do
"$dexdeps" "$x" >> "$out" || true "$dexdeps" "$x" >> "$out" || echo "</external>" >> "$out"
done done
echo "</externals>" >> "$out" echo "</externals>" >> "$out"
} }