diff options
author | Dan Albert <danalbert@google.com> | 2014-09-30 22:10:10 -0700 |
---|---|---|
committer | Dan Albert <danalbert@google.com> | 2015-01-30 08:57:51 -0800 |
commit | 31fb26054349db03b3f1627fe975ed099ade69dd (patch) | |
tree | 1584fbca9d5099a25ca857531b846f5b05b61de9 /sigchainlib | |
parent | 28acb6feb50951645c37c077bd3897ea760ca322 (diff) | |
download | art-31fb26054349db03b3f1627fe975ed099ade69dd.zip art-31fb26054349db03b3f1627fe975ed099ade69dd.tar.gz art-31fb26054349db03b3f1627fe975ed099ade69dd.tar.bz2 |
Add options for building/testing with coverage.
acov --clean
mm -B NATIVE_COVERAGE=true ART_COVERAGE=true test-art-host
acov --host
-B is needed because you need to be sure you rebuild *all* of ART with
coverage.
Change-Id: Ib94ef610bd1b44dc45624877710ed733051b7a50
Diffstat (limited to 'sigchainlib')
-rw-r--r-- | sigchainlib/Android.mk | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sigchainlib/Android.mk b/sigchainlib/Android.mk index e0f1769..e1aae11 100644 --- a/sigchainlib/Android.mk +++ b/sigchainlib/Android.mk @@ -28,6 +28,7 @@ LOCAL_MODULE:= libsigchain LOCAL_SHARED_LIBRARIES := liblog LOCAL_ADDITIONAL_DEPENDENCIES := $(LOCAL_PATH)/Android.mk LOCAL_ADDITIONAL_DEPENDENCIES += art/build/Android.common_build.mk +LOCAL_NATIVE_COVERAGE := $(ART_COVERAGE) $(eval $(call set-target-local-clang-vars)) include $(BUILD_SHARED_LIBRARY) @@ -56,6 +57,7 @@ LOCAL_MODULE:= libsigchain LOCAL_ADDITIONAL_DEPENDENCIES += $(LOCAL_PATH)/Android.mk LOCAL_LDLIBS = -ldl LOCAL_MULTILIB := both +LOCAL_NATIVE_COVERAGE := $(ART_COVERAGE) include $(BUILD_HOST_SHARED_LIBRARY) include $(CLEAR_VARS) |