commit | 8f0a62ab3fb1e9c78269f865313f82c353460f88 | [log] [tgz] |
---|---|---|
author | Steven Moreland <smoreland@google.com> | Tue Sep 24 18:28:39 2019 -0700 |
committer | Steven Moreland <smoreland@google.com> | Tue Sep 24 18:28:39 2019 -0700 |
tree | 5f8869a42a670620529cb4dcb9d0b654dbaee447 | |
parent | 465946c5a83e6e5136d14e9bc34581a1f06c607a [diff] |
Detect leaks on host by default. Right now, leaks are disabled globally on host. This is problematic because: a). people write leaks in new code b). if we fix leaks in old code, it doesn't get tested c). fixing leaks in old code is harder because when we set ASAN_OPTIONS="" locally, other targets start hitting errors, and we have to set __asan_default_options there Fixes: 141313466 Test: host ASAN build passes Change-Id: I89298c7518c016e6a30884c75d7b791db16a5217
This is the Makefile-based portion of the Android Build System.
For documentation on how to run a build, see Usage.txt
For a list of behavioral changes useful for Android.mk writers see Changes.md
For an outdated reference on Android.mk files, see build-system.html. Our Android.mk files look similar, but are entirely different from the Android.mk files used by the NDK build system. When searching for documentation elsewhere, ensure that it is for the platform build system -- most are not.
This Makefile-based system is in the process of being replaced with Soong, a new build system written in Go. During the transition, all of these makefiles are read by Kati, and generate a ninja file instead of being executed directly. That's combined with a ninja file read by Soong so that the build graph of the two systems can be combined and run as one.