Source tequila specific envsetup
Change-Id: I39d3e711a6beab47e3284919a9a4fef15b0f40b9
This commit is contained in:
parent
3fe78dc9b3
commit
a118060197
1 changed files with 8 additions and 1 deletions
9
bin/hmm
9
bin/hmm
|
@ -16,6 +16,7 @@
|
||||||
|
|
||||||
# Common script utilities
|
# Common script utilities
|
||||||
source $(cd $(dirname $BASH_SOURCE) &> /dev/null && pwd)/../../make/shell_utils.sh
|
source $(cd $(dirname $BASH_SOURCE) &> /dev/null && pwd)/../../make/shell_utils.sh
|
||||||
|
source $ANDROID_BUILD_TOP/vendor/tequila/build/soong/bin/hmm
|
||||||
|
|
||||||
cat <<EOF
|
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.
|
- refreshmod: Refresh list of modules for allmod/gomod/pathmod/outmod/installmod.
|
||||||
- syswrite: Remount partitions (e.g. system.img) as writable, rebooting if necessary.
|
- syswrite: Remount partitions (e.g. system.img) as writable, rebooting if necessary.
|
||||||
|
|
||||||
|
EOF
|
||||||
|
|
||||||
|
__print_tequila_functions_help
|
||||||
|
|
||||||
|
cat <<EOF
|
||||||
|
|
||||||
Environment options:
|
Environment options:
|
||||||
- SANITIZE_HOST: Set to 'address' to use ASAN for all host modules.
|
- SANITIZE_HOST: Set to 'address' to use ASAN for all host modules.
|
||||||
- ANDROID_QUIET_BUILD: set to 'true' to display only the essential messages.
|
- 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
|
EOF
|
||||||
T=$(gettop)
|
T=$(gettop)
|
||||||
A=""
|
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"
|
A="$A $i"
|
||||||
done
|
done
|
||||||
echo $A
|
echo $A
|
||||||
|
|
Loading…
Reference in a new issue