Merge "Use c and cpp objects for gcov."
am: d579b8eb1f
Change-Id: I6490b5b6c443952ac672847df8748df31e5933ff
This commit is contained in:
commit
425bbada28
1 changed files with 10 additions and 2 deletions
|
@ -1859,6 +1859,14 @@ endif
|
||||||
# Coverage packaging.
|
# Coverage packaging.
|
||||||
###########################################################
|
###########################################################
|
||||||
ifeq ($(my_native_coverage),true)
|
ifeq ($(my_native_coverage),true)
|
||||||
LOCAL_GCNO_FILES := $(patsubst %.o,%.gcno,$(all_objects))
|
my_gcno_objects := \
|
||||||
$(foreach f,$(all_objects),$(eval $(call gcno-touch-rule,$(f),$(f:.o=.gcno))))
|
$(cpp_objects) \
|
||||||
|
$(gen_cpp_objects) \
|
||||||
|
$(c_objects) \
|
||||||
|
$(gen_c_objects) \
|
||||||
|
$(objc_objects) \
|
||||||
|
$(objcpp_objects)
|
||||||
|
|
||||||
|
LOCAL_GCNO_FILES := $(patsubst %.o,%.gcno,$(my_gcno_objects))
|
||||||
|
$(foreach f,$(my_gcno_objects),$(eval $(call gcno-touch-rule,$(f),$(f:.o=.gcno))))
|
||||||
endif
|
endif
|
||||||
|
|
Loading…
Reference in a new issue