Merge "Enable coverage only when LOCAL_SDK_VERSION > 23" am: 5aab10f40d
am: f5119676e9
Change-Id: I5b9d563e8656da3137ae9749aaf45ffae6ac9de5
This commit is contained in:
commit
80381f8a06
1 changed files with 8 additions and 0 deletions
|
@ -257,6 +257,14 @@ ifneq ($(LOCAL_SDK_VERSION),)
|
|||
else # LOCAL_NDK_STL_VARIANT must be none
|
||||
# Do nothing.
|
||||
endif
|
||||
|
||||
# Clang's coverage/profile runtime needs symbols like 'stderr' that were not
|
||||
# exported from libc prior to API level 23
|
||||
ifneq ($(my_ndk_api),current)
|
||||
ifeq ($(call math_lt, $(my_ndk_api),23),true)
|
||||
my_native_coverage := false
|
||||
endif
|
||||
endif
|
||||
endif
|
||||
|
||||
ifneq ($(LOCAL_USE_VNDK),)
|
||||
|
|
Loading…
Reference in a new issue