* commit '4b91e3328c79383bcebed982ce536046ea316456': Added rules to build 64-bit libraries: lib64cutils.a and lib64log.a
This commit is contained in:
commit
bd52ff3e93
2 changed files with 23 additions and 0 deletions
|
|
@ -94,6 +94,17 @@ LOCAL_CFLAGS += $(hostSmpFlag)
|
||||||
include $(BUILD_HOST_STATIC_LIBRARY)
|
include $(BUILD_HOST_STATIC_LIBRARY)
|
||||||
|
|
||||||
|
|
||||||
|
# Static library for host, 64-bit
|
||||||
|
# ========================================================
|
||||||
|
include $(CLEAR_VARS)
|
||||||
|
LOCAL_MODULE := lib64cutils
|
||||||
|
LOCAL_SRC_FILES := $(commonSources) $(commonHostSources) dlmalloc_stubs.c
|
||||||
|
LOCAL_LDLIBS := -lpthread
|
||||||
|
LOCAL_STATIC_LIBRARIES := lib64log
|
||||||
|
LOCAL_CFLAGS += $(hostSmpFlag) -m64
|
||||||
|
include $(BUILD_HOST_STATIC_LIBRARY)
|
||||||
|
|
||||||
|
|
||||||
# Shared and static library for target
|
# Shared and static library for target
|
||||||
# ========================================================
|
# ========================================================
|
||||||
include $(CLEAR_VARS)
|
include $(CLEAR_VARS)
|
||||||
|
|
|
||||||
|
|
@ -40,6 +40,7 @@ endif
|
||||||
|
|
||||||
liblog_host_sources := $(liblog_sources) fake_log_device.c
|
liblog_host_sources := $(liblog_sources) fake_log_device.c
|
||||||
|
|
||||||
|
|
||||||
# Static library for host
|
# Static library for host
|
||||||
# ========================================================
|
# ========================================================
|
||||||
LOCAL_MODULE := liblog
|
LOCAL_MODULE := liblog
|
||||||
|
|
@ -48,6 +49,17 @@ LOCAL_LDLIBS := -lpthread
|
||||||
LOCAL_CFLAGS := -DFAKE_LOG_DEVICE=1
|
LOCAL_CFLAGS := -DFAKE_LOG_DEVICE=1
|
||||||
include $(BUILD_HOST_STATIC_LIBRARY)
|
include $(BUILD_HOST_STATIC_LIBRARY)
|
||||||
|
|
||||||
|
|
||||||
|
# Static library for host, 64-bit
|
||||||
|
# ========================================================
|
||||||
|
include $(CLEAR_VARS)
|
||||||
|
LOCAL_MODULE := lib64log
|
||||||
|
LOCAL_SRC_FILES := $(liblog_host_sources)
|
||||||
|
LOCAL_LDLIBS := -lpthread
|
||||||
|
LOCAL_CFLAGS := -DFAKE_LOG_DEVICE=1 -m64
|
||||||
|
include $(BUILD_HOST_STATIC_LIBRARY)
|
||||||
|
|
||||||
|
|
||||||
# Shared and static library for target
|
# Shared and static library for target
|
||||||
# ========================================================
|
# ========================================================
|
||||||
include $(CLEAR_VARS)
|
include $(CLEAR_VARS)
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue