From 496f68bb9d3760075c4a446ddf832dce6cf6cbc7 Mon Sep 17 00:00:00 2001 From: Chia-I Wu Date: Fri, 25 Nov 2011 20:44:12 +0800 Subject: [PATCH] android: bring in i915_dri and i965_dri automatically Add i915_dri and i965_dri to libGLES_mesa's LOCAL_REQUIRED_MODULES when enabled. --- src/egl/main/Android.mk | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/egl/main/Android.mk b/src/egl/main/Android.mk index c9e0729d807..d96da228aa7 100644 --- a/src/egl/main/Android.mk +++ b/src/egl/main/Android.mk @@ -75,6 +75,10 @@ endif ifeq ($(strip $(MESA_BUILD_CLASSIC)),true) LOCAL_CFLAGS += -D_EGL_BUILT_IN_DRIVER_DRI2 LOCAL_STATIC_LIBRARIES += libmesa_egl_dri2 + +# require i915_dri and/or i965_dri +LOCAL_REQUIRED_MODULES += \ + $(addsuffix _dri, $(filter i915 i965, $(MESA_GPU_DRIVERS))) endif ifeq ($(strip $(MESA_BUILD_GALLIUM)),true) -- 2.30.2