061cf75884
Also added a validation tool for keymaps (not currently integrated into the build system but getting there). This change brings back Android.mk with the intent that it will be used to validate keymaps in a later change. Added some missing keys that are present on phones. Bug: 3215210 Bug: 3225421 Change-Id: Id817c6e2215164616942c51a42752915d9ceacd3
35 lines
547 B
Makefile
35 lines
547 B
Makefile
#
|
|
# Copyright 2010 The Android Open Source Project
|
|
#
|
|
# Keymap validation tool.
|
|
#
|
|
|
|
# This tool is prebuilt if we're doing an app-only build.
|
|
ifeq ($(TARGET_BUILD_APPS),)
|
|
|
|
LOCAL_PATH:= $(call my-dir)
|
|
include $(CLEAR_VARS)
|
|
|
|
LOCAL_SRC_FILES := \
|
|
Main.cpp
|
|
|
|
LOCAL_CFLAGS := -Wall -Werror
|
|
|
|
#LOCAL_C_INCLUDES +=
|
|
|
|
LOCAL_STATIC_LIBRARIES := \
|
|
libui \
|
|
libutils \
|
|
libcutils
|
|
|
|
ifeq ($(HOST_OS),linux)
|
|
LOCAL_LDLIBS += -lpthread
|
|
endif
|
|
|
|
LOCAL_MODULE := validatekeymaps
|
|
LOCAL_MODULE_TAGS := optional
|
|
|
|
include $(BUILD_HOST_EXECUTABLE)
|
|
|
|
endif # TARGET_BUILD_APPS
|