From 099faeef33a2207731986f02b1fd897d91c764c4 Mon Sep 17 00:00:00 2001 From: Chia-I Wu Date: Fri, 19 Aug 2011 17:11:34 +0800 Subject: android: add support for egl_dri2 Add rules to build egl_dri2 and make it a built-in EGL driver of libGLES_mesa. Reviewed-by: Chad Versace --- src/egl/main/Android.mk | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/egl/main/Android.mk') diff --git a/src/egl/main/Android.mk b/src/egl/main/Android.mk index 25a7c657676..a2933d7abfd 100644 --- a/src/egl/main/Android.mk +++ b/src/egl/main/Android.mk @@ -54,6 +54,9 @@ LOCAL_CFLAGS := \ -D_EGL_DRIVER_SEARCH_DIR=\"/system/lib/egl\" \ -D_EGL_OS_UNIX=1 +ifeq ($(strip $(MESA_BUILD_CLASSIC)),true) +LOCAL_CFLAGS += -D_EGL_BUILT_IN_DRIVER_DRI2 +endif ifeq ($(strip $(MESA_BUILD_GALLIUM)),true) LOCAL_CFLAGS += -D_EGL_BUILT_IN_DRIVER_GALLIUM endif -- cgit v1.2.3