summaryrefslogtreecommitdiff
path: root/sigchainlib
diff options
context:
space:
mode:
authorPaul Duffin <paulduffin@google.com>2020-09-15 16:45:49 +0100
committerPaul Duffin <paulduffin@google.com>2020-10-05 11:41:52 +0000
commit71f7affff661a9f48afae25e19fcd3b9e82dac33 (patch)
tree0c39fae9b425703b0c05f7fdf70dc4e330bdbbbf /sigchainlib
parent4904d5d65de32237790e5370bd076a9bccc22aa1 (diff)
Use prebuilt_visibility property on sdk/module_exports
When the ART sdk/module_exports snapshots are unpacked in a prebuilts directory they need some additional visibility rules to be added to ensure that the prebuilts are visible to each other. Previously, those were added on a case by case basis to the individual modules. This change replaces them by using the prebuilt_visibility property that specifies additional visibility rules to be added to all prebuilt modules in the snapshots. Currently, the additional visibility added to the prebuilts makes them visible to anything in //prebuilts or beneath which is not restrictive enough. Specifying the rule in a single place will make that easier to restrict in future. Bug: 155921753 Bug: 168301990 Test: build sdk/snapshot, install them in prebuilts/module_sdk/art and run m nothing to ensure the visibility rules are valid. Change-Id: I751ed6d488038214ac9df35849babe69a3c79a31
Diffstat (limited to 'sigchainlib')
-rw-r--r--sigchainlib/Android.bp4
1 files changed, 0 insertions, 4 deletions
diff --git a/sigchainlib/Android.bp b/sigchainlib/Android.bp
index e42bb8ef4b..3fb21b9129 100644
--- a/sigchainlib/Android.bp
+++ b/sigchainlib/Android.bp
@@ -18,10 +18,6 @@ cc_library {
name: "libsigchain",
defaults: ["art_defaults"],
visibility: [
- // Visibility for prebuilt binaries from the prebuilt of this module.
- // TODO(b/155921753): Restrict this when prebuilts are in their proper
- // locations.
- "//prebuilts:__subpackages__",
// TODO(b/142944043, b/133140750): Clean this up.
"//frameworks/base/cmds/app_process",
],