summaryrefslogtreecommitdiff
path: root/src/gallium/targets/egl-static/Android.mk
diff options
context:
space:
mode:
Diffstat (limited to 'src/gallium/targets/egl-static/Android.mk')
-rw-r--r--src/gallium/targets/egl-static/Android.mk3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/gallium/targets/egl-static/Android.mk b/src/gallium/targets/egl-static/Android.mk
index b7c29ae533e..a6b026c8869 100644
--- a/src/gallium/targets/egl-static/Android.mk
+++ b/src/gallium/targets/egl-static/Android.mk
@@ -46,6 +46,9 @@ LOCAL_C_INCLUDES := \
# swrast
LOCAL_CFLAGS += -DGALLIUM_SOFTPIPE
+ifneq ($(filter i915g, $(MESA_GPU_DRIVERS)),)
+LOCAL_CFLAGS += -D_EGL_PIPE_I915=1
+endif
ifneq ($(filter r600g, $(MESA_GPU_DRIVERS)),)
LOCAL_CFLAGS += -D_EGL_PIPE_R600=1
endif