Skip VNDK variant check on coverage builds.

Coverage builds result in different core and vendor variants due to
different coverage metadata from static libraries. Skip this check only
on coverage builds.

Bug: 143977934
Test: m CLANG_COVERAGE=true COVERAGE_PATHS='*'
Change-Id: I906745e951b36a87cedf998a93bdc390196a606e
This commit is contained in:
Oliver Nguyen 2020-02-24 15:18:45 -08:00
parent 9581181338
commit 4a4c834b09

View file

@ -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