summaryrefslogtreecommitdiffstats
path: root/src/mapi/Android.mk
blob: 5af2988e80f49555e54bc07c553bcfaec7ebd581 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
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)