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.

Bug: b/155691223
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.
Change-Id: Iafef967a0a4ea8cb2db6144f205941944cdc1f64
Merged-In: Iafef967a0a4ea8cb2db6144f205941944cdc1f64
(cherry picked from commit 0a6779b7a11808565cbc8e8d5569635af65e9d69)
4 files changed
tree: 5c14bce39837a5206f815f21f3ecbad966eecca0
  1. checks/
  2. src/
  3. Android.bp