Merge "Fix libgcov.a dependency" am: f9d5fb97cb
am: 4b9f214a7b
am: 64deaba889
Change-Id: I3648ae9652438dddde23afb7bd6392751bbae442
This commit is contained in:
commit
2277a46756
1 changed files with 9 additions and 8 deletions
|
@ -537,18 +537,19 @@ ifeq ($(NATIVE_COVERAGE),true)
|
|||
my_cflags += --coverage -O0
|
||||
my_ldflags += --coverage
|
||||
endif
|
||||
|
||||
ifeq ($(my_clang),true)
|
||||
my_coverage_lib := $($(LOCAL_2ND_ARCH_VAR_PREFIX)$(my_prefix)LIBPROFILE_RT)
|
||||
else
|
||||
my_coverage_lib := $(call intermediates-dir-for,STATIC_LIBRARIES,libgcov,$(filter AUX,$(my_kind)),,$(LOCAL_2ND_ARCH_VAR_PREFIX))/libgcov.a
|
||||
endif
|
||||
|
||||
$(LOCAL_INTERMEDIATE_TARGETS): PRIVATE_TARGET_COVERAGE_LIB := $(my_coverage_lib)
|
||||
$(LOCAL_INTERMEDIATE_TARGETS): $(my_coverage_lib)
|
||||
else
|
||||
my_native_coverage := false
|
||||
endif
|
||||
|
||||
ifeq ($(my_clang),true)
|
||||
my_coverage_lib := $($(LOCAL_2ND_ARCH_VAR_PREFIX)$(my_prefix)LIBPROFILE_RT)
|
||||
else
|
||||
my_coverage_lib := $(call intermediates-dir-for,STATIC_LIBRARIES,libgcov,$(filter AUX,$(my_kind)),,$(LOCAL_2ND_ARCH_VAR_PREFIX))/libgcov.a
|
||||
endif
|
||||
|
||||
$(LOCAL_INTERMEDIATE_TARGETS): PRIVATE_TARGET_COVERAGE_LIB := $(my_coverage_lib)
|
||||
|
||||
###########################################################
|
||||
## Define PRIVATE_ variables used by multiple module types
|
||||
###########################################################
|
||||
|
|
Loading…
Reference in a new issue