blob: df83d1dfed793a610478a8915e2b826dc9b8e3ba [file] [log] [blame]
Kiran Gundaa7032222021-03-24 15:50:49 +05301ifeq ($(HAPTICS_OFFLOAD_SUPPORT),true)
2QTI_VIBRATOR_HAL_SERVICE := \
3 vendor.qti.hardware.vibrator.offload.service
4else
Fenglin Wuadda2bc2020-03-12 09:13:18 +08005QTI_VIBRATOR_HAL_SERVICE := \
Fenglin Wua7baae42020-06-30 15:59:56 +08006 vendor.qti.hardware.vibrator.service
Kiran Gundaa7032222021-03-24 15:50:49 +05307endif
Fenglin Wuadda2bc2020-03-12 09:13:18 +08008PRODUCT_PACKAGES += $(QTI_VIBRATOR_HAL_SERVICE)
Fenglin Wu8051b1d2020-03-05 19:31:14 +08009
Naveen S Nair7b511132021-05-24 17:47:59 +053010ifneq ($(BOARD_OPENSOURCE_DIR), )
11 PRODUCT_COPY_FILES += \
12 $(BOARD_OPENSOURCE_DIR)/vibrator/excluded-input-devices.xml:vendor/etc/excluded-input-devices.xml
13else
14 PRODUCT_COPY_FILES += \
Fenglin Wu8051b1d2020-03-05 19:31:14 +080015 vendor/qcom/opensource/vibrator/excluded-input-devices.xml:vendor/etc/excluded-input-devices.xml
Naveen S Nair7b511132021-05-24 17:47:59 +053016endif # BOARD_OPENSOURCE_DIR