Merge "Limit framework module api packages" am: 9b193780e3
Change-Id: I484fb2d6a3e1487849ed7c3721913a6cda2dc723
This commit is contained in:
@@ -26,6 +26,20 @@ mainline_stubs_args =
|
|||||||
"--hide Typo " +
|
"--hide Typo " +
|
||||||
"--hide UnavailableSymbol "
|
"--hide UnavailableSymbol "
|
||||||
|
|
||||||
|
// TODO: modularize this so not every module has the same whitelist
|
||||||
|
framework_packages_to_document = [
|
||||||
|
"android",
|
||||||
|
"dalvik",
|
||||||
|
"java",
|
||||||
|
"javax",
|
||||||
|
"junit",
|
||||||
|
"org.apache.http",
|
||||||
|
"org.json",
|
||||||
|
"org.w3c.dom",
|
||||||
|
"org.xml.sax",
|
||||||
|
"org.xmlpull",
|
||||||
|
]
|
||||||
|
|
||||||
// TODO: remove the hiding when server classes are cleaned up.
|
// TODO: remove the hiding when server classes are cleaned up.
|
||||||
mainline_framework_stubs_args =
|
mainline_framework_stubs_args =
|
||||||
mainline_stubs_args +
|
mainline_stubs_args +
|
||||||
@@ -54,6 +68,7 @@ stubs_defaults {
|
|||||||
args: mainline_framework_stubs_args,
|
args: mainline_framework_stubs_args,
|
||||||
installable: false,
|
installable: false,
|
||||||
sdk_version: "current",
|
sdk_version: "current",
|
||||||
|
filter_packages: framework_packages_to_document,
|
||||||
check_api: {
|
check_api: {
|
||||||
current: {
|
current: {
|
||||||
api_file: "api/current.txt",
|
api_file: "api/current.txt",
|
||||||
@@ -68,6 +83,7 @@ stubs_defaults {
|
|||||||
libs: ["framework-annotations-lib"],
|
libs: ["framework-annotations-lib"],
|
||||||
installable: false,
|
installable: false,
|
||||||
sdk_version: "system_current",
|
sdk_version: "system_current",
|
||||||
|
filter_packages: framework_packages_to_document,
|
||||||
check_api: {
|
check_api: {
|
||||||
current: {
|
current: {
|
||||||
api_file: "api/system-current.txt",
|
api_file: "api/system-current.txt",
|
||||||
@@ -105,6 +121,7 @@ stubs_defaults {
|
|||||||
libs: ["framework-annotations-lib"],
|
libs: ["framework-annotations-lib"],
|
||||||
installable: false,
|
installable: false,
|
||||||
sdk_version: "module_current",
|
sdk_version: "module_current",
|
||||||
|
filter_packages: framework_packages_to_document,
|
||||||
check_api: {
|
check_api: {
|
||||||
current: {
|
current: {
|
||||||
api_file: "api/module-lib-current.txt",
|
api_file: "api/module-lib-current.txt",
|
||||||
@@ -119,6 +136,7 @@ stubs_defaults {
|
|||||||
libs: ["framework-annotations-lib"],
|
libs: ["framework-annotations-lib"],
|
||||||
installable: false,
|
installable: false,
|
||||||
sdk_version: "module_current",
|
sdk_version: "module_current",
|
||||||
|
filter_packages: framework_packages_to_document,
|
||||||
}
|
}
|
||||||
|
|
||||||
stubs_defaults {
|
stubs_defaults {
|
||||||
|
|||||||
Reference in New Issue
Block a user