aboutsummaryrefslogtreecommitdiffstats
path: root/emulator/opengl/host/libs/Translator/GLES_CM
diff options
context:
space:
mode:
authorDavid 'Digit' Turner <digit@google.com>2014-03-01 12:21:39 +0100
committerDavid 'Digit' Turner <digit@google.com>2014-03-11 18:03:08 +0100
commit56b89bc863d1a5da6234f05923f63b5466e1ce3f (patch)
tree4204ae9b54bec017c7d8e2e9688ba1120b6af89a /emulator/opengl/host/libs/Translator/GLES_CM
parent829f46fdcd3136e2b97c310538cb27881ff3733b (diff)
downloadsdk-56b89bc863d1a5da6234f05923f63b5466e1ce3f.zip
sdk-56b89bc863d1a5da6234f05923f63b5466e1ce3f.tar.gz
sdk-56b89bc863d1a5da6234f05923f63b5466e1ce3f.tar.bz2
emulator/opengl: Allow standalone build.
This patch improves the build files for the GPU emulation libraries to allow them to be built directly with the emulator's own standalone build system. Change-Id: I205392bdfe4223a5c43fa67e24a2beffcbcbc07a
Diffstat (limited to 'emulator/opengl/host/libs/Translator/GLES_CM')
-rw-r--r--emulator/opengl/host/libs/Translator/GLES_CM/Android.mk13
1 files changed, 8 insertions, 5 deletions
diff --git a/emulator/opengl/host/libs/Translator/GLES_CM/Android.mk b/emulator/opengl/host/libs/Translator/GLES_CM/Android.mk
index 9aa74a7..b126902 100644
--- a/emulator/opengl/host/libs/Translator/GLES_CM/Android.mk
+++ b/emulator/opengl/host/libs/Translator/GLES_CM/Android.mk
@@ -18,11 +18,14 @@ $(call emugl-end-module)
### GLES_CM host implementation, 64-bit ########################
-$(call emugl-begin-host-shared-library,lib64GLES_CM_translator)
+ifdef EMUGL_BUILD_64BITS
+ $(call emugl-begin-host-shared-library,lib64GLES_CM_translator)
-$(call emugl-import,lib64GLcommon)
+ $(call emugl-import,lib64GLcommon)
-LOCAL_LDLIBS += -m64
-LOCAL_SRC_FILES := $(host_common_SRC_FILES)
+ LOCAL_CFLAGS += -fPIC
+ LOCAL_LDLIBS += -m64
+ LOCAL_SRC_FILES := $(host_common_SRC_FILES)
-$(call emugl-end-module)
+ $(call emugl-end-module)
+endif \ No newline at end of file