am c048c9b5: default empty tapas to TARGET_BUILD_APPS "all"

Merge commit 'c048c9b598b36dc7506a954cc0d3d80f308b1b13' into gingerbread

* commit 'c048c9b598b36dc7506a954cc0d3d80f308b1b13':
  default empty tapas to TARGET_BUILD_APPS "all"
This commit is contained in:
Ying Wang 2010-06-24 17:59:32 -07:00 committed by Android Git Automerger
commit c955834ad0
2 changed files with 5 additions and 2 deletions

View File

@ -688,8 +688,8 @@ ifneq ($(TARGET_BUILD_APPS),)
unbundled_build_modules :=
ifneq ($(filter all,$(TARGET_BUILD_APPS)),)
# If they used the magic goal "all" then build everything
unbundled_build_modules := $(sort $(call get-tagged-modules,$(ALL_MODULE_TAGS)))
# If they used the magic goal "all" then build all apps in the source tree.
unbundled_build_modules := $(foreach m,$(sort $(ALL_MODULES)),$(if $(filter APPS,$(ALL_MODULES.$(m).CLASS)),$(m)))
else
unbundled_build_modules := $(TARGET_BUILD_APPS)
endif

View File

@ -559,6 +559,9 @@ function tapas()
if [ -z "$variant" ]; then
variant=eng
fi
if [ -z "$apps" ]; then
apps=all
fi
export TARGET_PRODUCT=generic
export TARGET_BUILD_VARIANT=$variant