1aa58f9ef9
Fix some warnings. Silence another. Less build noise. Change-Id: Ibdbba093c2aca45343bfbe72c551b15d0f94e1b5
28 lines
721 B
Makefile
28 lines
721 B
Makefile
LOCAL_PATH:= $(call my-dir)
|
|
include $(CLEAR_VARS)
|
|
|
|
LOCAL_C_INCLUDES += hardware/libhardware/modules/input/evdev
|
|
|
|
LOCAL_SRC_FILES:= \
|
|
InputDevice_test.cpp \
|
|
InputHub_test.cpp \
|
|
TestHelpers.cpp
|
|
|
|
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)
|