diff options
author | Dan Albert <danalbert@google.com> | 2014-09-30 16:56:43 -0700 |
---|---|---|
committer | Dan Albert <danalbert@google.com> | 2014-09-30 16:56:43 -0700 |
commit | 12e3f22c7c17d9d23e1720c9d23b9ee09c7528c6 (patch) | |
tree | 9b017dc3da7652fd2bf106b14a2457e2b6254397 /libm | |
parent | 701cf9419b4df92bd959bbc6f18150f6ae76df7c (diff) | |
download | bionic-12e3f22c7c17d9d23e1720c9d23b9ee09c7528c6.zip bionic-12e3f22c7c17d9d23e1720c9d23b9ee09c7528c6.tar.gz bionic-12e3f22c7c17d9d23e1720c9d23b9ee09c7528c6.tar.bz2 |
Add coverage flag for libm.
Change-Id: I195d38c5e1f50d1cc6d4353dc8857f11b803b7a3
Diffstat (limited to 'libm')
-rw-r--r-- | libm/Android.mk | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/libm/Android.mk b/libm/Android.mk index 60f4cb8..69a17a1 100644 --- a/libm/Android.mk +++ b/libm/Android.mk @@ -1,6 +1,8 @@ ifneq ($(TARGET_USE_PRIVATE_LIBM),true) LOCAL_PATH:= $(call my-dir) +bionic_coverage := false + # TODO: this comes from from upstream's libc, not libm, but it's an # implementation detail that should have hidden visibility, so it needs # to be in whatever library the math code is in. @@ -273,6 +275,8 @@ LOCAL_C_INCLUDES += $(libm_common_includes) LOCAL_SRC_FILES := $(libm_common_src_files) LOCAL_SYSTEM_SHARED_LIBRARIES := libc +LOCAL_NATIVE_COVERAGE := $(bionic_coverage) + # arch-specific settings LOCAL_C_INCLUDES_arm := $(LOCAL_PATH)/arm LOCAL_SRC_FILES_arm := arm/fenv.c @@ -306,6 +310,8 @@ LOCAL_ADDITIONAL_DEPENDENCIES := $(LOCAL_PATH)/Android.mk LOCAL_SYSTEM_SHARED_LIBRARIES := libc LOCAL_WHOLE_STATIC_LIBRARIES := libm +LOCAL_NATIVE_COVERAGE := $(bionic_coverage) + # We'd really like to do this for all architectures, but since this wasn't done # before, these symbols must continue to be exported on LP32 for binary # compatibility. |