Kiran Gunda | a703222 | 2021-03-24 15:50:49 +0530 | [diff] [blame] | 1 | ifeq ($(HAPTICS_OFFLOAD_SUPPORT),true) |
| 2 | QTI_VIBRATOR_HAL_SERVICE := \ |
| 3 | vendor.qti.hardware.vibrator.offload.service |
| 4 | else |
Fenglin Wu | adda2bc | 2020-03-12 09:13:18 +0800 | [diff] [blame] | 5 | QTI_VIBRATOR_HAL_SERVICE := \ |
Fenglin Wu | a7baae4 | 2020-06-30 15:59:56 +0800 | [diff] [blame] | 6 | vendor.qti.hardware.vibrator.service |
Kiran Gunda | a703222 | 2021-03-24 15:50:49 +0530 | [diff] [blame] | 7 | endif |
Fenglin Wu | adda2bc | 2020-03-12 09:13:18 +0800 | [diff] [blame] | 8 | PRODUCT_PACKAGES += $(QTI_VIBRATOR_HAL_SERVICE) |
Fenglin Wu | 8051b1d | 2020-03-05 19:31:14 +0800 | [diff] [blame] | 9 | |
Naveen S Nair | 7b51113 | 2021-05-24 17:47:59 +0530 | [diff] [blame] | 10 | ifneq ($(BOARD_OPENSOURCE_DIR), ) |
| 11 | PRODUCT_COPY_FILES += \ |
| 12 | $(BOARD_OPENSOURCE_DIR)/vibrator/excluded-input-devices.xml:vendor/etc/excluded-input-devices.xml |
| 13 | else |
| 14 | PRODUCT_COPY_FILES += \ |
Fenglin Wu | 8051b1d | 2020-03-05 19:31:14 +0800 | [diff] [blame] | 15 | vendor/qcom/opensource/vibrator/excluded-input-devices.xml:vendor/etc/excluded-input-devices.xml |
Naveen S Nair | 7b51113 | 2021-05-24 17:47:59 +0530 | [diff] [blame] | 16 | endif # BOARD_OPENSOURCE_DIR |