[Mesa-dev] [PATCH] configure: Allow android as an EGL platform

Benjamin Gordon bmgordon at chromium.org
Fri Oct 20 21:34:57 UTC 2017


I'm working on radeonsi support in the Chrome OS Android container
(ARC++).  Mesa in ARC++ uses autotools instead of Android.mk, but all
the necessary EGL bits are there, so the existing check is too strict.

Signed-off-by: Benjamin Gordon <bmgordon at chromium.org>
---
 configure.ac | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/configure.ac b/configure.ac
index e05c34eb7b..b971b36333 100644
--- a/configure.ac
+++ b/configure.ac
@@ -2393,12 +2393,13 @@ dnl Surfaceless is an alternative for the last one.
 dnl
 require_basic_egl() {
     case "$with_platforms" in
-        *drm*|*surfaceless*)
+        *drm*|*surfaceless*|*android*)
             ;;
         *)
             AC_MSG_ERROR([$1 requires one of these:
                   1) --with-platforms=drm (X, Wayland, offscreen rendering based on DRM)
                   2) --with-platforms=surfaceless (offscreen only)
+                  3) --with-platforms=android (Android only)
                   Recommended options: drm,x11])
             ;;
     esac
-- 
2.15.0.rc0.271.g36b669edcc-goog



More information about the mesa-dev mailing list