Source tequila specific envsetup

Change-Id: I39d3e711a6beab47e3284919a9a4fef15b0f40b9
This commit is contained in:
Michael Bestas 2016-08-26 00:37:02 +03:00 committed by Bartłomiej Rudecki
parent 3fe78dc9b3
commit a118060197

View file

@ -16,6 +16,7 @@
# Common script utilities
source $(cd $(dirname $BASH_SOURCE) &> /dev/null && pwd)/../../make/shell_utils.sh
source $ANDROID_BUILD_TOP/vendor/tequila/build/soong/bin/hmm
cat <<EOF
@ -66,6 +67,12 @@ Invoke ". build/envsetup.sh" from your shell to add the following functions to y
- refreshmod: Refresh list of modules for allmod/gomod/pathmod/outmod/installmod.
- syswrite: Remount partitions (e.g. system.img) as writable, rebooting if necessary.
EOF
__print_tequila_functions_help
cat <<EOF
Environment options:
- SANITIZE_HOST: Set to 'address' to use ASAN for all host modules.
- ANDROID_QUIET_BUILD: set to 'true' to display only the essential messages.
@ -74,7 +81,7 @@ Look at the source to view more functions. The complete list is:
EOF
T=$(gettop)
A=""
for i in `cat $T/build/envsetup.sh | sed -n "/^[[:blank:]]*function /s/function \([a-z_]*\).*/\1/p" | sort | uniq`; do
for i in `cat $T/build/envsetup.sh $T/vendor/tequila/build/envsetup.sh | sed -n "/^[[:blank:]]*function /s/function \([a-z_]*\).*/\1/p" | sort | uniq`; do
A="$A $i"
done
echo $A