Merge "Remove hiddenapi-mappings and hiddenapi-list-docs." into rvc-dev

This commit is contained in:
Artur Satayev
2020-04-01 13:07:41 +00:00
committed by Android (Google) Code Review

View File

@@ -95,6 +95,7 @@ droidstubs {
api_filename: "public_api.txt", api_filename: "public_api.txt",
private_api_filename: "private.txt", private_api_filename: "private.txt",
removed_api_filename: "removed.txt", removed_api_filename: "removed.txt",
removed_dex_api_filename: "removed-dex.txt",
arg_files: [ arg_files: [
"core/res/AndroidManifest.xml", "core/res/AndroidManifest.xml",
], ],
@@ -141,6 +142,7 @@ droidstubs {
private_api_filename: "system-private.txt", private_api_filename: "system-private.txt",
private_dex_api_filename: "system-private-dex.txt", private_dex_api_filename: "system-private-dex.txt",
removed_api_filename: "system-removed.txt", removed_api_filename: "system-removed.txt",
removed_dex_api_filename: "system-removed-dex.txt",
arg_files: [ arg_files: [
"core/res/AndroidManifest.xml", "core/res/AndroidManifest.xml",
], ],
@@ -339,44 +341,6 @@ java_library_static {
], ],
} }
/////////////////////////////////////////////////////////////////////
// Stubs for hiddenapi processing.
/////////////////////////////////////////////////////////////////////
droidstubs {
name: "hiddenapi-lists-docs",
defaults: ["metalava-full-api-stubs-default"],
arg_files: [
"core/res/AndroidManifest.xml",
],
dex_api_filename: "public-dex.txt",
private_dex_api_filename: "private-dex.txt",
removed_dex_api_filename: "removed-dex.txt",
args: metalava_framework_docs_args +
" --show-unannotated " +
priv_apps +
" --show-annotation android.annotation.TestApi ",
}
droidstubs {
name: "hiddenapi-mappings",
defaults: ["metalava-full-api-stubs-default"],
srcs: [
":opt-telephony-common-srcs",
],
arg_files: [
"core/res/AndroidManifest.xml",
],
dex_mapping_filename: "dex-mapping.txt",
args: metalava_framework_docs_args +
" --hide ReferencesHidden " +
" --hide UnhiddenSystemApi " +
" --show-unannotated " +
priv_apps +
" --show-annotation android.annotation.TestApi ",
}
///////////////////////////////////////////////////////////////////// /////////////////////////////////////////////////////////////////////
// api/*-current.txt files for use by modules in other directories // api/*-current.txt files for use by modules in other directories
// like the CTS test // like the CTS test