Change phony target name dist_libraries to dist_files.

Any module that does not build in apps_only build should not dist for the
default goal "droid" -- they sould dist for "dist_files" instead.

Change-Id: I8696f1ea803fbd8554ec03352e0ef369f5d7be0d
This commit is contained in:
Ying Wang 2010-12-08 20:07:48 -08:00
parent 1ee80eefc7
commit 228fcef025

View file

@ -735,11 +735,11 @@ droidcore: files \
$(INSTALLED_USERDATAIMAGE_TARGET) \
$(INSTALLED_FILES_FILE)
# dist_libraries only for putting your library into the dist directory with a full build.
.PHONY: dist_libraries
# dist_files only for putting your library into the dist directory with a full build.
.PHONY: dist_files
ifeq ($(EMMA_INSTRUMENT),true)
$(call dist-for-goals, droid, $(EMMA_META_ZIP))
$(call dist-for-goals, dist_files, $(EMMA_META_ZIP))
endif
# Dist for droid if droid is among the cmd goals, or no cmd goal is given.
@ -782,7 +782,7 @@ else # TARGET_BUILD_APPS
)
# Building a full system-- the default is to build droidcore
droid: droidcore dist_libraries
droid: droidcore dist_files
endif # TARGET_BUILD_APPS
endif # droid in $(MAKECMDGOALS)
@ -845,4 +845,3 @@ modules:
.PHONY: showcommands
showcommands:
@echo >/dev/null