apex_available becomes more correct
Previously, Soong didn't follow the static dependencies when checking
apex_available. As a result, a module that is not available to an APEX
(or to the platform) was able to be statically linked from the APEX (or
the platform).
As the Soong bug is fixed, unchecked dependencies have revealed and this
change reflects the finding.
Exempt-From-Owner-Approval: cherry-pick from internal
Bug: 147671264
Test: m
Merged-In: I6d9dbe31a8d46d26a4925462edd1984281bd203a
(cherry picked from commit a24189de28d3dc078ffe3e694816859bce9ce730)
Change-Id: I6d9dbe31a8d46d26a4925462edd1984281bd203a
6 files changed