diff options
author | Anton Hansson <hansson@google.com> | 2020-03-28 16:51:13 +0000 |
---|---|---|
committer | Android (Google) Code Review <android-gerrit@google.com> | 2020-03-28 16:51:13 +0000 |
commit | 26c1b004da3d1dbd3ae4ddf2f7f874605869941e (patch) | |
tree | c315d5c1635a32e04e2b13b963289f7196ed6df8 /apex/Android.bp | |
parent | 95955373b8380d12d7019936a863fd7071cdf62b (diff) | |
parent | f79b08b7ab2915a7c1cd4ba2b0195c3003b558af (diff) |
Merge "Limit framework module api packages" into rvc-dev
Diffstat (limited to 'apex/Android.bp')
-rw-r--r-- | apex/Android.bp | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/apex/Android.bp b/apex/Android.bp index d0889efc0405..5f418d47f090 100644 --- a/apex/Android.bp +++ b/apex/Android.bp @@ -26,6 +26,20 @@ mainline_stubs_args = "--hide Typo " + "--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. mainline_framework_stubs_args = mainline_stubs_args + @@ -54,6 +68,7 @@ stubs_defaults { args: mainline_framework_stubs_args, installable: false, sdk_version: "current", + filter_packages: framework_packages_to_document, check_api: { current: { api_file: "api/current.txt", @@ -72,6 +87,7 @@ stubs_defaults { libs: ["framework-annotations-lib"], installable: false, sdk_version: "system_current", + filter_packages: framework_packages_to_document, check_api: { current: { api_file: "api/system-current.txt", @@ -125,6 +141,7 @@ stubs_defaults { libs: ["framework-annotations-lib"], installable: false, sdk_version: "module_current", + filter_packages: framework_packages_to_document, check_api: { current: { api_file: "api/module-lib-current.txt", @@ -143,6 +160,7 @@ stubs_defaults { libs: ["framework-annotations-lib"], installable: false, sdk_version: "module_current", + filter_packages: framework_packages_to_document, } stubs_defaults { |