summaryrefslogtreecommitdiff
path: root/StubLibraries.bp
diff options
context:
space:
mode:
authorMakoto Onuki <omakoto@google.com>2020-07-15 16:00:22 +0000
committerAutomerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>2020-07-15 16:00:22 +0000
commita553a497fd9dbe01f5b3aba486a2294a723e3b4c (patch)
tree9a32e653975f988c780ff83ff2ae60214feb583b /StubLibraries.bp
parent234605303384991b2237d0ab9ecfe5586d444df2 (diff)
parent1e085a1db446dd7e1d2cb687f5c29320c8371b11 (diff)
Merge "Proper API hierarchy between MODULE_LIBS and PRIV_APPS system APIs" am: 06b1ba180d am: 1e085a1db4
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1360884 Change-Id: Ie45f32b2d46c8ac989a4a9242017eb4c2b73484b
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 9f5b183913c0..35d3a41a2fc4 100644
--- a/StubLibraries.bp
+++ b/StubLibraries.bp
@@ -155,6 +155,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 {
@@ -232,9 +235,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