aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDmitriy Ivanov <dimitry@google.com>2014-03-10 18:00:09 -0700
committerDmitriy Ivanov <dimitry@google.com>2014-03-28 08:36:07 -0700
commitba9a7b37ffac9156693ae0ceeef37b1f167cb1d6 (patch)
tree596b402d2fe18a698f10c3208d7f3588cc5ef5c6
parentd5475a33c50b35a4f9fa81001232d1fc0a9b29db (diff)
downloadcompiler-rt-ba9a7b37ffac9156693ae0ceeef37b1f167cb1d6.tar.gz
Build libprofile_rt to enable code coverage
Change-Id: I99239cf5e43c78fc06d6ad9f3b6718531baa2983
-rw-r--r--Android.mk11
1 files changed, 11 insertions, 0 deletions
diff --git a/Android.mk b/Android.mk
index e1d57130b..8e432d3a4 100644
--- a/Android.mk
+++ b/Android.mk
@@ -323,6 +323,17 @@ LOCAL_ADDITIONAL_DEPENDENCIES := $(LOCAL_PATH)/Android.mk
include $(BUILD_STATIC_LIBRARY)
#=====================================================================
+# Device Static Library: libprofile_rt
+#=====================================================================
+
+include $(CLEAR_VARS)
+
+LOCAL_MODULE = libprofile_rt
+LOCAL_SRC_FILES = lib/profile/GCDAProfiling.c
+
+include $(BUILD_STATIC_LIBRARY)
+
+#=====================================================================
# Device Shared Library: libcompiler_rt
#=====================================================================