forked from openkylin/platform_build
am b2fe30f0: am c955834a: am c048c9b5: default empty tapas to TARGET_BUILD_APPS "all"
Merge commit 'b2fe30f05ee9f4ca27a0039a44e3fb3a64c0fc88' * commit 'b2fe30f05ee9f4ca27a0039a44e3fb3a64c0fc88': default empty tapas to TARGET_BUILD_APPS "all"
This commit is contained in:
commit
6ae5c1b512
|
@ -690,8 +690,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
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue