(SHIFT) Revert "Add roomservice"
This reverts commit ae5320c66479548bed982e1d4391bad4e46f710c.
Change-Id: Ic61a590613e53585689026cdc76a8f25110a446a
Signed-off-by: Alexander Martinz <amartinz@shiftphones.com>
diff --git a/envsetup.sh b/envsetup.sh
index fc392fe..c281bff 100644
--- a/envsetup.sh
+++ b/envsetup.sh
@@ -767,20 +767,7 @@
return 1
fi
- if ! check_product $product
- then
- # if we can't find a product, try to grab it off the LineageOS GitHub
- T=$(gettop)
- cd $T > /dev/null
- vendor/lineage/build/tools/roomservice.py $product
- cd - > /dev/null
- check_product $product
- else
- T=$(gettop)
- cd $T > /dev/null
- vendor/lineage/build/tools/roomservice.py $product true
- cd - > /dev/null
- fi
+ check_product $product
TARGET_PRODUCT=$product \
TARGET_BUILD_VARIANT=$variant \
@@ -792,15 +779,6 @@
then
echo "Did you mean -${product/*_/}? (dash instead of underscore)"
fi
- echo
- echo "** Don't have a product spec for: '$product'"
- echo "** Do you have the right repo manifest?"
- product=
- fi
-
- if [ -z "$product" -o -z "$variant" ]
- then
- echo
return 1
fi
export TARGET_PRODUCT=$(get_build_var TARGET_PRODUCT)