aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBill Peckham <bpeckham@google.com>2019-10-18 16:43:47 -0700
committerandroid-build-merger <android-build-merger@google.com>2019-10-18 16:43:47 -0700
commit25867702bfd77b881c80766db9f2abdb9cf1dfb1 (patch)
tree6bd415a59a76f53027019a648584187a03033f4e
parent78bda636ca629e4f087904520eb2db22b4c4fdcc (diff)
parent81e4be9317712c7b2d1392f0af6cb89678f1fc0f (diff)
downloadbzip2-25867702bfd77b881c80766db9f2abdb9cf1dfb1.tar.gz
Merge "Restrict visibility of libraries that are newly vendor_available: true." am: 82d49b0efa
am: 81e4be9317 Change-Id: If472025ff191131ff5996ee97417485e94a70c8e
-rw-r--r--Android.bp8
1 files changed, 7 insertions, 1 deletions
diff --git a/Android.bp b/Android.bp
index e7bff8e..21d7bfa 100644
--- a/Android.bp
+++ b/Android.bp
@@ -12,11 +12,17 @@
// See the License for the specific language governing permissions and
// limitations under the License.
-cc_library {
+cc_library_static {
name: "libbz",
host_supported: true,
vendor_available: true,
recovery_available: true,
+ visibility: [
+ "//bootable/recovery:__subpackages__",
+ "//external/bsdiff:__subpackages__",
+ "//external/puffin:__subpackages__",
+ "//system/update_engine:__subpackages__",
+ ],
arch: {
arm: {
// measurements show that the ARM version of ZLib is about x1.17 faster