main.mk: Allow overriding subdirs via make variable TARGET_SUBDIRS

Change-Id: I9e1523833e1567a59b19482c7834fe30479a009f
Signed-off-by: Mike Lockwood <lockwood@android.com>
This commit is contained in:
Mike Lockwood
2011-09-01 16:02:54 -04:00
parent a09c24db71
commit 2d50524a01

View File

@@ -480,11 +480,16 @@ subdirs := \
external/zlib
else # !BUILD_TINY_ANDROID
ifneq ($(TARGET_SUBDIRS),)
subdirs := $(TARGET_SUBDIRS)
else
#
# Typical build; include any Android.mk files we can find.
#
subdirs := $(TOP)
endif # !TARGET_SUBDIRS
FULL_BUILD := true
endif # !BUILD_TINY_ANDROID