| commit | 65163dd0e1aae11d029dfbe930503cc3c6eb5aa5 | [log] [tgz] |
|---|---|---|
| author | Anton Hansson <hansson@google.com> | Fri Apr 08 11:36:47 2022 +0100 |
| committer | Anton Hansson <hansson@google.com> | Fri Apr 08 11:46:22 2022 +0100 |
| tree | 8eefc633340d5f7c852e404e838760269cff0a7a | |
| parent | 59137a2227163dd7bd0de26987969d2999e2d1bb [diff] |
Update deprecated_at_birth script
Make it executable, make it work with python3.
Bug: 228451704
Test: $ m api_txt dist
$ PREVIOUS_API=prebuilts/sdk/##
$ for api in $(ls -1 out/dist/apistubs/android); do
frameworks/base/tools/apilint/deprecated_at_birth.py \
out/dist/apistubs/android/$api/api/ \
${PREVIOUS_API}/$api/api/
done
Change-Id: Ib0eda541be68b0b21ae0dea3f51a82b44f7f9e7c