Copy soong java prebuilts to classes-pre-proguard.jar
Some robolectric rules assume that classes-pre-proguard.jar exists. Soong doesn't support proguard yet, so copy classes.jar to classes-pre-proguard.jar for now. Bug: 69917341 Test: m checkbuild tests Change-Id: I818363ec13c2e5e1c4ab5bd6389ea4687de953eb
This commit is contained in:
parent
e05e6df136
commit
6d0ca1f6cc
1 changed files with 2 additions and 0 deletions
|
@ -16,10 +16,12 @@ include $(BUILD_SYSTEM)/base_rules.mk
|
|||
#######################################
|
||||
|
||||
full_classes_jar := $(intermediates.COMMON)/classes.jar
|
||||
full_classes_pre_proguard_jar := $(intermediates.COMMON)/classes-pre-proguard.jar
|
||||
full_classes_header_jar := $(intermediates.COMMON)/classes-header.jar
|
||||
common_javalib.jar := $(intermediates.COMMON)/javalib.jar
|
||||
|
||||
$(eval $(call copy-one-file,$(LOCAL_PREBUILT_MODULE_FILE),$(full_classes_jar)))
|
||||
$(eval $(call copy-one-file,$(LOCAL_PREBUILT_MODULE_FILE),$(full_classes_pre_proguard_jar)))
|
||||
|
||||
ifdef LOCAL_SOONG_JACOCO_REPORT_CLASSES_JAR
|
||||
$(eval $(call copy-one-file,$(LOCAL_SOONG_JACOCO_REPORT_CLASSES_JAR),\
|
||||
|
|
Loading…
Reference in a new issue