Merge "Host multilib build of both 32-bit and 64-bit libraries."
This commit is contained in:
commit
4ca26ce8ec
3 changed files with 4 additions and 0 deletions
|
@ -81,6 +81,7 @@ LOCAL_CFLAGS += $(hostSmpFlag)
|
|||
ifneq ($(HOST_OS),windows)
|
||||
LOCAL_CFLAGS += -Werror
|
||||
endif
|
||||
LOCAL_MULTILIB := both
|
||||
include $(BUILD_HOST_STATIC_LIBRARY)
|
||||
|
||||
|
||||
|
|
|
@ -58,6 +58,7 @@ endif
|
|||
LOCAL_MODULE := liblog
|
||||
LOCAL_SRC_FILES := $(liblog_host_sources)
|
||||
LOCAL_CFLAGS := -DFAKE_LOG_DEVICE=1 -Werror
|
||||
LOCAL_MULTILIB := both
|
||||
include $(BUILD_HOST_STATIC_LIBRARY)
|
||||
|
||||
include $(CLEAR_VARS)
|
||||
|
@ -66,6 +67,7 @@ LOCAL_WHOLE_STATIC_LIBRARIES := liblog
|
|||
ifeq ($(strip $(HOST_OS)),linux)
|
||||
LOCAL_LDLIBS := -lrt
|
||||
endif
|
||||
LOCAL_MULTILIB := both
|
||||
include $(BUILD_HOST_SHARED_LIBRARY)
|
||||
|
||||
|
||||
|
|
|
@ -69,6 +69,7 @@ endif
|
|||
LOCAL_MODULE:= libutils
|
||||
LOCAL_STATIC_LIBRARIES := liblog
|
||||
LOCAL_CFLAGS += $(host_commonCflags)
|
||||
LOCAL_MULTILIB := both
|
||||
include $(BUILD_HOST_STATIC_LIBRARY)
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue