Merge "More default visibility for framework modules" am: 5b7010edc9 am: 4f8d9f32bd am: d7b4b55923
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1418907 Change-Id: I8c41bce56e91224023191de20080c540c5a6caaa
This commit is contained in:
@@ -101,20 +101,13 @@ java_defaults {
|
|||||||
|
|
||||||
annotations_enabled: true,
|
annotations_enabled: true,
|
||||||
|
|
||||||
stubs_library_visibility: [
|
// Allow access to the stubs from anywhere
|
||||||
"//visibility:public",
|
visibility: ["//visibility:public"],
|
||||||
],
|
stubs_library_visibility: ["//visibility:public"],
|
||||||
|
|
||||||
// Set the visibility of the modules creating the stubs source.
|
// Hide impl library and stub sources
|
||||||
stubs_source_visibility: [
|
impl_library_visibility: [":__package__"],
|
||||||
// Ignore any visibility rules specified on the java_sdk_library when
|
stubs_source_visibility: ["//visibility:private"],
|
||||||
// setting the visibility of the stubs source modules.
|
|
||||||
"//visibility:override",
|
|
||||||
|
|
||||||
// Currently, the stub source is not required for anything other than building
|
|
||||||
// the stubs library so is private to avoid misuse.
|
|
||||||
"//visibility:private",
|
|
||||||
],
|
|
||||||
|
|
||||||
// Collates API usages from each module for further analysis.
|
// Collates API usages from each module for further analysis.
|
||||||
plugins: ["java_api_finder"],
|
plugins: ["java_api_finder"],
|
||||||
|
|||||||
Reference in New Issue
Block a user