Files
device_oplus_mt6893-common/vibrator/Android.mk
subhagamer 13eb29d066 ossi: vibrator: Split the vibrator SEQ type
* Add TARGET_VIBRATOR_ALT_SEQ_TYPE := true into device tree for using alternative seq type.
* Normal vibrator seq values from: 6bf17a2808
2024-03-27 17:14:53 +09:00

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)