Merge "Remove duplicate in unbundled build moduels defined in TARGET_BUILD_APPS." into main

This commit is contained in:
Treehugger Robot
2023-08-08 23:43:06 +00:00
committed by Gerrit Code Review

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.