egl: Build surfaceless platform on Android

Fixes: a38e21d668 ("egl: always compile surfaceless")
Signed-off-by: Roman Stratiienko <r.stratiienko@gmail.com>
Reviewed-by: Eric Engestrom <eric@engestrom.ch>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5866>
This commit is contained in:
Roman Stratiienko 2020-07-12 00:10:19 +03:00 committed by Marge Bot
parent 00ca9b8142
commit ae5ac4cbb6
1 changed files with 2 additions and 1 deletions

View File

@ -37,7 +37,8 @@ LOCAL_SRC_FILES := \
$(LIBEGL_C_FILES) \
$(dri2_backend_core_FILES) \
drivers/dri2/platform_device.c \
drivers/dri2/platform_android.c
drivers/dri2/platform_android.c \
drivers/dri2/platform_surfaceless.c \
LOCAL_CFLAGS := \
-D_EGL_NATIVE_PLATFORM=_EGL_PLATFORM_ANDROID \