OSDN Git Service

Add support for prebuilt AARs.
authorYing Wang <wangying@google.com>
Wed, 29 Oct 2014 22:48:32 +0000 (15:48 -0700)
committerYing Wang <wangying@google.com>
Wed, 29 Oct 2014 23:40:52 +0000 (23:40 +0000)
commitf56729250448200834c5c95c86c937e887d73623
tree6f015fdb97441180dae69a6b3e88c6f64b091a00
parentc9594afa930e5400d35bbf24a17cb9be8d978888
Add support for prebuilt AARs.

- You can give a .aar as source file to a prebuilt static Java library
  module. The build system will set up dependencies and rules to extract
  classes.jar and other resource files.
- To build against a prebuilt AAR module, use:
  LOCAL_STATIC_JAVA_AAR_LIBRARIES := <module names of aar prebuilt AARs>
  The build system will set up rules to merge the library's
  AndroidManifest.xml with the main AndroidManifest.xml, add the AAR's
  resource dirs and link/merge the AAR's classes.jar.

Bug: 18168693
Change-Id: I478913d5d498f800b322529d7c2c2c0ea78425e5
core/android_manifest.mk
core/clear_vars.mk
core/java.mk
core/package_internal.mk
core/prebuilt_internal.mk