blob: 9af721de97db22e5d2463ef3bbdd70c4117fdf91 [file] [log] [blame]
Adam Lesinski282e1812014-01-23 18:17:42 -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
18LOCAL_STATIC_LIBRARIES := \
19 libinput \
20 libutils \
21 libcutils \
22 liblog
23
24ifeq ($(HOST_OS),linux)
25LOCAL_LDLIBS += -ldl -lpthread
26endif
27
28LOCAL_MODULE := validatekeymaps
29LOCAL_MODULE_TAGS := optional
30
31include $(BUILD_HOST_EXECUTABLE)
32
33endif # TARGET_BUILD_APPS