From 6795ca7804ed04e04722a1b28686ac379494f295 Mon Sep 17 00:00:00 2001 From: Devin Moore Date: Thu, 15 Feb 2024 21:30:38 +0000 Subject: [PATCH] consolidate filter commands for check_vintf_vendor_deps It's faster to make one filter call. Test: m Bug: none Change-Id: I629d30d8e63c8ac6d75334acc2b21acce352c43e --- core/Makefile | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/core/Makefile b/core/Makefile index 9e4298e75d..d4e241e35f 100644 --- a/core/Makefile +++ b/core/Makefile @@ -5140,8 +5140,9 @@ endif # check_vintf_system_deps check_vintf_system_deps := # -- Check vendor manifest / matrix including fragments (excluding other device manifests / matrices) -check_vintf_vendor_deps := $(filter $(TARGET_OUT_VENDOR)/etc/vintf/%, $(check_vintf_common_srcs)) -check_vintf_vendor_deps += $(filter $(TARGET_OUT_VENDOR)/apex/%, $(check_vintf_common_srcs)) +check_vintf_vendor_deps := $(filter $(TARGET_OUT_VENDOR)/etc/vintf/% \ + $(TARGET_OUT_VENDOR)/apex/%, \ + $(check_vintf_common_srcs)) ifneq ($(strip $(check_vintf_vendor_deps)),) check_vintf_has_vendor := true check_vintf_vendor_log := $(intermediates)/check_vintf_vendor.log