From eb552b68bfa23fadeff500707a017e080067c659 Mon Sep 17 00:00:00 2001 From: Elliott Hughes Date: Thu, 2 May 2019 14:35:41 -0700 Subject: libelf: restrict visibility. Bug: http://b/19715557 Test: treehugger Change-Id: I271c3e055782e6e6401dfe0370b37e05e18f14ea --- Android.bp | 1 + libelf/Android.bp | 6 ++++++ 2 files changed, 7 insertions(+) diff --git a/Android.bp b/Android.bp index b5916477..4e3a009f 100644 --- a/Android.bp +++ b/Android.bp @@ -11,6 +11,7 @@ cc_library_static { export_include_dirs: ["bionic-fixup"], }, }, + visibility: [":__subpackages__"], } subdirs = ["libelf"] diff --git a/libelf/Android.bp b/libelf/Android.bp index 2a4f2848..c184e284 100644 --- a/libelf/Android.bp +++ b/libelf/Android.bp @@ -165,4 +165,10 @@ cc_library { }, }, }, + + visibility: [ + "//device/google/contexthub/util/nanoapp_postprocess", + "//external/mesa3d", + "//external/perf_data_converter", + ], } -- cgit v1.2.3