Merge "Remove duplicate in unbundled build moduels defined in TARGET_BUILD_APPS." into main am: 8c656ae6f8

Original change: https://android-review.googlesource.com/c/platform/build/+/2698935

Change-Id: Iaa468455fde8a56470df9c2e05f9803ea97e6fea
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
This commit is contained in:
Treehugger Robot
2023-08-09 00:11:19 +00:00
committed by Automerger Merge Worker

View File

@@ -1717,7 +1717,7 @@ else ifneq ($(TARGET_BUILD_APPS),)
# 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)
unbundled_build_modules := $(sort $(TARGET_BUILD_APPS))
endif
# Dist the installed files if they exist.