upload android base code part4
This commit is contained in:
parent
b9e30e05b1
commit
78ea2404cd
23455 changed files with 5250148 additions and 0 deletions
34
android/hardware/libhardware/tests/input/evdev/Android.mk
Normal file
34
android/hardware/libhardware/tests/input/evdev/Android.mk
Normal file
|
@ -0,0 +1,34 @@
|
|||
LOCAL_PATH:= $(call my-dir)
|
||||
include $(CLEAR_VARS)
|
||||
|
||||
LOCAL_C_INCLUDES += hardware/libhardware/modules/input/evdev
|
||||
|
||||
LOCAL_SRC_FILES:= \
|
||||
BitUtils_test.cpp \
|
||||
InputDevice_test.cpp \
|
||||
InputHub_test.cpp \
|
||||
InputMocks.cpp \
|
||||
MouseInputMapper_test.cpp \
|
||||
SwitchInputMapper_test.cpp \
|
||||
TestHelpers.cpp
|
||||
|
||||
LOCAL_STATIC_LIBRARIES := libgmock
|
||||
|
||||
LOCAL_SHARED_LIBRARIES := \
|
||||
libinput_evdev \
|
||||
liblog \
|
||||
libutils
|
||||
|
||||
LOCAL_CLANG := true
|
||||
LOCAL_CFLAGS += -Wall -Wextra -Wno-unused-parameter
|
||||
LOCAL_CPPFLAGS += -std=c++14
|
||||
|
||||
# TestHelpers uses mktemp. As the path is given to TempFile, we can't do too much
|
||||
# here (e.g., use mkdtemp first). At least races will lead to an early failure, as
|
||||
# mkfifo fails on existing files.
|
||||
LOCAL_CFLAGS += -Wno-deprecated-declarations
|
||||
|
||||
LOCAL_MODULE := libinput_evdevtests
|
||||
LOCAL_MODULE_TAGS := tests
|
||||
|
||||
include $(BUILD_NATIVE_TEST)
|
Loading…
Add table
Add a link
Reference in a new issue