The build against AOSP master and O is broken: external/mesa3d/include/EGL/eglplatform.h:100:10: fatal error: 'android/native_window.h' file not found
native_window.h has moved and is now part of libnativewindow library, so add this dependency. Signed-off-by: Rob Herring <r...@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 00553226773e..3852deb4364c 100644 --- a/src/egl/Android.mk +++ b/src/egl/Android.mk @@ -58,6 +58,10 @@ LOCAL_SHARED_LIBRARIES := \ libgralloc_drm \ libsync +ifeq ($(filter $(MESA_ANDROID_MAJOR_VERSION),5 6 7),) +LOCAL_SHARED_LIBRARIES += libnativewindow +endif + # This controls enabling building of driver libraries ifneq ($(HAVE_I915_DRI),) LOCAL_REQUIRED_MODULES += i915_dri -- 2.11.0 _______________________________________________ mesa-dev mailing list mesa-dev@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/mesa-dev