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
19
20# acp uses libhost, so we can't use
21# acp to install libhost.
22LOCAL_ACP_UNAVAILABLE:= true
23
24LOCAL_ADDRESS_SANITIZER := false
25
26include $(BUILD_HOST_STATIC_LIBRARY)
27
28# Include toolchain prebuilt modules if they exist.
29-include $(TARGET_TOOLCHAIN_ROOT)/toolchain.mk
30