OSDN Git Service

configure: Allow android as an EGL platform
authorBenjamin Gordon <bmgordon@chromium.org>
Fri, 20 Oct 2017 21:34:57 +0000 (15:34 -0600)
committerEric Engestrom <eric.engestrom@imgtec.com>
Tue, 24 Oct 2017 13:46:22 +0000 (14:46 +0100)
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@chromium.org>
Reviewed-by: Eric Engestrom <eric.engestrom@imgtec.com>
configure.ac

index add3830..9aa02f5 100644 (file)
@@ -2410,12 +2410,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