Tim Kilbourn | 73475a4 | 2015-02-13 10:35:20 -0800 | [diff] [blame] | 1 | LOCAL_PATH:= $(call my-dir) |
| 2 | include $(CLEAR_VARS) |
| 3 | |
| 4 | LOCAL_C_INCLUDES += hardware/libhardware/modules/input/evdev |
| 5 | |
| 6 | LOCAL_SRC_FILES:= \ |
| 7 | InputDevice_test.cpp \ |
| 8 | InputHub_test.cpp \ |
| 9 | TestHelpers.cpp |
| 10 | |
| 11 | LOCAL_SHARED_LIBRARIES := \ |
| 12 | libinput_evdev \ |
| 13 | liblog \ |
| 14 | libutils |
| 15 | |
| 16 | LOCAL_CLANG := true |
| 17 | LOCAL_CFLAGS += -Wall -Wextra -Wno-unused-parameter |
| 18 | LOCAL_CPPFLAGS += -std=c++14 |
| 19 | |
Andreas Gampe | 1aa58f9 | 2015-12-16 14:17:44 -0800 | [diff] [blame^] | 20 | # TestHelpers uses mktemp. As the path is given to TempFile, we can't do too much |
| 21 | # here (e.g., use mkdtemp first). At least races will lead to an early failure, as |
| 22 | # mkfifo fails on existing files. |
| 23 | LOCAL_CFLAGS += -Wno-deprecated-declarations |
| 24 | |
Tim Kilbourn | 73475a4 | 2015-02-13 10:35:20 -0800 | [diff] [blame] | 25 | LOCAL_MODULE := libinput_evdevtests |
| 26 | LOCAL_MODULE_TAGS := tests |
| 27 | |
| 28 | include $(BUILD_NATIVE_TEST) |