envsetup: Remove call to deprecated function
This allows us to get rid of the following warning when running `breakfast` command: add_lunch_combo is obsolete. Use COMMON_LUNCH_CHOICES in your AndroidProducts.mk instead. Change-Id: I5b05515465d40b9b77f74c69293a1431c5325f5d
This commit is contained in:
@@ -68,15 +68,6 @@ function breakfast()
|
|||||||
{
|
{
|
||||||
target=$1
|
target=$1
|
||||||
local variant=$2
|
local variant=$2
|
||||||
LINEAGE_DEVICES_ONLY="true"
|
|
||||||
unset LUNCH_MENU_CHOICES
|
|
||||||
add_lunch_combo full-eng
|
|
||||||
for f in `/bin/ls vendor/lineage/vendorsetup.sh 2> /dev/null`
|
|
||||||
do
|
|
||||||
echo "including $f"
|
|
||||||
. $f
|
|
||||||
done
|
|
||||||
unset f
|
|
||||||
|
|
||||||
if [ $# -eq 0 ]; then
|
if [ $# -eq 0 ]; then
|
||||||
# No arguments, so let's have the full menu
|
# No arguments, so let's have the full menu
|
||||||
|
Reference in New Issue
Block a user