diff options
author | Paul Duffin <paulduffin@google.com> | 2020-05-26 09:21:47 +0000 |
---|---|---|
committer | Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com> | 2020-05-26 09:21:47 +0000 |
commit | 66edffebab54ef8230e7ee709dd810b4c6671057 (patch) | |
tree | 9fb3986b884f941cf9749ae58302eff3cb385b68 /apex/Android.bp | |
parent | a0a768a035906fdad3fade592d27fe42d82f997e (diff) | |
parent | 393133b01ceae527e0456953eae194136b295a48 (diff) |
Merge "Disable shared library support for framework modules" into rvc-dev am: 393133b01c
Change-Id: I04d416e2e29636fad605caa09dd34291167269b4
Diffstat (limited to 'apex/Android.bp')
-rw-r--r-- | apex/Android.bp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/apex/Android.bp b/apex/Android.bp index 92c7a4f31f6b..860a1b7b6a96 100644 --- a/apex/Android.bp +++ b/apex/Android.bp @@ -71,6 +71,11 @@ java_defaults { // stubs libraries. libs: ["framework-annotations-lib"], + // Framework modules are not generally shared libraries, i.e. they are not + // intended, and must not be allowed, to be used in a <uses-library> manifest + // entry. + shared_library: false, + // Enable api lint. This will eventually become the default for java_sdk_library // but it cannot yet be turned on because some usages have not been cleaned up. // TODO(b/156126315) - Remove when no longer needed. |