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

Commit ced28d53 authored by Jiyong Park's avatar Jiyong Park
Browse files

remove framework_base_subdirs

Metalava no longer requires it at least for droidstubs in this
directory. Even when local_sourcepath is not set, the -sourcepath option
is set to the module directory (frameworks/base in this case), and
metalava tries to find package.html files under the directory to know if
a package is hidden or not.

Exempt-From-Owner-Approval: cherry-pick from internal

Bug: 144264106
Test: m

Merged-In: Idfa2aa392ae1da9582e7691a8c06c986baad5088
(cherry picked from commit e53786e8)
Change-Id: Idfa2aa392ae1da9582e7691a8c06c986baad5088
parent b4852382
Loading
Loading
Loading
Loading
+0 −24
Original line number Diff line number Diff line
@@ -865,28 +865,6 @@ python_binary_host {
    ],
}

// TODO: Don't rely on this list by switching package.html into package-info.java
frameworks_base_subdirs = [
    "core/java",
    "graphics/java",
    "location/java",
    "media/java",
    "media/mca/effect/java",
    "media/mca/filterfw/java",
    "media/mca/filterpacks/java",
    "drm/java",
    "mms/java",
    "opengl/java",
    "sax/java",
    "telecomm/java",
    "telephony/common",
    "telephony/java",
    "wifi/java",
    "lowpan/java",
    "keystore/java",
    "rs/java",
]

// Make the api/current.txt file available for use by modules in other
// directories.
filegroup {
@@ -998,7 +976,6 @@ stubs_defaults {
        "test-runner/src/**/*.java",
    ],
    libs: framework_docs_only_libs,
    local_sourcepaths: frameworks_base_subdirs,
    create_doc_stubs: true,
    annotations_enabled: true,
    api_levels_annotations_enabled: true,
@@ -1059,7 +1036,6 @@ stubs_defaults {
        ":updatable-media-srcs",
    ],
    libs: ["framework-internal-utils"],
    local_sourcepaths: frameworks_base_subdirs,
    installable: false,
    annotations_enabled: true,
    previous_api: ":last-released-public-api",
+4 −0
Original line number Diff line number Diff line
/**
 * @hide
 */
package com.android.internal;