Merge "Simplify module visibility post build refactor" into stage-aosp-master am: f94c8eb54f am: 6ab81ec60a am: 4900454137
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/12513172 Change-Id: I8934625a2356f7cf7769d8685e0c8e08a22be292
This commit is contained in:
@@ -16,19 +16,9 @@
|
||||
java_sdk_library {
|
||||
name: "framework-tethering",
|
||||
defaults: ["framework-module-defaults"],
|
||||
impl_library_visibility: ["//frameworks/base/packages/Tethering:__subpackages__"],
|
||||
|
||||
// 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/base/packages/Tethering:__subpackages__",
|
||||
],
|
||||
|
||||
srcs: [
|
||||
":framework-tethering-srcs",
|
||||
],
|
||||
srcs: [":framework-tethering-srcs"],
|
||||
|
||||
jarjar_rules: "jarjar-rules.txt",
|
||||
installable: true,
|
||||
|
||||
Reference in New Issue
Block a user