commit | f00a0dbffc74151891ffd87a249e679197daad42 | [log] [tgz] |
---|---|---|
author | Kyriakos Ispoglou <ispo@google.com> | Thu Feb 06 16:41:49 2020 -0800 |
committer | Kyriakos Ispoglou <ispo@google.com> | Mon Feb 17 11:18:11 2020 -0800 |
tree | 972920cee486e12483e9403e6edd5d41e0622ff0 | |
parent | 9021d5c4b497c546330b1258ffc7c27cf53afaab [diff] |
Add a new make target called `haiku-line-coverage` This CL adds a new make target for line coverage, That is, by running `make haiku-line-coverage` you can get a set of all profile (*.gcno) files for all fuzz targets and for all critical components of Android, packed into a zip called `line_coverage_profiles.zip`. Furthermore the set of all fuzz targets are instrumented with line coverage and packed into another zip called `line_coverage_fuzz_targets.zip` To properly run the make target enable NATIVE_LINE_COVERAGE first: NATIVE_LINE_COVERAGE=true NATIVE_COVERAGE=true COVERAGE_PATHS=* make haiku-line-coverage Bug: b/148234755 Test: Make target buils successfully on master/aosp. Binaries tested on taimen devices. Change-Id: I6a1e11068119337628c2ae5ee3baf2fc394add05
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.