From 127eae76bc756e95e9884f8bcf3ca4ed759573f4 Mon Sep 17 00:00:00 2001 From: Jiyong Park Date: Fri, 1 May 2020 11:21:40 +0900 Subject: [PATCH] rename libvixl to libvixl.com.android.art.debug With I1889653812a980f6a2e3b6b25e7647f7c5919606, libvixl is not available to the platform as it is included in the ART APEX. To use the APEX variant of the library, we use the : notation. Bug: 150999716 Test: m Change-Id: I2206f1c28fc0019c0fd726059aa732145f2998ed --- core/line_coverage.mk | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/core/line_coverage.mk b/core/line_coverage.mk index a32eea6f7..9b0b52860 100644 --- a/core/line_coverage.mk +++ b/core/line_coverage.mk @@ -35,6 +35,7 @@ critical_components_static := \ libvold \ libyuv +# Format is or : critical_components_shared := \ libaudioprocessing \ libbinder \ @@ -47,7 +48,7 @@ critical_components_shared := \ libopus \ libstagefright \ libunwind \ - libvixl + libvixl:com.android.art.debug # Use the intermediates directory to avoid installing libraries to the device. intermediates := $(call intermediates-dir-for,PACKAGING,haiku-line-coverage) @@ -60,7 +61,9 @@ critical_components_static_inputs := $(foreach lib,$(critical_components_static) $(call intermediates-dir-for,STATIC_LIBRARIES,$(lib))/$(lib).a) critical_components_shared_inputs := $(foreach lib,$(critical_components_shared), \ - $(call intermediates-dir-for,SHARED_LIBRARIES,$(lib))/$(lib).so) + $(eval filename := $(call word-colon,1,$(lib))) \ + $(eval modulename := $(subst :,.,$(lib))) \ + $(call intermediates-dir-for,SHARED_LIBRARIES,$(modulename))/$(filename).so) fuzz_target_inputs := $(foreach fuzz,$(fuzz_targets), \ $(call intermediates-dir-for,EXECUTABLES,$(fuzz))/$(fuzz))