1ifeq ($(PRODUCT_PLATFORM),sm8150p) 2ifneq ($(BUILD_WITHOUT_VENDOR), true) 3LOCAL_PATH := $(call my-dir) 4subdir_makefiles=$(call first-makefiles-under,$(LOCAL_PATH)) 5 6SKIP_BUILD_DIRS += \ 7 hardware/qcom/sm8150p/display \ 8 hardware/qcom/sm8150p/media 9 10SKIP_MAKEFILES := $(call all-named-subdir-makefiles, $(SKIP_BUILD_DIRS)) 11subdir_makefiles := $(filter-out $(SKIP_MAKEFILES), $(subdir_makefiles)) 12 13subdir_makefiles += hardware/qcom/sm8150/display/Android.mk \ 14 hardware/qcom/sm8150/media/Android.mk 15 16$(foreach mk,$(subdir_makefiles),$(info including $(mk) ...)$(eval include $(mk))) 17endif 18endif 19