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 | |
| 18 | #LOCAL_C_INCLUDES += |
| 19 | |
| 20 | LOCAL_STATIC_LIBRARIES := \ |
| 21 | libui \ |
| 22 | libutils \ |
| 23 | libcutils |
| 24 | |
| 25 | ifeq ($(HOST_OS),linux) |
| 26 | LOCAL_LDLIBS += -lpthread |
| 27 | endif |
| 28 | |
| 29 | LOCAL_MODULE := validatekeymaps |
| 30 | LOCAL_MODULE_TAGS := optional |
| 31 | |
| 32 | include $(BUILD_HOST_EXECUTABLE) |
| 33 | |
| 34 | endif # TARGET_BUILD_APPS |