Android.mk revision 944fc40eda7d5e8a680b8af12ee8f615ccf18fbd
1LOCAL_PATH:= $(call my-dir)
2include $(CLEAR_VARS)
3LOCAL_ADDITIONAL_DEPENDENCIES := $(LOCAL_PATH)/Android.mk
4
5LOCAL_SRC_FILES:= \
6    CopyFile.c
7
8ifeq ($(HOST_OS),cygwin)
9LOCAL_CFLAGS += -DWIN32_EXE
10endif
11ifeq ($(HOST_OS),darwin)
12LOCAL_CFLAGS += -DMACOSX_RSRC
13endif
14ifeq ($(HOST_OS),linux)
15endif
16
17LOCAL_MODULE:= libhost
18LOCAL_C_INCLUDES := $(LOCAL_PATH)/include
19LOCAL_CXX_STL := none
20
21# acp uses libhost, so we can't use
22# acp to install libhost.
23LOCAL_ACP_UNAVAILABLE:= true
24
25include $(BUILD_HOST_STATIC_LIBRARY)
26
27# Include toolchain prebuilt modules if they exist.
28-include $(TARGET_TOOLCHAIN_ROOT)/toolchain.mk
29