Loading core/product_config.mk +4 −0 Original line number Diff line number Diff line Loading @@ -189,6 +189,8 @@ else all_product_configs := $(get-all-product-makefiles) endif all_named_products := # Find the product config makefile for the current product. # all_product_configs consists items like: # <product_name>:<path_to_the_product_makefile> Loading @@ -202,9 +204,11 @@ $(foreach f, $(all_product_configs),\ $(eval _cpm_word2 := $(word 2,$(_cpm_words)))\ $(if $(_cpm_word2),\ $(eval all_product_makefiles += $(_cpm_word2))\ $(eval all_named_products += $(_cpm_word2))\ $(if $(filter $(TARGET_PRODUCT),$(_cpm_word1)),\ $(eval current_product_makefile += $(_cpm_word2)),),\ $(eval all_product_makefiles += $(f))\ $(eval all_named_products += $(basename $(notdir $(f))))\ $(if $(filter $(TARGET_PRODUCT),$(basename $(notdir $(f)))),\ $(eval current_product_makefile += $(f)),))) _cpm_words := Loading tools/kati_all_products.sh 0 → 100755 +7 −0 Original line number Diff line number Diff line #!/bin/bash -e cd $ANDROID_BUILD_TOP mkdir -p out.kati source build/envsetup.sh get_build_var all_named_products | sed "s/ /\n/g" | parallel "$@" --progress "(source build/envsetup.sh; lunch {}-eng && m -j OUT_DIR=out.kati/{} out.kati/{}/build-{}.ninja) >out.kati/log.{} 2>&1" Loading
core/product_config.mk +4 −0 Original line number Diff line number Diff line Loading @@ -189,6 +189,8 @@ else all_product_configs := $(get-all-product-makefiles) endif all_named_products := # Find the product config makefile for the current product. # all_product_configs consists items like: # <product_name>:<path_to_the_product_makefile> Loading @@ -202,9 +204,11 @@ $(foreach f, $(all_product_configs),\ $(eval _cpm_word2 := $(word 2,$(_cpm_words)))\ $(if $(_cpm_word2),\ $(eval all_product_makefiles += $(_cpm_word2))\ $(eval all_named_products += $(_cpm_word2))\ $(if $(filter $(TARGET_PRODUCT),$(_cpm_word1)),\ $(eval current_product_makefile += $(_cpm_word2)),),\ $(eval all_product_makefiles += $(f))\ $(eval all_named_products += $(basename $(notdir $(f))))\ $(if $(filter $(TARGET_PRODUCT),$(basename $(notdir $(f)))),\ $(eval current_product_makefile += $(f)),))) _cpm_words := Loading
tools/kati_all_products.sh 0 → 100755 +7 −0 Original line number Diff line number Diff line #!/bin/bash -e cd $ANDROID_BUILD_TOP mkdir -p out.kati source build/envsetup.sh get_build_var all_named_products | sed "s/ /\n/g" | parallel "$@" --progress "(source build/envsetup.sh; lunch {}-eng && m -j OUT_DIR=out.kati/{} out.kati/{}/build-{}.ninja) >out.kati/log.{} 2>&1"