summaryrefslogtreecommitdiffstats
path: root/core/product.mk
diff options
context:
space:
mode:
authorYing Wang <wangying@google.com>2012-09-27 13:26:25 -0700
committerYing Wang <wangying@google.com>2012-09-27 15:17:41 -0700
commit157a5e1695593f935c3223430f4530e21f990378 (patch)
tree9569c7cd4fc523d5c6f359cc09215e9d3a4a93cd /core/product.mk
parent8feadde7853cba3603aa298b0549b6a62a971164 (diff)
downloadbuild-157a5e1695593f935c3223430f4530e21f990378.zip
build-157a5e1695593f935c3223430f4530e21f990378.tar.gz
build-157a5e1695593f935c3223430f4530e21f990378.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 'core/product.mk')
-rw-r--r--core/product.mk7
1 files changed, 6 insertions, 1 deletions
diff --git a/core/product.mk b/core/product.mk
index c0e6e3e..b934826 100644
--- a/core/product.mk
+++ b/core/product.mk
@@ -16,7 +16,12 @@
#
# Functions for including AndroidProducts.mk files
-#
+# 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.
#
# Returns the list of all AndroidProducts.mk files.