OSDN Git Service

API Lint: Add support for base current.txt
authorAdrian Roos <roosa@google.com>
Thu, 13 Dec 2018 21:08:29 +0000 (22:08 +0100)
committerAdrian Roos <roosa@google.com>
Tue, 22 Jan 2019 10:36:36 +0000 (11:36 +0100)
commit6eb57b0f4a51255c656c71337fe41b81ff96a3dd
tree12e077d390ec4358f7395a5ec43bc2c3dd7b6cac
parenta8e5df06a010406b20a081c780a6e9854a2bad31
API Lint: Add support for base current.txt

Allows specifying a base current.txt and previous.txt file when linting
system-current.txt and test-current.txt to avoid false positive error
messages due to public API members not being duplicated in the respective
non-public APIs

Test: python tools/apilint/apilint.py --base-current=api/current.txt api/system-current.txt
Change-Id: I306a99b1423584ef3fcdc9272a83cb5eacc37227
(cherry picked from commit 7690d0d4eea0ffa429351b0b1caa34cdb3e0d37f)
tools/apilint/apilint.py