Switch gcnodir name from basename to just removing .so
$(basename) was catching all of the hidl services that have versions like "1.0" in their name, marking the .0-service portion as a suffix to be removed. Instead just remove ".so" and assume that everything else isn't actually a suffix. Bug: 69271974 Test: NATIVE_COVERAGE=true COVERAGE_PATHS=hardware/interfaces m; compare ninja files Change-Id: I76e27d9ab1f9d4862cc2607c5f2ed9c121879421
This commit is contained in:
parent
cbf6fd55bf
commit
ba9badf8ec
1 changed files with 1 additions and 1 deletions
|
@ -216,7 +216,7 @@ ifneq (,$(strip $(LOCAL_PREBUILT_COVERAGE_ARCHIVE)))
|
|||
else
|
||||
my_coverage_path := $(TARGET_OUT_COVERAGE)/$(patsubst $(PRODUCT_OUT)/%,%,$(my_module_path))
|
||||
endif
|
||||
my_coverage_path := $(my_coverage_path)/$(basename $(my_installed_module_stem)).gcnodir
|
||||
my_coverage_path := $(my_coverage_path)/$(patsubst %.so,%,$(my_installed_module_stem)).gcnodir
|
||||
$(eval $(call copy-one-file,$(LOCAL_PREBUILT_COVERAGE_ARCHIVE),$(my_coverage_path)))
|
||||
$(LOCAL_BUILT_MODULE): $(my_coverage_path)
|
||||
endif
|
||||
|
|
Loading…
Reference in a new issue