Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 66582887 authored by Ying Wang's avatar Ying Wang Committed by Android Git Automerger
Browse files

am c048c9b5: default empty tapas to TARGET_BUILD_APPS "all"

Merge commit 'c048c9b5' into froyo-plus-aosp

* commit 'c048c9b5':
  default empty tapas to TARGET_BUILD_APPS "all"
parents bf77b694 c048c9b5
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -491,6 +491,8 @@ ALL_MODULES += $(LOCAL_MODULE)

# Don't use += on subvars, or else they'll end up being
# recursively expanded.
ALL_MODULES.$(LOCAL_MODULE).CLASS := \
    $(ALL_MODULES.$(LOCAL_MODULE).CLASS) $(LOCAL_MODULE_CLASS)
ALL_MODULES.$(LOCAL_MODULE).PATH := \
    $(ALL_MODULES.$(LOCAL_MODULE).PATH) $(LOCAL_PATH)
ALL_MODULES.$(LOCAL_MODULE).TAGS := \
+2 −3
Original line number Diff line number Diff line
@@ -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
@@ -784,4 +784,3 @@ modules:
.PHONY: showcommands
showcommands:
	@echo >/dev/null
+3 −0
Original line number Diff line number Diff line
@@ -546,6 +546,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