diff options
author | Dan Albert <danalbert@google.com> | 2015-01-23 16:12:57 -0800 |
---|---|---|
committer | Dan Albert <danalbert@google.com> | 2015-01-24 13:24:19 -0800 |
commit | 43e128acfc7ad6cbcf8d21e3e2300ce1d43ef5bd (patch) | |
tree | 348c2d48de0321eb29c0c99b9c970b704e8d8867 /core/definitions.mk | |
parent | 6aa932cabf6ed14c35ae49b78464e2504af87c58 (diff) | |
download | build-43e128acfc7ad6cbcf8d21e3e2300ce1d43ef5bd.zip build-43e128acfc7ad6cbcf8d21e3e2300ce1d43ef5bd.tar.gz build-43e128acfc7ad6cbcf8d21e3e2300ce1d43ef5bd.tar.bz2 |
Enable host coverage.
Don't remember why I didn't enable this for the host when I made the
first pass, but it works just fine.
Change-Id: I0892c0bc353bf8b60b432ba9f69f97281177d41d
Diffstat (limited to 'core/definitions.mk')
-rw-r--r-- | core/definitions.mk | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/core/definitions.mk b/core/definitions.mk index 0278150..bbe1d8c 100644 --- a/core/definitions.mk +++ b/core/definitions.mk @@ -1302,6 +1302,7 @@ $(hide) $(PRIVATE_CXX) \ $(if $(PRIVATE_GROUP_STATIC_LIBRARIES),-Wl$(comma)--start-group) \ $(call normalize-host-libraries,$(PRIVATE_ALL_STATIC_LIBRARIES)) \ $(if $(PRIVATE_GROUP_STATIC_LIBRARIES),-Wl$(comma)--end-group) \ + $(if $(filter true,$(NATIVE_COVERAGE)),-lgcov) \ $(call normalize-host-libraries,$(PRIVATE_ALL_SHARED_LIBRARIES)) \ -o $@ \ $(PRIVATE_LDLIBS) @@ -1482,6 +1483,7 @@ $(hide) $(PRIVATE_CXX) \ $(if $(PRIVATE_GROUP_STATIC_LIBRARIES),-Wl$(comma)--start-group) \ $(call normalize-host-libraries,$(PRIVATE_ALL_STATIC_LIBRARIES)) \ $(if $(PRIVATE_GROUP_STATIC_LIBRARIES),-Wl$(comma)--end-group) \ + $(if $(filter true,$(NATIVE_COVERAGE)),-lgcov) \ $(call normalize-host-libraries,$(PRIVATE_ALL_SHARED_LIBRARIES)) \ -Wl,-rpath-link=$($(PRIVATE_2ND_ARCH_VAR_PREFIX)HOST_OUT_INTERMEDIATE_LIBRARIES) \ -Wl,-rpath,\$$ORIGIN/../$(notdir $($(PRIVATE_2ND_ARCH_VAR_PREFIX)HOST_OUT_SHARED_LIBRARIES)) \ |