am e1f37ba0: am 55edb20e: Merge "Dist apkcerts.txt for unbundled builds" into froyo

Merge commit 'e1f37ba0cfb0bcd8c463d0d85ccbbbbec4cc5bc4' into gingerbread-plus-aosp

* commit 'e1f37ba0cfb0bcd8c463d0d85ccbbbbec4cc5bc4':
  Dist apkcerts.txt for unbundled builds
This commit is contained in:
Ying Wang 2010-07-29 10:30:13 -07:00 committed by Android Git Automerger
commit 33c11ac3f1
1 changed files with 7 additions and 0 deletions

View File

@ -206,7 +206,12 @@ APKCERTS_FILE := $(intermediates)/$(name).txt
# but it should guarantee that the apkcerts file is rebuilt
# if any packages change which certs they're signed with.
all_built_packages := $(foreach p,$(PACKAGES),$(ALL_MODULES.$(p).BUILT))
ifneq ($(TARGET_BUILD_APPS),)
# We don't need to really build all the modules for apps_only build.
$(APKCERTS_FILE):
else
$(APKCERTS_FILE): $(all_built_packages)
endif
@echo APK certs list: $@
@mkdir -p $(dir $@)
@rm -f $@
@ -220,6 +225,8 @@ $(APKCERTS_FILE): $(all_built_packages)
.PHONY: apkcerts-list
apkcerts-list: $(APKCERTS_FILE)
$(call dist-for-goals, apps_only, $(APKCERTS_FILE):apkcerts.txt)
# -----------------------------------------------------------------
# module info file
ifdef CREATE_MODULE_INFO_FILE