Restrict visibility of libraries that are newly vendor_available: true.
As part of fixing b/68319577, some libraries were made vendor_available: true.
To minimize new dependencies from vendor on these libraries, this change
restricts the visibility of the libraries to only the framework projects that
currently use them.
This change does two things. It makes libbz a static libarary only (drops the
shared library). It restricts the visibility of the static library to only the
framework projects that currently use it.
Test: Targets build successfully.
diff --git a/Android.bp b/Android.bp
index e7bff8e..21d7bfa 100644
@@ -12,11 +12,17 @@
// See the License for the specific language governing permissions and
// limitations under the License.
+ visibility: [
// measurements show that the ARM version of ZLib is about x1.17 faster