Install JNI coverage outputs from Soong-built apps
This is a cherry-pick change. Test: Built mainline module coverage data Bug: 152117890 Change-Id: Ibb809c3e8b599b467c7176e750e0b78a5bfee38e Merged-In: Ibb809c3e8b599b467c7176e750e0b78a5bfee38e
This commit is contained in:
parent
cc464a4cdb
commit
7c1432ce8a
1 changed files with 7 additions and 0 deletions
|
@ -202,4 +202,11 @@ ifdef LOCAL_SOONG_PRODUCT_RRO_DIRS
|
|||
)
|
||||
endif
|
||||
|
||||
ifdef LOCAL_PREBUILT_COVERAGE_ARCHIVE
|
||||
my_coverage_dir := $(TARGET_OUT_COVERAGE)/$(patsubst $(PRODUCT_OUT)/%,%,$(my_module_path))
|
||||
my_coverage_copy_pairs := $(foreach f,$(LOCAL_PREBUILT_COVERAGE_ARCHIVE),$(f):$(my_coverage_dir)/$(notdir $(f)))
|
||||
my_coverage_files := $(call copy-many-files,$(my_coverage_copy_pairs))
|
||||
$(LOCAL_INSTALLED_MODULE): $(my_coverage_files)
|
||||
endif
|
||||
|
||||
SOONG_ALREADY_CONV := $(SOONG_ALREADY_CONV) $(LOCAL_MODULE)
|
||||
|
|
Loading…
Reference in a new issue