7a5498568f
So that we can support building both linux and windows binaries at the same time on a linux host. This replaces the ifeq($(HOST_OS),...) checks in Android.mk files. Bug: 23566667 Change-Id: I693e11984e36d55bb6f09fa0d49bc485463e16fb
20 lines
442 B
Makefile
20 lines
442 B
Makefile
LOCAL_PATH:= $(call my-dir)
|
|
include $(CLEAR_VARS)
|
|
|
|
LOCAL_SRC_FILES:= \
|
|
CopyFile.c
|
|
|
|
LOCAL_CFLAGS_darwin += -DMACOSX_RSRC
|
|
|
|
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
|