summaryrefslogtreecommitdiff
path: root/src/mapi/Android.mk
diff options
context:
space:
mode:
Diffstat (limited to 'src/mapi/Android.mk')
-rw-r--r--src/mapi/Android.mk8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/mapi/Android.mk b/src/mapi/Android.mk
index c4737165432..7a61d1571a4 100644
--- a/src/mapi/Android.mk
+++ b/src/mapi/Android.mk
@@ -16,6 +16,14 @@ glapi_C_INCLUDES := \
external/mesa/include \
external/mesa/src/mapi
+# use x86 assembly to generate ES2 entries on the fly
+glapi_SOURCES += \
+ $(addprefix es1api/glapi/, $(X86_API))
+glapi_CFLAGS += \
+ -DUSE_X86_ASM
+glapi_C_INCLUDES += \
+ external/mesa/src/mesa
+
include $(CLEAR_VARS)
LOCAL_MODULE := libmesa_glapi