forked from openkylin/platform_build
Merge "Detect leaks on host by default."
This commit is contained in:
commit
c600707e99
|
@ -33,9 +33,7 @@ Invoke ". build/envsetup.sh" from your shell to add the following functions to y
|
|||
- refreshmod: Refresh list of modules for allmod/gomod.
|
||||
|
||||
Environment options:
|
||||
- SANITIZE_HOST: Set to 'true' to use ASAN for all host modules. Note that
|
||||
ASAN_OPTIONS=detect_leaks=0 will be set by default until the
|
||||
build is leak-check clean.
|
||||
- SANITIZE_HOST: Set to 'true' to use ASAN for all host modules.
|
||||
- ANDROID_QUIET_BUILD: set to 'true' to display only the essential messages.
|
||||
|
||||
Look at the source to view more functions. The complete list is:
|
||||
|
@ -333,7 +331,6 @@ function set_stuff_for_environment()
|
|||
export ANDROID_BUILD_TOP=$(gettop)
|
||||
# With this environment variable new GCC can apply colors to warnings/errors
|
||||
export GCC_COLORS='error=01;31:warning=01;35:note=01;36:caret=01;32:locus=01:quote=01'
|
||||
export ASAN_OPTIONS=detect_leaks=0
|
||||
}
|
||||
|
||||
function set_sequence_number()
|
||||
|
|
Loading…
Reference in New Issue