summaryrefslogtreecommitdiffstats
path: root/libcutils/Android.mk
diff options
context:
space:
mode:
authorAndrew Hsieh <andrewhsieh@google.com>2012-03-01 23:58:50 -0800
committerAndrew Hsieh <andrewhsieh@google.com>2012-03-01 23:58:50 -0800
commit99e7f7af84b324034af348cbb7a180848cca2ebb (patch)
tree0fec173faea0a872462d011460cfc0a32d83744f /libcutils/Android.mk
parent977fc4e9153b29e2f5e0b05d20d3c09b81b95e42 (diff)
downloadsystem_core-99e7f7af84b324034af348cbb7a180848cca2ebb.zip
system_core-99e7f7af84b324034af348cbb7a180848cca2ebb.tar.gz
system_core-99e7f7af84b324034af348cbb7a180848cca2ebb.tar.bz2
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
Diffstat (limited to 'libcutils/Android.mk')
-rw-r--r--libcutils/Android.mk11
1 files changed, 11 insertions, 0 deletions
diff --git a/libcutils/Android.mk b/libcutils/Android.mk
index dcf859b..3809733 100644
--- a/libcutils/Android.mk
+++ b/libcutils/Android.mk
@@ -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
# ========================================================