diff --git a/core/soong_cc_prebuilt.mk b/core/soong_cc_prebuilt.mk index 190a7edba..f22c5628e 100644 --- a/core/soong_cc_prebuilt.mk +++ b/core/soong_cc_prebuilt.mk @@ -112,7 +112,9 @@ endif my_check_same_vndk_variants := ifeq ($(LOCAL_CHECK_SAME_VNDK_VARIANTS),true) ifeq ($(filter hwaddress address, $(SANITIZE_TARGET)),) - my_check_same_vndk_variants := true + ifneq ($(CLANG_COVERAGE),true) + my_check_same_vndk_variants := true + endif endif endif