summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNaveen S Nair <naveensn@codeaurora.org>2021-05-24 17:47:59 +0530
committerNaveen S Nair <naveensn@codeaurora.org>2021-05-24 17:47:59 +0530
commit7b51113fb33aa18bba39f1cf70cf211bbe417df5 (patch)
tree6905770fc7822d9f9994a44b6ce247eec991949e
parentc8f31f143e5ed2bfed4f47193fc7514580e87220 (diff)
vibrator: compilation for new KS sync paths
Compilation for new KS sync paths. Change-Id: If40b18d777172369461a8d62bca45347a37afe15
-rw-r--r--vibrator-vendor-product.mk7
1 files changed, 6 insertions, 1 deletions
diff --git a/vibrator-vendor-product.mk b/vibrator-vendor-product.mk
index 25faaa6..4d97341 100644
--- a/vibrator-vendor-product.mk
+++ b/vibrator-vendor-product.mk
@@ -3,5 +3,10 @@ QTI_VIBRATOR_HAL_SERVICE := \
PRODUCT_PACKAGES += $(QTI_VIBRATOR_HAL_SERVICE)
-PRODUCT_COPY_FILES += \
+ifneq ($(BOARD_OPENSOURCE_DIR), )
+ PRODUCT_COPY_FILES += \
+ $(BOARD_OPENSOURCE_DIR)/vibrator/excluded-input-devices.xml:vendor/etc/excluded-input-devices.xml
+else
+ PRODUCT_COPY_FILES += \
vendor/qcom/opensource/vibrator/excluded-input-devices.xml:vendor/etc/excluded-input-devices.xml
+endif # BOARD_OPENSOURCE_DIR