From 7e69af1db6e392563f4042c7e07c0619bb2ed6c2 Mon Sep 17 00:00:00 2001 From: Tina Zhang Date: Fri, 21 Feb 2014 17:23:08 +0800 Subject: [PATCH] Fix TIVI-2772 webkit2-efl build fail during emulator image build with gbs. This happens during the "WaylandSurface.cpp" being compiled. The complier complains the type PFNEGLQUERYWAYLANDBUFFERWL isn't defined. This type should be defined in "WaylandPlatformExt.h". But with the emulator build, the file "WaylandPlatformExt.h" cannot be included in the "EGLSurface.h", since USE(MESA) is disabled. So the solution is let "WaylandPlatformExt.h" be included in the "EGLSurface.h" for both emulator and standard build. Change-Id: I4c661deb6b91f8b74de0bc206e84a1adace81e35 --- Source/WebCore/platform/graphics/surfaces/egl/EGLSurface.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Source/WebCore/platform/graphics/surfaces/egl/EGLSurface.h b/Source/WebCore/platform/graphics/surfaces/egl/EGLSurface.h index 6293575..3945b2a 100644 --- a/Source/WebCore/platform/graphics/surfaces/egl/EGLSurface.h +++ b/Source/WebCore/platform/graphics/surfaces/egl/EGLSurface.h @@ -41,7 +41,7 @@ #include #include -#if PLATFORM(WAYLAND) && USE(MESA) +#if PLATFORM(WAYLAND) #include "WaylandPlatformExt.h" #endif -- 2.7.4