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.

Bug: 144264106
Test: m

Change-Id: Idfa2aa392ae1da9582e7691a8c06c986baad5088
This commit is contained in:
Jiyong Park
2019-11-11 14:14:30 +09:00
parent 51fc8a623f
commit e53786e864
2 changed files with 4 additions and 24 deletions

View File

@@ -870,28 +870,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 {
@@ -1011,7 +989,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,
@@ -1072,7 +1049,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-for-metalava-annotations",

View File

@@ -0,0 +1,4 @@
/**
* @hide
*/
package com.android.internal;