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