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

Commit 2be27a08 authored by Paul Duffin's avatar Paul Duffin
Browse files

Migrate to use new signature-to-dex --out option

In order to support multiple input signature files `signature-to-dex`
was changed to take the output file as an option not the second
argument. This change switches the script to use it.

Bug: 307737035
Test: m out/soong/hiddenapi/hiddenapi-flags.csv
Change-Id: I2251266edffa4eae59630afbd407c28597c209d7
parent f8b9ab1e
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -6,6 +6,6 @@ shift 2

# Convert each removed.txt to the "dex format" equivalent, and print all output.
for f in "$@"; do
    "$metalava_path" signature-to-dex "$f" "${tmp_dir}/tmp"
    "$metalava_path" signature-to-dex "$f" --out "${tmp_dir}/tmp"
    cat "${tmp_dir}/tmp"
done