summaryrefslogtreecommitdiff
path: root/api/gen_combined_removed_dex.sh
blob: e0153f7c1091b3c05ed381637ff5e7c7f597d862 (plain)
1
2
3
4
5
6
7
8
9
10
11
#!/bin/bash

metalava_path="$1"
tmp_dir="$2"
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"
    cat "${tmp_dir}/tmp"
done