Created a custom AndroidLint check that statically analyzes a module's codebase for APIs.
The check generates a list of APIs that a module depends on, and a list of APIs that the module exposes.
Test: The current tests in checks/src/test work in gradle, will work on getting these to work on Soong in the future. This may require a feature request since these tests are currently required to run in a Studio source tree.
(cherry picked from commit 0a6779b7a11808565cbc8e8d5569635af65e9d69)
4 files changed