summaryrefslogtreecommitdiff
path: root/build
diff options
context:
space:
mode:
author Spandan Das <spandandas@google.com> 2024-09-11 01:08:21 +0000
committer Treehugger Robot <android-test-infra-autosubmit@system.gserviceaccount.com> 2024-09-11 14:45:39 +0000
commit25d8fb090c068ac67da26a25fee68c82f2a059ee (patch)
tree5775e7e38ca797440ceba914aa411bf512566bcc /build
parent744830cb242c82c4637e6fb303b36d0371c84979 (diff)
Remove prebuilt_visibility from art module sdk and exports
https://r.android.com/3252814 changed the visibility of all module sdk prebuilts to //visibility:public Since prebuilt_visibility is no longer used in the generated sdk, remove it from the art sdk and exports modules. Change-Id: I12b03acbbc06f7269a12c36358c7f14510b0f670 Test: presbumits Bug: 239189932 Bug: 365111645
Diffstat (limited to 'build')
-rw-r--r--build/sdk/Android.bp15
1 files changed, 0 insertions, 15 deletions
diff --git a/build/sdk/Android.bp b/build/sdk/Android.bp
index 3ef7af6cdd..f71f7c51fe 100644
--- a/build/sdk/Android.bp
+++ b/build/sdk/Android.bp
@@ -21,22 +21,11 @@ package {
default_applicable_licenses: ["art_license"],
}
-// Additional visibility to add to the prebuilt modules that are part of
-// the snapshots of the ART sdk/module_exports to ensure that they are
-// visible to each other.
-prebuilt_visibility = [
- // TODO(b/155921753): Restrict this when prebuilts are in their proper
- // locations.
- "//prebuilts:__subpackages__",
-]
-
// The SDK for the art module apex.
sdk {
name: "art-module-sdk",
host_supported: true,
- prebuilt_visibility: prebuilt_visibility,
-
traits: {
native_bridge_support: [
"jni_headers",
@@ -126,8 +115,6 @@ module_exports {
name: "art-module-host-exports",
host_supported: true,
- prebuilt_visibility: prebuilt_visibility,
-
target: {
host: {
// Set in target.host because the top level compile_multilib
@@ -173,8 +160,6 @@ module_exports {
module_exports {
name: "art-module-test-exports",
- prebuilt_visibility: prebuilt_visibility,
-
java_libs: [
"core-compat-test-rules",
"core-test-rules",