From 594c3fc3d795b1ef776c352314d26a079c118f4e Mon Sep 17 00:00:00 2001 From: Dan Willemsen Date: Fri, 24 Feb 2017 15:01:12 -0800 Subject: [PATCH] Fix all_named_products, remove kati_all_products all_named_products was giving the file path instead of product name for the name:path format of PRODUCT_MAKEFILES. kati_all_products has been replaced with multiproduct_kati Test: get_build_var all_named_products Test: multiproduct_kati Change-Id: I24015ef0778ac7cd45201aa55c1737b0553f09fe --- core/product_config.mk | 2 +- tools/kati_all_products.sh | 7 ------- 2 files changed, 1 insertion(+), 8 deletions(-) delete mode 100755 tools/kati_all_products.sh diff --git a/core/product_config.mk b/core/product_config.mk index 8943429c8..b745cc0e3 100644 --- a/core/product_config.mk +++ b/core/product_config.mk @@ -204,7 +204,7 @@ $(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))\ + $(eval all_named_products += $(_cpm_word1))\ $(if $(filter $(TARGET_PRODUCT),$(_cpm_word1)),\ $(eval current_product_makefile += $(_cpm_word2)),),\ $(eval all_product_makefiles += $(f))\ diff --git a/tools/kati_all_products.sh b/tools/kati_all_products.sh deleted file mode 100755 index 4567dbda2..000000000 --- a/tools/kati_all_products.sh +++ /dev/null @@ -1,7 +0,0 @@ -#!/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"