summaryrefslogtreecommitdiff
path: root/os_pickup.mk
diff options
context:
space:
mode:
authorRoger Liao <rogerliao@google.com>2019-04-12 03:31:08 +0800
committerRoger Liao <rogerliao@google.com>2019-04-12 12:28:39 +0800
commitc28ceeeaf9d5085b36146e6930d23aa1c0d34d17 (patch)
tree1cf2fdfdb5e11987e0d0f6598310465f801fdfca /os_pickup.mk
parent3841febd4914de5eebb3e41f45c4872d9ac7de41 (diff)
downloadgps-c28ceeeaf9d5085b36146e6930d23aa1c0d34d17.tar.gz
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
Diffstat (limited to 'os_pickup.mk')
-rw-r--r--os_pickup.mk16
1 files changed, 16 insertions, 0 deletions
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