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 /dalvikvm | |
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 'dalvikvm')
-rw-r--r-- | dalvikvm/Android.mk | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/dalvikvm/Android.mk b/dalvikvm/Android.mk index 239e746..8afd443 100644 --- a/dalvikvm/Android.mk +++ b/dalvikvm/Android.mk @@ -35,6 +35,7 @@ LOCAL_ADDITIONAL_DEPENDENCIES += art/build/Android.common.mk LOCAL_MULTILIB := both LOCAL_MODULE_STEM_32 := dalvikvm32 LOCAL_MODULE_STEM_64 := dalvikvm64 +LOCAL_NATIVE_COVERAGE := $(ART_COVERAGE) include $(BUILD_EXECUTABLE) # Create symlink for the primary version target. @@ -67,6 +68,7 @@ LOCAL_IS_HOST_MODULE := true LOCAL_MULTILIB := both LOCAL_MODULE_STEM_32 := dalvikvm32 LOCAL_MODULE_STEM_64 := dalvikvm64 +LOCAL_NATIVE_COVERAGE := $(ART_COVERAGE) include $(BUILD_HOST_EXECUTABLE) # Create symlink for the primary version target. |