From c28ceeeaf9d5085b36146e6930d23aa1c0d34d17 Mon Sep 17 00:00:00 2001 From: Roger Liao Date: Fri, 12 Apr 2019 03:31:08 +0800 Subject: Display and Media HAL shared between U3 and P19 Add os_pickup.mk and os_pickup.bp to control access to all sm8150p projects. For share codebase between U3 and P19. Move prop_pickup.mk and prop_pickup.bp to non-shared git: gps Bug:130263006 Bug:130263419 Change-Id: Ib0784cf215fd745703a83446b14b4cd43f27dc58 --- os_pickup.mk | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 os_pickup.mk (limited to 'os_pickup.mk') diff --git a/os_pickup.mk b/os_pickup.mk new file mode 100644 index 0000000..07b3fd0 --- /dev/null +++ b/os_pickup.mk @@ -0,0 +1,16 @@ +ifeq ($(PRODUCT_PLATFORM),sm8150p) +LOCAL_PATH := $(call my-dir) +subdir_makefiles=$(call first-makefiles-under,$(LOCAL_PATH)) + +SKIP_BUILD_DIRS += \ + hardware/qcom/sm8150p/display \ + hardware/qcom/sm8150p/media + +SKIP_MAKEFILES := $(call all-named-subdir-makefiles, $(SKIP_BUILD_DIRS)) +subdir_makefiles := $(filter-out $(SKIP_MAKEFILES), $(subdir_makefiles)) + +subdir_makefiles += hardware/qcom/sm8150/display/Android.mk \ + hardware/qcom/sm8150/media/Android.mk + +$(foreach mk,$(subdir_makefiles),$(info including $(mk) ...)$(eval include $(mk))) +endif -- cgit v1.2.3