build: remove unnecessary lunch items

Change-Id: I400f31e2f012fd6f71d1ec2728e9187730d24d20
Signed-off-by: Jyotiraditya Panda <jyotiraditya@aospa.co>
This commit is contained in:
Jake Weinstein 2016-08-30 17:00:43 -04:00 committed by Jake Weinstein
parent 56bce80c6d
commit 546e6cf074
2 changed files with 3 additions and 8 deletions

View File

@ -720,7 +720,7 @@ function lunch()
answer=$1
else
print_lunch_menu
echo "Which would you like? [aosp_arm-eng]"
echo "Which would you like?"
echo -n "Pick from common choices above (e.g. 13) or specify your own (e.g. aosp_barbet-eng): "
read answer
used_lunch_menu=1
@ -730,7 +730,8 @@ function lunch()
if [ -z "$answer" ]
then
selection=aosp_arm-eng
echo -n "\nI didn't understand your response. Please try again.\n"
lunch
elif (echo -n $answer | grep -q -e "^[0-9][0-9]*$")
then
local choices=($(TARGET_BUILD_APPS= get_build_var COMMON_LUNCH_CHOICES))

View File

@ -79,9 +79,3 @@ PRODUCT_MAKEFILES += \
$(LOCAL_DIR)/module_arm64.mk \
$(LOCAL_DIR)/module_x86.mk \
$(LOCAL_DIR)/module_x86_64.mk \
COMMON_LUNCH_CHOICES := \
aosp_arm64-eng \
aosp_arm-eng \
aosp_x86_64-eng \
aosp_x86-eng \