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 |
Tim Kilbourn | 4f3145d | 2015-05-04 17:26:30 -0700 | [diff] [blame] | 5 | LOCAL_C_INCLUDES += $(TOP)/external/gmock/include |
Tim Kilbourn | 73475a4 | 2015-02-13 10:35:20 -0800 | [diff] [blame] | 6 | |
| 7 | LOCAL_SRC_FILES:= \ |
Tim Kilbourn | dbc8c16 | 2015-05-19 15:04:30 -0700 | [diff] [blame] | 8 | BitUtils_test.cpp \ |
Tim Kilbourn | 73475a4 | 2015-02-13 10:35:20 -0800 | [diff] [blame] | 9 | InputDevice_test.cpp \ |
| 10 | InputHub_test.cpp \ |
Tim Kilbourn | 3186e7b | 2015-04-16 15:32:08 -0700 | [diff] [blame] | 11 | InputMocks.cpp \ |
Tim Kilbourn | 4f3145d | 2015-05-04 17:26:30 -0700 | [diff] [blame] | 12 | SwitchInputMapper_test.cpp \ |
Tim Kilbourn | 73475a4 | 2015-02-13 10:35:20 -0800 | [diff] [blame] | 13 | TestHelpers.cpp |
| 14 | |
Tim Kilbourn | 4f3145d | 2015-05-04 17:26:30 -0700 | [diff] [blame] | 15 | LOCAL_STATIC_LIBRARIES := libgmock |
| 16 | |
Tim Kilbourn | 73475a4 | 2015-02-13 10:35:20 -0800 | [diff] [blame] | 17 | LOCAL_SHARED_LIBRARIES := \ |
| 18 | libinput_evdev \ |
| 19 | liblog \ |
| 20 | libutils |
| 21 | |
| 22 | LOCAL_CLANG := true |
| 23 | LOCAL_CFLAGS += -Wall -Wextra -Wno-unused-parameter |
| 24 | LOCAL_CPPFLAGS += -std=c++14 |
| 25 | |
| 26 | LOCAL_MODULE := libinput_evdevtests |
| 27 | LOCAL_MODULE_TAGS := tests |
| 28 | |
| 29 | include $(BUILD_NATIVE_TEST) |