Remove some dist targets from PDK builds

Remove apps.zip and package_stats.txt from the PDK build, they
fail because no apps or jar files are built.

Remove emulator.zip, the emulator is not built.

Also, put recovery.img back into the PDK build, it is needed by
the img.zip target, and will be necessary for fusion builds.

Change-Id: Ie314e0432881d3ee4f1ef3eec5a98be6b8581572
This commit is contained in:
Colin Cross 2012-03-29 14:31:08 -07:00
parent 51cf729aad
commit 971c246cb5
1 changed files with 8 additions and 6 deletions

View File

@ -719,9 +719,6 @@ bootimage: $(INSTALLED_BOOTIMAGE_TARGET)
ifeq ($(BUILD_TINY_ANDROID), true)
INSTALLED_RECOVERYIMAGE_TARGET :=
endif
ifneq ($(TARGET_BUILD_PDK),)
INSTALLED_RECOVERYIMAGE_TARGET :=
endif
# Build files and then package it into the rom formats
.PHONY: droidcore
@ -769,9 +766,6 @@ else # TARGET_BUILD_APPS
$(INTERNAL_UPDATE_PACKAGE_TARGET) \
$(INTERNAL_OTA_PACKAGE_TARGET) \
$(SYMBOLS_ZIP) \
$(APPS_ZIP) \
$(INTERNAL_EMULATOR_PACKAGE_TARGET) \
$(PACKAGE_STATS_FILE) \
$(INSTALLED_FILES_FILE) \
$(INSTALLED_BUILD_PROP_TARGET) \
$(BUILT_TARGET_FILES_PACKAGE) \
@ -780,6 +774,14 @@ else # TARGET_BUILD_APPS
$(INSTALLED_FACTORY_RAMDISK_TARGET) \
)
ifneq ($(TARGET_BUILD_PDK),true)
$(call dist-for-goals, droidcore, \
$(APPS_ZIP) \
$(INTERNAL_EMULATOR_PACKAGE_TARGET) \
$(PACKAGE_STATS_FILE) \
)
endif
# Building a full system-- the default is to build droidcore
droid: droidcore dist_files