[Mesa-dev] [PATCH] Android: egl: add dependency on libnativewindow

Emil Velikov emil.l.velikov at gmail.com
Fri Oct 27 12:46:19 UTC 2017


On 26 October 2017 at 20:18, Rob Herring <robh at kernel.org> wrote:
> system/window.h is no longer available by default and is part of
> libnativewindow, so add it to the shared libraries. It has to be conditional
> because the library is only present in O and later.
>
> Really, we should only be depending on vndk/window.h now, but that's only
> in O and changing would be pretty invasive.
>
> Signed-off-by: Rob Herring <robh at kernel.org>
> ---
>  src/egl/Android.mk | 4 ++++
>  1 file changed, 4 insertions(+)
>
> diff --git a/src/egl/Android.mk b/src/egl/Android.mk
> index 2de842ca4172..11818694f4f8 100644
> --- a/src/egl/Android.mk
> +++ b/src/egl/Android.mk
> @@ -60,6 +60,10 @@ LOCAL_SHARED_LIBRARIES := \
>         libgralloc_drm \
>         libsync
>
> +ifeq ($(filter $(MESA_ANDROID_MAJOR_VERSION), 4 5 6 7),)
Didn't we remove Android 4.x from the supported list?
Apart from that
Reviewed-by: Emil Velikov <emil.velikov at collabora.com>

-Emil


More information about the mesa-dev mailing list