Fix libgcov.a dependency

Now that Soong is generating libgcov.a, we need a dependency here.

Change-Id: Ie8d97339fd584eed178cc57b9333d38754ab1135
This commit is contained in:
Dan Willemsen 2016-08-23 06:53:47 +00:00
parent 3a04e1b82f
commit 7db70a3b0a

View file

@ -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