blob: df83d1dfed793a610478a8915e2b826dc9b8e3ba [file] [log] [blame]
ifeq ($(HAPTICS_OFFLOAD_SUPPORT),true)
QTI_VIBRATOR_HAL_SERVICE := \
vendor.qti.hardware.vibrator.offload.service
else
QTI_VIBRATOR_HAL_SERVICE := \
vendor.qti.hardware.vibrator.service
endif
PRODUCT_PACKAGES += $(QTI_VIBRATOR_HAL_SERVICE)
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