omni: 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
diff --git a/build/envsetup.sh b/build/envsetup.sh
index 65f4e6f..810b9a8 100644
--- a/build/envsetup.sh
+++ b/build/envsetup.sh
@@ -28,15 +28,6 @@
{
target=$1
local variant=$2
- CUSTOM_DEVICES_ONLY="true"
- unset LUNCH_MENU_CHOICES
- add_lunch_combo full-eng
- for f in `/bin/ls device/*/*/vendorsetup.sh 2> /dev/null`
- do
- echo "including $f"
- . $f
- done
- unset f
if [ $# -eq 0 ]; then
# No arguments, so let's have the full menu