From 65a981569f77141594bbe82371d3d1d65de28890 Mon Sep 17 00:00:00 2001 From: sophiez Date: Fri, 10 Dec 2021 13:43:04 -0800 Subject: [PATCH] Java used-by API list generation Wrap the dexdeps output content with "" to simplify backend xml parsing. Test: TARGET_BUILD_APPS=com.android.adbd m dist apps_only Change-Id: I1457eb9558763e50911dc9c689b9bc3fb833a52c --- scripts/gen_java_usedby_apex.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/scripts/gen_java_usedby_apex.sh b/scripts/gen_java_usedby_apex.sh index 251d7aa5f..0cadb1a89 100755 --- a/scripts/gen_java_usedby_apex.sh +++ b/scripts/gen_java_usedby_apex.sh @@ -30,9 +30,11 @@ genUsedByList() { shift rm -f "$out" touch "$out" + echo "" >> "$out" for x in "$@"; do "$dexdeps" "$x" >> "$out" || true done + echo "" >> "$out" } if [[ "$1" == "help" ]]