summaryrefslogtreecommitdiffstats
path: root/target/product/AndroidProducts.mk
diff options
context:
space:
mode:
Diffstat (limited to 'target/product/AndroidProducts.mk')
-rw-r--r--target/product/AndroidProducts.mk7
1 files changed, 7 insertions, 0 deletions
diff --git a/target/product/AndroidProducts.mk b/target/product/AndroidProducts.mk
index 2774968..798c35c 100644
--- a/target/product/AndroidProducts.mk
+++ b/target/product/AndroidProducts.mk
@@ -25,9 +25,16 @@
# it includes.
#
+ifeq ($(strip $(is_unbundled_app_build)),true)
+# An unbundled app build needs only generic.mk.
+PRODUCT_MAKEFILES := \
+ $(LOCAL_DIR)/core.mk \
+ $(LOCAL_DIR)/generic.mk
+else
PRODUCT_MAKEFILES := \
$(LOCAL_DIR)/core.mk \
$(LOCAL_DIR)/generic.mk \
$(LOCAL_DIR)/full.mk \
$(LOCAL_DIR)/sdk.mk \
$(LOCAL_DIR)/sim.mk
+endif