Include classes.jar with class files in aar. am: 8419b7f

am: edb0724

* commit 'edb07245a6a68f98d2078f18c33bb8682e8adf0e':
  Include classes.jar with class files in aar.

Change-Id: Ice54b6a68225342c7ff02814ccf55eb2b56d86bc
This commit is contained in:
Ying Wang 2016-04-12 23:03:47 +00:00 committed by android-build-merger
commit b795dfe23a
1 changed files with 2 additions and 2 deletions

View File

@ -172,10 +172,10 @@ $(noshrob_classes_jack) $(full_classes_jack) $(jack_check_timestamp) \
built_aar := $(intermediates.COMMON)/javalib.aar
$(built_aar): PRIVATE_MODULE := $(LOCAL_MODULE)
$(built_aar): PRIVATE_ANDROID_MANIFEST := $(full_android_manifest)
$(built_aar): PRIVATE_CLASSES_JAR := $(LOCAL_BUILT_MODULE)
$(built_aar): PRIVATE_CLASSES_JAR := $(full_classes_jar)
$(built_aar): PRIVATE_RESOURCE_DIR := $(LOCAL_RESOURCE_DIR)
$(built_aar): PRIVATE_R_TXT := $(LOCAL_INTERMEDIATE_SOURCE_DIR)/R.txt
$(built_aar) : $(LOCAL_BUILT_MODULE)
$(built_aar) : $(full_classes_jar) $(full_android_manifest)
@echo "target AAR: $(PRIVATE_MODULE) ($@)"
$(hide) rm -rf $(dir $@)aar && mkdir -p $(dir $@)aar/res
$(hide) cp $(PRIVATE_ANDROID_MANIFEST) $(dir $@)aar/AndroidManifest.xml