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>
Sun, 2 Nov 2014 16:51:49 +0000 (16:51 +0000)
commite9dd9f2bfceed3b5f630b0edbe3feb7f34548d8b
treeb31f1dff7cec0a62864b6d56bf993d0aabebd190
parente4cbc2af5f476d9eb875253584260bed807acddf
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: Ic2c1d20572a93bd98dbc72f8a39e26b459e442c2
core/android_manifest.mk
core/clear_vars.mk
core/java.mk
core/package_internal.mk
core/prebuilt_internal.mk