From bc82ba55c50eac5325760ae684745847a0cd9c72 Mon Sep 17 00:00:00 2001 From: sophiez Date: Tue, 14 Dec 2021 14:01:17 -0800 Subject: [PATCH] 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 --- scripts/gen_java_usedby_apex.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/gen_java_usedby_apex.sh b/scripts/gen_java_usedby_apex.sh index 0cadb1a89..e3985414b 100755 --- a/scripts/gen_java_usedby_apex.sh +++ b/scripts/gen_java_usedby_apex.sh @@ -32,7 +32,7 @@ genUsedByList() { touch "$out" echo "" >> "$out" for x in "$@"; do - "$dexdeps" "$x" >> "$out" || true + "$dexdeps" "$x" >> "$out" || echo "" >> "$out" done echo "" >> "$out" }