summaryrefslogtreecommitdiff
path: root/src/mapi
diff options
context:
space:
mode:
authorChia-I Wu <olv@lunarg.com>2010-10-11 16:07:09 +0800
committerChia-I Wu <olvaffe@gmail.com>2011-03-16 20:18:40 +0800
commit9a3759c3ddeee2ba4b2215074df3d21d24e65c5c (patch)
treef7a50860909cbf540a0f1597b955ee778b32f1dd /src/mapi
parentf547fef2d066607650635136910bbcc781cf6bff (diff)
android: Add Android.mk's.
Diffstat (limited to 'src/mapi')
-rw-r--r--src/mapi/Android.mk23
1 files changed, 23 insertions, 0 deletions
diff --git a/src/mapi/Android.mk b/src/mapi/Android.mk
new file mode 100644
index 0000000000..5af2988e80
--- /dev/null
+++ b/src/mapi/Android.mk
@@ -0,0 +1,23 @@
+# Android.mk for glapi
+
+LOCAL_PATH := $(call my-dir)
+
+include $(CLEAR_VARS)
+
+include $(LOCAL_PATH)/mapi/sources.mak
+LOCAL_SRC_FILES := $(addprefix mapi/, $(MAPI_GLAPI_SOURCES))
+
+LOCAL_CFLAGS := \
+ -DPTHREADS \
+ -DMAPI_MODE_GLAPI \
+ -DMAPI_ABI_HEADER=\"shared-glapi/glapi_mapi_tmp.h\" \
+ -fvisibility=hidden \
+ -Wno-sign-compare
+
+LOCAL_C_INCLUDES := \
+ external/mesa/include \
+ external/mesa/src/mapi
+
+LOCAL_MODULE := libglapi
+
+include $(BUILD_SHARED_LIBRARY)