forked from openkylin/platform_build
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:
commit
b795dfe23a
|
@ -172,10 +172,10 @@ $(noshrob_classes_jack) $(full_classes_jack) $(jack_check_timestamp) \
|
||||||
built_aar := $(intermediates.COMMON)/javalib.aar
|
built_aar := $(intermediates.COMMON)/javalib.aar
|
||||||
$(built_aar): PRIVATE_MODULE := $(LOCAL_MODULE)
|
$(built_aar): PRIVATE_MODULE := $(LOCAL_MODULE)
|
||||||
$(built_aar): PRIVATE_ANDROID_MANIFEST := $(full_android_manifest)
|
$(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_RESOURCE_DIR := $(LOCAL_RESOURCE_DIR)
|
||||||
$(built_aar): PRIVATE_R_TXT := $(LOCAL_INTERMEDIATE_SOURCE_DIR)/R.txt
|
$(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) ($@)"
|
@echo "target AAR: $(PRIVATE_MODULE) ($@)"
|
||||||
$(hide) rm -rf $(dir $@)aar && mkdir -p $(dir $@)aar/res
|
$(hide) rm -rf $(dir $@)aar && mkdir -p $(dir $@)aar/res
|
||||||
$(hide) cp $(PRIVATE_ANDROID_MANIFEST) $(dir $@)aar/AndroidManifest.xml
|
$(hide) cp $(PRIVATE_ANDROID_MANIFEST) $(dir $@)aar/AndroidManifest.xml
|
||||||
|
|
Loading…
Reference in New Issue