aboutsummaryrefslogtreecommitdiffstats
path: root/emulator/opengl/Android.mk
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/Android.mk
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/Android.mk')
-rw-r--r--emulator/opengl/Android.mk6
1 files changed, 6 insertions, 0 deletions
diff --git a/emulator/opengl/Android.mk b/emulator/opengl/Android.mk
index 0f5b856..6cab042 100644
--- a/emulator/opengl/Android.mk
+++ b/emulator/opengl/Android.mk
@@ -24,6 +24,12 @@ ifeq ($(BUILD_STANDALONE_EMULATOR),true)
EMUGL_COMMON_INCLUDES := $(EMUGL_PATH)/host/libs/Translator/include
endif
+ifeq ($(BUILD_STANDALONE_EMULATOR),true)
+EMUGL_BUILD_64BITS := $(strip $(EMULATOR_BUILD_64BITS))
+else
+EMUGL_BUILD_64BITS := true
+endif
+
# common cflags used by several modules
# This is always set to a module's LOCAL_CFLAGS
# See the definition of emugl-begin-module in common.mk