Skip check_vintf_system_deps if not building system image
There's no point testing the system vintf boundary on a system image -less target. Bug: 326354182 Bug: 326359088 Test: Build a system image -less target Change-Id: I1ef71f93acb1e7a6252ae14e18c30cb23cb08db2
This commit is contained in:
@@ -5110,6 +5110,7 @@ $(error EMPTY_VENDOR_SKU_PLACEHOLDER is an internal variable and cannot be used
|
||||
endif
|
||||
|
||||
# -- Check system and system_ext manifests / matrices including fragments (excluding other framework manifests / matrices, e.g. product);
|
||||
ifdef BUILDING_SYSTEM_IMAGE
|
||||
check_vintf_system_deps := $(filter $(TARGET_OUT)/etc/vintf/% \
|
||||
$(TARGET_OUT_SYSTEM_EXT)/etc/vintf/%, \
|
||||
$(check_vintf_common_srcs))
|
||||
@@ -5139,6 +5140,8 @@ $(call declare-1p-target,$(vintffm_log))
|
||||
endif # check_vintf_system_deps
|
||||
check_vintf_system_deps :=
|
||||
|
||||
endif # BUILDING_SYSTEM_IMAGE
|
||||
|
||||
# -- Check vendor manifest / matrix including fragments (excluding other device manifests / matrices)
|
||||
check_vintf_vendor_deps := $(filter $(TARGET_OUT_VENDOR)/etc/vintf/% \
|
||||
$(TARGET_OUT_VENDOR)/apex/%, \
|
||||
|
Reference in New Issue
Block a user