summaryrefslogtreecommitdiffstats
path: root/target
diff options
context:
space:
mode:
authorYing Wang <wangying@google.com>2012-09-27 13:26:25 -0700
committerYing Wang <wangying@google.com>2012-09-28 15:08:12 -0700
commit54fa8c3ff9b1f0f1b0b9c551be864f1b7378c7fc (patch)
tree324f000cc94c926895668eac76ff5fa526771e01 /target
parentf7592d987d38d434a4ad1f43607a2151dad2cd4f (diff)
downloadbuild-54fa8c3ff9b1f0f1b0b9c551be864f1b7378c7fc.zip
build-54fa8c3ff9b1f0f1b0b9c551be864f1b7378c7fc.tar.gz
build-54fa8c3ff9b1f0f1b0b9c551be864f1b7378c7fc.tar.bz2
Load only the current product config makefile.
To reduce the start time. With the change and previous change of doing clean step in only given paths, start time of mm/mmm is reduced from ~5s to about 1s; lunch time is reduced from ~40s to 3.5s. Bug: 7186768,7169854 Change-Id: Ifd72ba1c6362a5e1125a23c505fd47947ab56675
Diffstat (limited to 'target')
-rw-r--r--target/product/AndroidProducts.mk6
1 files changed, 6 insertions, 0 deletions
diff --git a/target/product/AndroidProducts.mk b/target/product/AndroidProducts.mk
index 796b79f..5206aa1 100644
--- a/target/product/AndroidProducts.mk
+++ b/target/product/AndroidProducts.mk
@@ -18,6 +18,12 @@
# This file should set PRODUCT_MAKEFILES to a list of product makefiles
# to expose to the build system. LOCAL_DIR will already be set to
# the directory containing this file.
+# PRODUCT_MAKEFILES is set up in AndroidProducts.mks.
+# Format of PRODUCT_MAKEFILES:
+# <product_name>:<path_to_the_product_makefile>
+# If the <product_name> is the same as the base file name (without dir
+# and the .mk suffix) of the product makefile, "<product_name>:" can be
+# omitted.
#
# This file may not rely on the value of any variable other than
# LOCAL_DIR; do not use any conditionals, and do not look up the