Merge "Fix libgcov.a dependency"

This commit is contained in:
Treehugger Robot
2016-09-12 19:06:54 +00:00
committed by Gerrit Code Review

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