Lines Matching refs:variant
71 # check to see if the supplied variant is valid
220 local variant=$TARGET_BUILD_VARIANT
223 export PROMPT_COMMAND="echo -ne \"\033]0;[${arch}-${product}-${variant}] ${USER}@${HOSTNAME}: ${PWD}\007\""
225 export PROMPT_COMMAND="echo -ne \"\033]0;[$arch $apps $variant] ${USER}@${HOSTNAME}: ${PWD}\007\""
351 echo "Variant choices are:"
387 echo "** Not a valid variant: $ANSWER"
500 local variant=$(echo -n $selection | sed -e "s/^[^\-]*-//")
501 check_variant $variant
505 echo "** Invalid variant: '$variant'"
507 variant=
510 if [ -z "$product" -o -z "$variant" ]
517 export TARGET_BUILD_VARIANT=$variant
544 local variant=$(echo -n $(echo $* | xargs -n 1 echo | \grep -E '^(user|userdebug|eng)$'))
551 if [ $(echo $variant | wc -w) -gt 1 ]; then
552 echo "tapas: Error: Multiple build variants supplied: $variant"
562 if [ -z "$variant" ]; then
563 variant=eng
570 export TARGET_BUILD_VARIANT=$variant