Limit visibility of ART libraries, binaries, and headers.
This simply records the visibilities necessary to keep things working - more
work is required to vet them.
Test: m
Bug: 133140750
Change-Id: I776d6b79c4c2b214556070c850ae5321d5f8b949
diff --git a/test/Android.bp b/test/Android.bp
index 86d1857..66a08e9 100644
--- a/test/Android.bp
+++ b/test/Android.bp
@@ -372,6 +372,9 @@
cc_library_static {
name: "libctstiagent",
defaults: ["libtiagent-base-defaults"],
+ visibility: [
+ "//cts/hostsidetests/jvmti:__subpackages__",
+ ],
host_supported: false,
srcs: [
"983-source-transform-verify/source_transform_slicer.cc",
@@ -579,6 +582,9 @@
filegroup {
name: "art_cts_jvmti_test_library",
+ visibility: [
+ "//cts/hostsidetests/jvmti:__subpackages__",
+ ],
srcs: [
// shim classes. We use one that exposes the common functionality.
"jvmti-common/Redefinition.java",
@@ -710,6 +716,9 @@
// Copy+rename them them to a temporary directory and them zip them.
java_genrule {
name: "expected_cts_outputs",
+ visibility: [
+ "//cts/hostsidetests/jvmti:__subpackages__",
+ ],
srcs: [
"901-hello-ti-agent/expected.txt",
"902-hello-transformation/expected.txt",