Merge "Only dist recovery_ramdisk if BOARD_USES_RECOVERY_AS_BOOT"

This commit is contained in:
Treehugger Robot 2019-12-23 23:32:38 +00:00 committed by Gerrit Code Review
commit 9de27595ec
1 changed files with 6 additions and 1 deletions

View File

@ -1531,7 +1531,6 @@ else # TARGET_BUILD_APPS
$(INSTALLED_ANDROID_INFO_TXT_TARGET) \
$(INSTALLED_MISC_INFO_TARGET) \
$(INSTALLED_RAMDISK_TARGET) \
$(recovery_ramdisk) \
)
# Put a copy of the radio/bootloader files in the dist dir.
@ -1567,6 +1566,12 @@ else # TARGET_BUILD_APPS
)
endif
ifeq ($(BOARD_USES_RECOVERY_AS_BOOT),true)
$(call dist-for-goals, droidcore, \
$(recovery_ramdisk) \
)
endif
ifeq ($(EMMA_INSTRUMENT),true)
$(JACOCO_REPORT_CLASSES_ALL) : $(INSTALLED_SYSTEMIMAGE_TARGET)
$(call dist-for-goals, dist_files, $(JACOCO_REPORT_CLASSES_ALL))