Merge "Disable shared library support for framework modules" into rvc-dev am: 393133b01c am: 687a5077d8 am: d49589bf31

Change-Id: Ie30e76946a28c727bf606aaf354784bfd02f1355
This commit is contained in:
Paul Duffin
2020-05-26 09:29:51 +00:00
committed by Automerger Merge Worker

View File

@@ -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.