1061cf758841dfc972be3f0ec4857762fafe49aa6Jeff Brown# 2061cf758841dfc972be3f0ec4857762fafe49aa6Jeff Brown# Copyright 2010 The Android Open Source Project 3061cf758841dfc972be3f0ec4857762fafe49aa6Jeff Brown# 4061cf758841dfc972be3f0ec4857762fafe49aa6Jeff Brown# Keymap validation tool. 5061cf758841dfc972be3f0ec4857762fafe49aa6Jeff Brown# 6061cf758841dfc972be3f0ec4857762fafe49aa6Jeff Brown 7061cf758841dfc972be3f0ec4857762fafe49aa6Jeff Brown# This tool is prebuilt if we're doing an app-only build. 8061cf758841dfc972be3f0ec4857762fafe49aa6Jeff Brownifeq ($(TARGET_BUILD_APPS),) 9061cf758841dfc972be3f0ec4857762fafe49aa6Jeff Brown 10061cf758841dfc972be3f0ec4857762fafe49aa6Jeff BrownLOCAL_PATH:= $(call my-dir) 11061cf758841dfc972be3f0ec4857762fafe49aa6Jeff Browninclude $(CLEAR_VARS) 12061cf758841dfc972be3f0ec4857762fafe49aa6Jeff Brown 13061cf758841dfc972be3f0ec4857762fafe49aa6Jeff BrownLOCAL_SRC_FILES := \ 14061cf758841dfc972be3f0ec4857762fafe49aa6Jeff Brown Main.cpp 15061cf758841dfc972be3f0ec4857762fafe49aa6Jeff Brown 16061cf758841dfc972be3f0ec4857762fafe49aa6Jeff BrownLOCAL_CFLAGS := -Wall -Werror 17061cf758841dfc972be3f0ec4857762fafe49aa6Jeff Brown 18061cf758841dfc972be3f0ec4857762fafe49aa6Jeff Brown#LOCAL_C_INCLUDES += 19061cf758841dfc972be3f0ec4857762fafe49aa6Jeff Brown 20061cf758841dfc972be3f0ec4857762fafe49aa6Jeff BrownLOCAL_STATIC_LIBRARIES := \ 2183c64e6b624a876436d2ef5d2f173b10407e27b4Mathias Agopian libandroidfw \ 22061cf758841dfc972be3f0ec4857762fafe49aa6Jeff Brown libutils \ 23061cf758841dfc972be3f0ec4857762fafe49aa6Jeff Brown libcutils 24061cf758841dfc972be3f0ec4857762fafe49aa6Jeff Brown 25061cf758841dfc972be3f0ec4857762fafe49aa6Jeff Brownifeq ($(HOST_OS),linux) 2664ef6b47e020da5370af8897638a0a778fa52b74Iliyan MalchevLOCAL_LDLIBS += -ldl -lpthread 27061cf758841dfc972be3f0ec4857762fafe49aa6Jeff Brownendif 28061cf758841dfc972be3f0ec4857762fafe49aa6Jeff Brown 29061cf758841dfc972be3f0ec4857762fafe49aa6Jeff BrownLOCAL_MODULE := validatekeymaps 30061cf758841dfc972be3f0ec4857762fafe49aa6Jeff BrownLOCAL_MODULE_TAGS := optional 31061cf758841dfc972be3f0ec4857762fafe49aa6Jeff Brown 32061cf758841dfc972be3f0ec4857762fafe49aa6Jeff Browninclude $(BUILD_HOST_EXECUTABLE) 33061cf758841dfc972be3f0ec4857762fafe49aa6Jeff Brown 34061cf758841dfc972be3f0ec4857762fafe49aa6Jeff Brownendif # TARGET_BUILD_APPS 35