The Android Open Source Project | 88b6079 | 2009-03-03 19:28:42 -0800 | [diff] [blame] | 1 | LOCAL_PATH:= $(call my-dir) |
| 2 | include $(CLEAR_VARS) |
Dan Albert | 7909ea9 | 2014-10-31 16:30:26 -0700 | [diff] [blame] | 3 | LOCAL_ADDITIONAL_DEPENDENCIES := $(LOCAL_PATH)/Android.mk |
The Android Open Source Project | 88b6079 | 2009-03-03 19:28:42 -0800 | [diff] [blame] | 4 | |
| 5 | LOCAL_SRC_FILES:= \ |
Ying Wang | 6feb6d5 | 2014-04-17 10:03:35 -0700 | [diff] [blame] | 6 | CopyFile.c |
The Android Open Source Project | 88b6079 | 2009-03-03 19:28:42 -0800 | [diff] [blame] | 7 | |
| 8 | ifeq ($(HOST_OS),cygwin) |
| 9 | LOCAL_CFLAGS += -DWIN32_EXE |
| 10 | endif |
| 11 | ifeq ($(HOST_OS),darwin) |
| 12 | LOCAL_CFLAGS += -DMACOSX_RSRC |
| 13 | endif |
| 14 | ifeq ($(HOST_OS),linux) |
| 15 | endif |
| 16 | |
| 17 | LOCAL_MODULE:= libhost |
| 18 | LOCAL_C_INCLUDES := $(LOCAL_PATH)/include |
| 19 | |
| 20 | # acp uses libhost, so we can't use |
| 21 | # acp to install libhost. |
| 22 | LOCAL_ACP_UNAVAILABLE:= true |
| 23 | |
Dan Albert | 7909ea9 | 2014-10-31 16:30:26 -0700 | [diff] [blame] | 24 | LOCAL_ADDRESS_SANITIZER := false |
| 25 | |
The Android Open Source Project | 88b6079 | 2009-03-03 19:28:42 -0800 | [diff] [blame] | 26 | include $(BUILD_HOST_STATIC_LIBRARY) |
| 27 | |
Ying Wang | c7a10dd | 2012-01-06 11:59:30 -0800 | [diff] [blame] | 28 | # Include toolchain prebuilt modules if they exist. |
| 29 | -include $(TARGET_TOOLCHAIN_ROOT)/toolchain.mk |