File: gen_combined_removed_dex.sh

package info (click to toggle)
android-platform-frameworks-base 1%3A14~beta1-3
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 326,092 kB
  • sloc: java: 2,032,373; xml: 343,016; cpp: 304,181; python: 3,683; ansic: 2,090; sh: 1,871; makefile: 117; sed: 19
file content (11 lines) | stat: -rwxr-xr-x 248 bytes parent folder | download | duplicates (2)
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" --no-banner "$f" --dex-api "${tmp_dir}/tmp"
    cat "${tmp_dir}/tmp"
done