platform_build/core/key_char_map.mk
Brian Swetland 7cc2440994 make TINY_ANDROID build without the presence of frameworks/* and development/*
Change-Id: I795e27a9ce837b193c6d8d0516e2f523c17214e2
2011-01-23 18:56:08 -08:00

33 lines
No EOL
862 B
Makefile

###########################################################
## Standard rules for building an executable file.
##
## Additional inputs from base_rules.make:
## None.
###########################################################
ifeq ($(strip $(LOCAL_MODULE_CLASS)),)
LOCAL_MODULE_CLASS := KEYCHARS
endif
ifeq ($(strip $(LOCAL_MODULE_SUFFIX)),)
LOCAL_MODULE_SUFFIX := .bin
endif
LOCAL_MODULE := $(LOCAL_SRC_FILES)
include $(BUILD_SYSTEM)/base_rules.mk
full_src_files := $(addprefix $(LOCAL_PATH)/,$(LOCAL_SRC_FILES))
$(LOCAL_BUILT_MODULE) : PRIVATE_SRC_FILES := $(full_src_files)
ifeq ($(BUILD_TINY_ANDROID),true)
$(LOCAL_BUILT_MODULE) : $(full_src_files)
@echo KeyCharMap: $@
@mkdir -p $(dir $@)
$(hide) touch $@
else
$(LOCAL_BUILT_MODULE) : $(full_src_files) $(KCM)
@echo KeyCharMap: $@
@mkdir -p $(dir $@)
$(hide) $(KCM) $(PRIVATE_SRC_FILES) $@
endif