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:
parent
eb59a6d3ea
commit
65a981569f
1 changed files with 2 additions and 0 deletions
|
@ -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" ]]
|
||||
|
|
Loading…
Reference in a new issue