diff options
author | Mathew Inwood <mathewi@google.com> | 2020-10-20 15:20:30 +0100 |
---|---|---|
committer | Mathew Inwood <mathewi@google.com> | 2020-10-22 15:26:35 +0100 |
commit | 43db2533db33dc62f8938e602d767b5ba3e87f2a (patch) | |
tree | 89d505efeaaa9ec97dac35b2d83cd6f1f1d2ad18 /tools/dump-coverage/dump_coverage.cc | |
parent | 95d5d13bb516ba441f9aa3aba888a18976265c7c (diff) |
Support adding custom tags to APIs.
Refactor the argument parsing code to support more flexible options.
Now, instead of:
--unsupported-ignore-conflicts apis.txt
We do:
--unsupported apis.txt --ignore-conflicts
And similarly for --packages. Flags now come in groups, starting with
one of ALL_FLAGS and continuing to the next such flag. Any of
--ignore-conflicts, --package or --tag X apply to the previous one of
ALL_FLAGS.
Also add the --tag flag used to tag APIs with a custom flag. This is
used to tag removed APIs as such.
Test: m -j out/soong/hiddenapi/hiddenapi-flags.csv
Bug: 171300342
Change-Id: I59e6c365c46282f4489d71e7acac2ae43e5907d2
Diffstat (limited to 'tools/dump-coverage/dump_coverage.cc')
0 files changed, 0 insertions, 0 deletions