Fix libgcov.a dependency
Now that Soong is generating libgcov.a, we need a dependency here. Change-Id: Ie8d97339fd584eed178cc57b9333d38754ab1135
This commit is contained in:
parent
3a04e1b82f
commit
7db70a3b0a
1 changed files with 9 additions and 8 deletions
|
@ -537,9 +537,6 @@ ifeq ($(NATIVE_COVERAGE),true)
|
|||
my_cflags += --coverage -O0
|
||||
my_ldflags += --coverage
|
||||
endif
|
||||
else
|
||||
my_native_coverage := false
|
||||
endif
|
||||
|
||||
ifeq ($(my_clang),true)
|
||||
my_coverage_lib := $($(LOCAL_2ND_ARCH_VAR_PREFIX)$(my_prefix)LIBPROFILE_RT)
|
||||
|
@ -548,6 +545,10 @@ else
|
|||
endif
|
||||
|
||||
$(LOCAL_INTERMEDIATE_TARGETS): PRIVATE_TARGET_COVERAGE_LIB := $(my_coverage_lib)
|
||||
$(LOCAL_INTERMEDIATE_TARGETS): $(my_coverage_lib)
|
||||
else
|
||||
my_native_coverage := false
|
||||
endif
|
||||
|
||||
###########################################################
|
||||
## Define PRIVATE_ variables used by multiple module types
|
||||
|
|
Loading…
Reference in a new issue