Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 9e6cd27e authored by Anton Hansson's avatar Anton Hansson Committed by Automerger Merge Worker
Browse files

Merge "More default visibility for framework modules" am: 5b7010ed am:...

Merge "More default visibility for framework modules" am: 5b7010ed am: 4f8d9f32 am: d7b4b559 am: cf45e4ba

Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1418907

Change-Id: I368df611b25f99cca30abc4c6f1a61c8d46e2fde
parents 72c39c11 cf45e4ba
Loading
Loading
Loading
Loading
+6 −13
Original line number Diff line number Diff line
@@ -101,20 +101,13 @@ java_defaults {

    annotations_enabled: true,

    stubs_library_visibility: [
        "//visibility:public",
    ],

    // Set the visibility of the modules creating the stubs source.
    stubs_source_visibility: [
        // Ignore any visibility rules specified on the java_sdk_library when
        // setting the visibility of the stubs source modules.
        "//visibility:override",
    // Allow access to the stubs from anywhere
    visibility: ["//visibility:public"],
    stubs_library_visibility: ["//visibility:public"],

        // Currently, the stub source is not required for anything other than building
        // the stubs library so is private to avoid misuse.
        "//visibility:private",
    ],
    // Hide impl library and stub sources
    impl_library_visibility: [":__package__"],
    stubs_source_visibility: ["//visibility:private"],

    // Collates API usages from each module for further analysis.
    plugins: ["java_api_finder"],