summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author Paul Duffin <paulduffin@google.com> 2024-06-28 01:07:30 +0100
committer Paul Duffin <paulduffin@google.com> 2024-06-28 01:07:30 +0100
commit2be27a080b8de4854878846eb5b3a1f832d0033b (patch)
treec0c3821b4d177cf4ae6e943d3875c2c92eab7a76
parentf8b9ab1eded66786de4f55390744cc39e2279362 (diff)
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
-rwxr-xr-xapi/gen_combined_removed_dex.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/api/gen_combined_removed_dex.sh b/api/gen_combined_removed_dex.sh
index e0153f7c1091..2860e2ed17c2 100755
--- a/api/gen_combined_removed_dex.sh
+++ b/api/gen_combined_removed_dex.sh
@@ -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