145ae32069
We still support HOST_OS=windows for the SDK host tools cross-builds, but that's only when USE_MINGW is set when running under linux. Change-Id: I37da87dc9fbbd69ba10ce4d7f2668ab3f6482d92
25 lines
554 B
Makefile
25 lines
554 B
Makefile
LOCAL_PATH:= $(call my-dir)
|
|
include $(CLEAR_VARS)
|
|
LOCAL_ADDITIONAL_DEPENDENCIES := $(LOCAL_PATH)/Android.mk
|
|
|
|
LOCAL_SRC_FILES:= \
|
|
CopyFile.c
|
|
|
|
ifeq ($(HOST_OS),darwin)
|
|
LOCAL_CFLAGS += -DMACOSX_RSRC
|
|
endif
|
|
ifeq ($(HOST_OS),linux)
|
|
endif
|
|
|
|
LOCAL_MODULE:= libhost
|
|
LOCAL_C_INCLUDES := $(LOCAL_PATH)/include
|
|
LOCAL_CXX_STL := none
|
|
|
|
# acp uses libhost, so we can't use
|
|
# acp to install libhost.
|
|
LOCAL_ACP_UNAVAILABLE:= true
|
|
|
|
include $(BUILD_HOST_STATIC_LIBRARY)
|
|
|
|
# Include toolchain prebuilt modules if they exist.
|
|
-include $(TARGET_TOOLCHAIN_ROOT)/toolchain.mk
|