Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 8beb26d5 authored by Ryan Campbell's avatar Ryan Campbell Committed by android-build-merger
Browse files

Merge "Use c and cpp objects for gcov." am: d579b8eb am: 425bbada

am: 74ec2776

Change-Id: Ibc591b89c7c674dd9afaa98acff994eec2faa2fd
parents b5d70b3a 74ec2776
Loading
Loading
Loading
Loading
+10 −2
Original line number Diff line number Diff line
@@ -1859,6 +1859,14 @@ endif
# Coverage packaging.
###########################################################
ifeq ($(my_native_coverage),true)
LOCAL_GCNO_FILES := $(patsubst %.o,%.gcno,$(all_objects))
$(foreach f,$(all_objects),$(eval $(call gcno-touch-rule,$(f),$(f:.o=.gcno))))
my_gcno_objects := \
    $(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