aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorElliott Hughes <enh@google.com>2019-05-02 14:35:41 -0700
committerElliott Hughes <enh@google.com>2019-05-02 14:35:41 -0700
commiteb552b68bfa23fadeff500707a017e080067c659 (patch)
treea7edf44cba557b6af79eae4115f0cf0664ab7457
parent625d86ad23fe686febbf43baee789b2ecca0151a (diff)
downloadelfutils-eb552b68bfa23fadeff500707a017e080067c659.tar.gz
libelf: restrict visibility.
Bug: http://b/19715557 Test: treehugger Change-Id: I271c3e055782e6e6401dfe0370b37e05e18f14ea
-rw-r--r--Android.bp1
-rw-r--r--libelf/Android.bp6
2 files changed, 7 insertions, 0 deletions
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",
+ ],
}