summaryrefslogtreecommitdiff
path: root/StubLibraries.bp
diff options
context:
space:
mode:
authorAnton Hansson <hansson@google.com>2020-10-14 14:43:03 +0000
committerGerrit Code Review <noreply-gerritcodereview@google.com>2020-10-14 14:43:03 +0000
commitae26decc8ef661b5afdc47db62bdbf0bbdd1a534 (patch)
treeea03640bad3e40041be9caccbad791068da4a678 /StubLibraries.bp
parentb7aee190a5b41020c5a18f72a337443f16ea59ac (diff)
parent84ffba267e16ca776614d6e6960ebee1e2e3122c (diff)
Merge "Have test_current be a union of system and test APIs"
Diffstat (limited to 'StubLibraries.bp')
-rw-r--r--StubLibraries.bp6
1 files changed, 5 insertions, 1 deletions
diff --git a/StubLibraries.bp b/StubLibraries.bp
index 34f8b39a11b8..97fa28fc9e97 100644
--- a/StubLibraries.bp
+++ b/StubLibraries.bp
@@ -229,7 +229,11 @@ droidstubs {
arg_files: [
"core/res/AndroidManifest.xml",
],
- args: metalava_framework_docs_args + " --show-annotation android.annotation.TestApi",
+ args: metalava_framework_docs_args
+ + " --show-annotation android.annotation.TestApi"
+ + " --show-for-stub-purposes-annotation android.annotation.SystemApi\\("
+ + "client=android.annotation.SystemApi.Client.PRIVILEGED_APPS"
+ + "\\)",
check_api: {
current: {
api_file: "api/test-current.txt",