summaryrefslogtreecommitdiff
path: root/StubLibraries.bp
diff options
context:
space:
mode:
authorMakoto Onuki <omakoto@google.com>2020-07-15 15:26:06 +0000
committerGerrit Code Review <noreply-gerritcodereview@google.com>2020-07-15 15:26:06 +0000
commit06b1ba180d1f0ae2ee66516ca782f65934fb0950 (patch)
tree3494e1444489798b60ff9c506b8a6d08e1e2dea8 /StubLibraries.bp
parentce458af9d06d54dcb23b34a748f3fb4b940ed1f9 (diff)
parenta13287f5737186ea04b94795827cb2f0a2275228 (diff)
Merge "Proper API hierarchy between MODULE_LIBS and PRIV_APPS system APIs"
Diffstat (limited to 'StubLibraries.bp')
-rw-r--r--StubLibraries.bp8
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