Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit c600707e authored by Steven Moreland's avatar Steven Moreland Committed by Gerrit Code Review
Browse files

Merge "Detect leaks on host by default."

parents a59a948d 8f0a62ab
Loading
Loading
Loading
Loading
+1 −4
Original line number Original line Diff line number Diff line
@@ -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.
- refreshmod: Refresh list of modules for allmod/gomod.


Environment options:
Environment options:
- SANITIZE_HOST: Set to 'true' to use ASAN for all host modules. Note that
- SANITIZE_HOST: Set to 'true' to use ASAN for all host modules.
                 ASAN_OPTIONS=detect_leaks=0 will be set by default until the
                 build is leak-check clean.
- ANDROID_QUIET_BUILD: set to 'true' to display only the essential messages.
- ANDROID_QUIET_BUILD: set to 'true' to display only the essential messages.


Look at the source to view more functions. The complete list is:
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)
    export ANDROID_BUILD_TOP=$(gettop)
    # With this environment variable new GCC can apply colors to warnings/errors
    # 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 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()
function set_sequence_number()