Added rules to build 64-bit libraries: lib64cutils.a and lib64log.a
Both libraries are needed to build four shared libraries in 64-bit for 64-bit emulator with "-gpu on" lib64OpenglRender.so lib64EGL_translator.so lib64GLES_CM_translator.so lib64GLES_V2_translator.so Change-Id: If57f72d4661a74f1d5e537568881f39132e0b43d
This commit is contained in:
parent
9cec99ba9c
commit
ef3eb5f740
|
@ -94,6 +94,17 @@ LOCAL_CFLAGS += $(hostSmpFlag)
|
|||
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
|
||||
# ========================================================
|
||||
include $(CLEAR_VARS)
|
||||
|
|
|
@ -40,6 +40,7 @@ endif
|
|||
|
||||
liblog_host_sources := $(liblog_sources) fake_log_device.c
|
||||
|
||||
|
||||
# Static library for host
|
||||
# ========================================================
|
||||
LOCAL_MODULE := liblog
|
||||
|
@ -48,6 +49,17 @@ LOCAL_LDLIBS := -lpthread
|
|||
LOCAL_CFLAGS := -DFAKE_LOG_DEVICE=1
|
||||
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
|
||||
# ========================================================
|
||||
include $(CLEAR_VARS)
|
||||
|
|
Loading…
Reference in New Issue