diff options
author | Makoto Onuki <omakoto@google.com> | 2020-07-10 12:05:21 -0700 |
---|---|---|
committer | Makoto Onuki <omakoto@google.com> | 2020-07-15 01:36:38 +0000 |
commit | a13287f5737186ea04b94795827cb2f0a2275228 (patch) | |
tree | 3494e1444489798b60ff9c506b8a6d08e1e2dea8 /StubLibraries.bp | |
parent | ce458af9d06d54dcb23b34a748f3fb4b940ed1f9 (diff) |
Proper API hierarchy between MODULE_LIBS and PRIV_APPS system APIs
Test: build / treehugger
Bug: 146727827
Exempt-From-Owner-Approval: Cherry-picking from goog/master to aosp/master
Merged-in: Ie1ad6711c490c679ebcfacd97154380a8810ba1c
Change-Id: Ie1ad6711c490c679ebcfacd97154380a8810ba1c
Diffstat (limited to 'StubLibraries.bp')
-rw-r--r-- | StubLibraries.bp | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/StubLibraries.bp b/StubLibraries.bp index bb13eaacfa90..b984cb0d0714 100644 --- a/StubLibraries.bp +++ b/StubLibraries.bp @@ -150,6 +150,9 @@ priv_apps = " " + module_libs = " " + " --show-annotation android.annotation.SystemApi\\(" + "client=android.annotation.SystemApi.Client.MODULE_LIBRARIES" + + "\\)" + + " --show-for-stub-purposes-annotation android.annotation.SystemApi\\(" + + "client=android.annotation.SystemApi.Client.PRIVILEGED_APPS" + "\\) " droidstubs { @@ -222,9 +225,8 @@ droidstubs { } ///////////////////////////////////////////////////////////////////// -// Following droidstubs modules are for extra APIs for modules. -// The framework currently have two more API surfaces for modules: -// @SystemApi(client=MODULE_APPS) and @SystemApi(client=MODULE_LIBRARIES) +// Following droidstubs modules are for extra APIs for modules, +// namely @SystemApi(client=MODULE_LIBRARIES) APIs. ///////////////////////////////////////////////////////////////////// // TODO(b/146727827) remove the *-api module when we can teach metalava |