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

Commit db8cb822 authored by Anton Hansson's avatar Anton Hansson Committed by Android (Google) Code Review
Browse files

Merge "More default visibility for framework modules" into mainline-prod

parents da6d70ff 4d9a4b1e
Loading
Loading
Loading
Loading
+6 −13
Original line number Original line Diff line number Diff line
@@ -97,20 +97,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.
    stubs_source_visibility: [
        // Ignore any visibility rules specified on the java_sdk_library when
        // setting the visibility of the stubs source modules.
        "//visibility:override",


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