Merge "libbinder: limit visibility of test ifaces" am: 45d2d9b16f

Original change: https://android-review.googlesource.com/c/platform/frameworks/native/+/2433915

Change-Id: Id854b97a51fd9f6ca5aed18104e6ea149544e5cf
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
diff --git a/libs/binder/Android.bp b/libs/binder/Android.bp
index 02b4de8..da87e03 100644
--- a/libs/binder/Android.bp
+++ b/libs/binder/Android.bp
@@ -524,6 +524,10 @@
             enabled: false,
         },
     },
+    visibility: [
+        ":__subpackages__",
+        "//system/tools/aidl:__subpackages__",
+    ],
 }
 
 // TODO(b/184872979): remove once the Rust API is created.