summaryrefslogtreecommitdiff
path: root/StubLibraries.bp
diff options
context:
space:
mode:
authorMakoto Onuki <omakoto@google.com>2020-07-15 15:43:34 +0000
committerAutomerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>2020-07-15 15:43:34 +0000
commit1e085a1db446dd7e1d2cb687f5c29320c8371b11 (patch)
tree3494e1444489798b60ff9c506b8a6d08e1e2dea8 /StubLibraries.bp
parentc067772d53a5069124fd332864a8a04d53d073c2 (diff)
parent06b1ba180d1f0ae2ee66516ca782f65934fb0950 (diff)
Merge "Proper API hierarchy between MODULE_LIBS and PRIV_APPS system APIs" am: 06b1ba180d
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1360884 Change-Id: I17d06553e949a9f092bad513ec9880b05d1b38e9
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