summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBill Peckham <bpeckham@google.com>2019-10-17 18:09:55 -0700
committerBill Peckham <bpeckham@google.com>2019-10-17 18:09:55 -0700
commit590b1fad395d59c99be0f47e3b5cc9903d44cc55 (patch)
tree04a59b88ccb4355fa29467c39487009c44a1e7d5
parent709ceec5bfe10a3f3771008186750d3256292901 (diff)
downloadbsdiff-590b1fad395d59c99be0f47e3b5cc9903d44cc55.tar.gz
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. Bug: 141649008 Test: Targets build successfully. Change-Id: I675f5d74bb6d1bf06ae5ebd8ae5bfdd5653485a3
-rw-r--r--Android.bp6
1 files changed, 6 insertions, 0 deletions
diff --git a/Android.bp b/Android.bp
index 012db29..9f68463 100644
--- a/Android.bp
+++ b/Android.bp
@@ -36,6 +36,12 @@ cc_library_static {
vendor_available: true,
recovery_available: true,
+ visibility: [
+ "//bootable/recovery:__subpackages__",
+ "//external/puffin:__subpackages__",
+ "//system/update_engine:__subpackages__",
+ ],
+
srcs: [
"brotli_decompressor.cc",
"bspatch.cc",