blob: 1368a0784790fccaa50812520c04cf21912e04c6 [file] [log] [blame]
Jeff Brown061cf752010-11-18 20:52:43 -08001#
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.
8ifeq ($(TARGET_BUILD_APPS),)
9
10LOCAL_PATH:= $(call my-dir)
11include $(CLEAR_VARS)
12
13LOCAL_SRC_FILES := \
14 Main.cpp
15
16LOCAL_CFLAGS := -Wall -Werror
17
18#LOCAL_C_INCLUDES +=
19
20LOCAL_STATIC_LIBRARIES := \
21 libui \
22 libutils \
23 libcutils
24
25ifeq ($(HOST_OS),linux)
Iliyan Malchev64ef6b42011-10-19 22:35:56 -070026LOCAL_LDLIBS += -ldl -lpthread
Jeff Brown061cf752010-11-18 20:52:43 -080027endif
28
29LOCAL_MODULE := validatekeymaps
30LOCAL_MODULE_TAGS := optional
31
32include $(BUILD_HOST_EXECUTABLE)
33
34endif # TARGET_BUILD_APPS