No longer compile libandroidfw as a static library on the device since it already exists as a shared library. Keeping the static library would force us to provide a static library version of libinput for the device as well which doesn't make sense. Change-Id: I3517881b87b47dcc209d80dbd0ac6b5cf29a766f
34 lines
543 B
Makefile
34 lines
543 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_STATIC_LIBRARIES := \
|
|
libinput \
|
|
libutils \
|
|
libcutils \
|
|
liblog
|
|
|
|
ifeq ($(HOST_OS),linux)
|
|
LOCAL_LDLIBS += -ldl -lpthread
|
|
endif
|
|
|
|
LOCAL_MODULE := validatekeymaps
|
|
LOCAL_MODULE_TAGS := optional
|
|
|
|
include $(BUILD_HOST_EXECUTABLE)
|
|
|
|
endif # TARGET_BUILD_APPS
|