diff options
author | Anton Hansson <hansson@google.com> | 2020-10-14 14:43:03 +0000 |
---|---|---|
committer | Gerrit Code Review <noreply-gerritcodereview@google.com> | 2020-10-14 14:43:03 +0000 |
commit | ae26decc8ef661b5afdc47db62bdbf0bbdd1a534 (patch) | |
tree | ea03640bad3e40041be9caccbad791068da4a678 /StubLibraries.bp | |
parent | b7aee190a5b41020c5a18f72a337443f16ea59ac (diff) | |
parent | 84ffba267e16ca776614d6e6960ebee1e2e3122c (diff) |
Merge "Have test_current be a union of system and test APIs"
Diffstat (limited to 'StubLibraries.bp')
-rw-r--r-- | StubLibraries.bp | 6 |
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", |