summaryrefslogtreecommitdiff
path: root/src/gallium/winsys/svga/Android.mk
blob: 61c99fb524fffceb9215ade778a6c3b76fbf0611 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
ifeq ($(strip $(MESA_BUILD_VMWGFX)),true)

LOCAL_PATH := $(call my-dir)

# from drm/Makefile
C_SOURCES = \
        vmw_buffer.c \
        vmw_context.c  \
        vmw_fence.c  \
        vmw_screen.c  \
        vmw_screen_dri.c  \
        vmw_screen_ioctl.c  \
        vmw_screen_pools.c  \
        vmw_screen_svga.c  \
        vmw_surface.c

include $(CLEAR_VARS)

LOCAL_SRC_FILES := \
	$(addprefix drm/, $(C_SOURCES))

LOCAL_CFLAGS := \
	-fvisibility=hidden \
	-Wno-sign-compare

LOCAL_C_INCLUDES := \
	external/mesa/include \
	external/mesa/src/gallium/include \
	external/mesa/src/gallium/auxiliary \
	external/mesa/src/gallium/drivers/svga \
	external/mesa/src/gallium/drivers/svga/include \
	external/drm \
	external/drm/include/drm

LOCAL_MODULE := libmesa_winsys_svga

include $(BUILD_STATIC_LIBRARY)

endif # MESA_BUILD_VMWGFX