No description
Find a file
Dan Albert 4bbc6c790b Add option for generating coverage info.
To enable building with coverage, the environment variable
NATIVE_COVERAGE must be set to true.

Set `LOCAL_NATIVE_COVERAGE := true` to generate coverage information for
a given component.

This is currently not supported for clang (b/17574078, b/17583330).

If static library A is included in a binary B (dynamic or static
executable, or shared library), and A is built with coverage
information, B is required to link with libgcov.a. Since the make does
not offer a good way to track this dependency, link libgcov.a even if
LOCAL_NATIVE_COVERAGE is not set (but still guarded by NATIVE_COVERAGE).
This ensures that all of the libgcov dependencies will always be
resolved, and causes no change in the resulting binary if coverage is
not used.

Bug: 10134489
Change-Id: Id5a19f2c215e4be80e6eae27ecc19b582f2f6813
2014-09-23 15:19:02 -07:00
core Add option for generating coverage info. 2014-09-23 15:19:02 -07:00
libs/host Support host multilib build 2014-05-14 16:55:04 -07:00
target Remove the vbox target from the build system. 2014-09-10 15:10:31 -07:00
tools Merge "Move selection of C++ STL into the build system." 2014-09-18 23:51:53 +00:00
.gitignore add a .gitignore file to make git ignore *.pyc files 2010-01-22 10:23:45 -08:00
buildspec.mk.default Remove WEBCORE_INSTRUMENTATION and ENABLE_SVG 2013-07-25 15:52:17 -07:00
CleanSpec.mk Move from dalvik.vm.image-dex2oat-flags to dalvik.vm.dex2oat-filter [build] 2014-07-30 15:57:16 -07:00
envsetup.sh Fix mma/mmma by making gettop canonicalize TOP when set 2014-09-12 09:37:25 -07:00