Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 65a98156 authored by sophiez's avatar sophiez
Browse files

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
parent eb59a6d3
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -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" ]]