mirror of
https://github.com/Evolution-X-Devices/device_oplus_mt6893-common
synced 2026-02-01 04:18:51 +00:00
* Add TARGET_VIBRATOR_ALT_SEQ_TYPE := true into device tree for using alternative seq type.
* Normal vibrator seq values from: 6bf17a2808
31 lines
736 B
Makefile
31 lines
736 B
Makefile
LOCAL_PATH := $(call my-dir)
|
|
|
|
include $(CLEAR_VARS)
|
|
LOCAL_MODULE := android.hardware.vibrator-service.mt6893
|
|
LOCAL_VINTF_FRAGMENTS := android.hardware.vibrator-service.mt6893.xml
|
|
LOCAL_INIT_RC := android.hardware.vibrator-service.mt6893.rc
|
|
LOCAL_VENDOR_MODULE := true
|
|
LOCAL_MODULE_RELATIVE_PATH := hw
|
|
|
|
LOCAL_SRC_FILES := \
|
|
Vibrator.cpp \
|
|
VibratorUtils.cpp \
|
|
main.cpp
|
|
|
|
LOCAL_SHARED_LIBRARIES := \
|
|
libbase \
|
|
libbinder_ndk \
|
|
android.hardware.vibrator-V2-ndk
|
|
|
|
# TODO
|
|
ifeq ($(TARGET_VIBRATOR_SUPPORTS_EFFECTS),true)
|
|
LOCAL_CFLAGS += -DVIBRATOR_SUPPORTS_EFFECTS
|
|
endif
|
|
|
|
# Alternative seq type
|
|
ifeq ($(TARGET_VIBRATOR_ALT_SEQ_TYPE),true)
|
|
LOCAL_CFLAGS += -DVIBRATOR_ALT_SEQ_TYPE
|
|
endif
|
|
|
|
include $(BUILD_EXECUTABLE)
|