Jeff Brown | 061cf75 | 2010-11-18 20:52:43 -0800 | [diff] [blame] | 1 | # |
| 2 | # Copyright 2010 The Android Open Source Project |
| 3 | # |
| 4 | # Keymap validation tool. |
| 5 | # |
| 6 | |
| 7 | # This tool is prebuilt if we're doing an app-only build. |
| 8 | ifeq ($(TARGET_BUILD_APPS),) |
| 9 | |
| 10 | LOCAL_PATH:= $(call my-dir) |
| 11 | include $(CLEAR_VARS) |
| 12 | |
| 13 | LOCAL_SRC_FILES := \ |
| 14 | Main.cpp |
| 15 | |
| 16 | LOCAL_CFLAGS := -Wall -Werror |
| 17 | |
Jeff Brown | 061cf75 | 2010-11-18 20:52:43 -0800 | [diff] [blame] | 18 | LOCAL_STATIC_LIBRARIES := \ |
Jeff Brown | 9d3b1a4 | 2013-07-01 19:07:15 -0700 | [diff] [blame] | 19 | libinput \ |
Jeff Brown | 061cf75 | 2010-11-18 20:52:43 -0800 | [diff] [blame] | 20 | libutils \ |
Ying Wang | d685894 | 2013-04-09 21:54:12 -0700 | [diff] [blame] | 21 | libcutils \ |
| 22 | liblog |
Jeff Brown | 061cf75 | 2010-11-18 20:52:43 -0800 | [diff] [blame] | 23 | |
| 24 | ifeq ($(HOST_OS),linux) |
Iliyan Malchev | 64ef6b4 | 2011-10-19 22:35:56 -0700 | [diff] [blame] | 25 | LOCAL_LDLIBS += -ldl -lpthread |
Jeff Brown | 061cf75 | 2010-11-18 20:52:43 -0800 | [diff] [blame] | 26 | endif |
| 27 | |
| 28 | LOCAL_MODULE := validatekeymaps |
| 29 | LOCAL_MODULE_TAGS := optional |
| 30 | |
| 31 | include $(BUILD_HOST_EXECUTABLE) |
| 32 | |
| 33 | endif # TARGET_BUILD_APPS |