summaryrefslogtreecommitdiff
path: root/wifi
diff options
context:
space:
mode:
authorAnton Hansson <hansson@google.com>2020-08-18 12:52:51 +0100
committerAnton Hansson <hansson@google.com>2020-09-07 07:54:50 +0000
commit46c47efca2f86ec6281e44ee75ead9c5e6e93479 (patch)
tree440e1632a769b281afdee0445bf83f519d57320e /wifi
parent94fbf790d7e626667fb01ecf80c643ac08934cb9 (diff)
Simplify module visibility post build refactor
//visibility:override is no longer needed for impl_library_visibility to override visibility. Removing this allows the defaults module to specify better defaults. - Stub libraries are made publicly visible, via `visibility` - Impl libraries are private by default, but visibility is extended by the modules Bug: 165017290 Test: m Exempt-From-Owner-Approval: build refactor Change-Id: Ibf35bfac5c99a21125f89ba10945f3364217b90f
Diffstat (limited to 'wifi')
-rw-r--r--wifi/Android.bp4
1 files changed, 0 insertions, 4 deletions
diff --git a/wifi/Android.bp b/wifi/Android.bp
index 02616aff2a3f..1cc5073c5f71 100644
--- a/wifi/Android.bp
+++ b/wifi/Android.bp
@@ -130,12 +130,8 @@ java_sdk_library {
},
hostdex: true, // for hiddenapi check
- // Allow access to the stubs from anywhere.
- visibility: ["//visibility:public"],
-
// Restrict access to implementation library.
impl_library_visibility: [
- "//visibility:override", // Ignore the visibility property.
"//frameworks/opt/net/wifi/service:__subpackages__",
] + test_access_hidden_api_whitelist,