commit | b1b4e1e38b3a1d094de5515eaae2c7e6b6e542ed | [log] [tgz] |
---|---|---|
author | Pirama Arumuga Nainar <pirama@google.com> | Fri Dec 10 15:26:16 2021 -0800 |
committer | Pirama Arumuga Nainar <pirama@google.com> | Fri Dec 10 15:29:37 2021 -0800 |
tree | 07f5778e4c812d1ea5e9ba1f45e363b7fd2a355a | |
parent | 598cbbcde724845c16363c9f2e55e6f6f35da894 [diff] |
Set a BIONIC_COVERAGE .mk variable Bug: http://b/194128476 Bug: http://b/210012154 Set BIONIC_COVERAGE to true if coverage instrumentation is enabled for bionic/libc. This is used in system/core/rootdir/Android.mk to set the default LLVM_PROFILE_FILE environment. Test: Run tests with this topic and verify coverage still works and also test memory-mapped coverage (death tests, JNI code in CTS) Change-Id: I585f3e43dfcb82dd3c211051d354dd79ee77b1fb
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.