[EFL] Build break with latest EFL 1.8 libraries.

https://bugs.webkit.org/show_bug.cgi?id=123245

Reviewed by Gyuyoung Kim.

After fixed build break on EFL 1.8 at r138326, EFL libraries are changed
Eo typedef and splitted header files which contain version macro.

.:

* Source/cmake/EFLHelpers.cmake: Checked whether include path exist.
* Source/cmake/FindEcore.cmake: Added 1.8 Header which have version macro.
* Source/cmake/FindEdje.cmake: Ditto.
* Source/cmake/FindEina.cmake: Ditto.
* Source/cmake/FindEo.cmake: Ditto.
* Source/cmake/FindEvas.cmake: Ditto.

Source/JavaScriptCore:

* PlatformEfl.cmake: Added EO path to include directories.
* heap/HeapTimer.h: Changed Ecore_Timer typedef when EO exist.

Source/WebCore:

* platform/Widget.h: Changed Eo typedef.
* platform/efl/EflScreenUtilities.h: Ditto.
* platform/graphics/Image.h: Ditto.

Source/WTF:

* wtf/OwnPtrCommon.h: Changed Eo typedef.
* wtf/efl/RefPtrEfl.h: Ditto.

Tools:

* TestWebKitAPI/PlatformWebView.h: Changed Eo typedef.
* WebKitTestRunner/InjectedBundle/TestRunner.h: Ditto.
* WebKitTestRunner/PlatformWebView.h: Ditto.


git-svn-id: http://svn.webkit.org/repository/webkit/trunk@157920 268f45cc-cd09-0410-ab3c-d52691b4dbfc
parent 43307b0d
2013-10-24 Ryuan Choi <ryuan.choi@samsung.com>
[EFL] Build break with latest EFL 1.8 libraries.
https://bugs.webkit.org/show_bug.cgi?id=123245
Reviewed by Gyuyoung Kim.
After fixed build break on EFL 1.8 at r138326, EFL libraries are changed
Eo typedef and splitted header files which contain version macro.
* Source/cmake/EFLHelpers.cmake: Checked whether include path exist.
* Source/cmake/FindEcore.cmake: Added 1.8 Header which have version macro.
* Source/cmake/FindEdje.cmake: Ditto.
* Source/cmake/FindEina.cmake: Ditto.
* Source/cmake/FindEo.cmake: Ditto.
* Source/cmake/FindEvas.cmake: Ditto.
2013-10-22 Ryuan Choi <ryuan.choi@samsung.com>
[EFL] Remove HAVE_GLX macro
......
2013-10-24 Ryuan Choi <ryuan.choi@samsung.com>
[EFL] Build break with latest EFL 1.8 libraries.
https://bugs.webkit.org/show_bug.cgi?id=123245
Reviewed by Gyuyoung Kim.
After fixed build break on EFL 1.8 at r138326, EFL libraries are changed
Eo typedef and splitted header files which contain version macro.
* PlatformEfl.cmake: Added EO path to include directories.
* heap/HeapTimer.h: Changed Ecore_Timer typedef when EO exist.
2013-10-23 Filip Pizlo <fpizlo@apple.com>
Put all uses of LLVM intrinsics behind a single Option
......
list(APPEND JavaScriptCore_INCLUDE_DIRECTORIES
${ECORE_INCLUDE_DIRS}
${EINA_INCLUDE_DIRS}
${EO_INCLUDE_DIRS}
)
......@@ -34,8 +34,12 @@
#elif PLATFORM(BLACKBERRY)
#include <BlackBerryPlatformTimer.h>
#elif PLATFORM(EFL)
#if USE(EO)
typedef struct _Eo_Opaque Ecore_Timer;
#else
typedef struct _Ecore_Timer Ecore_Timer;
#endif
#endif
namespace JSC {
......
2013-10-24 Ryuan Choi <ryuan.choi@samsung.com>
[EFL] Build break with latest EFL 1.8 libraries.
https://bugs.webkit.org/show_bug.cgi?id=123245
Reviewed by Gyuyoung Kim.
After fixed build break on EFL 1.8 at r138326, EFL libraries are changed
Eo typedef and splitted header files which contain version macro.
* wtf/OwnPtrCommon.h: Changed Eo typedef.
* wtf/efl/RefPtrEfl.h: Ditto.
2013-10-24 Carlos Garcia Campos <cgarcia@igalia.com>
[GObject bindings] Make EventTarget interface introspectable
......
......@@ -35,7 +35,7 @@ typedef struct _Ecore_Pipe Ecore_Pipe;
typedef struct _Eina_Hash Eina_Hash;
typedef struct _Eina_Module Eina_Module;
#if USE(EO)
typedef struct _Eo Evas_Object;
typedef struct _Eo_Opaque Evas_Object;
#else
typedef struct _Evas_Object Evas_Object;
#endif
......
......@@ -23,7 +23,7 @@
#include <wtf/RefPtr.h>
#if USE(EO)
typedef struct _Eo Evas_Object;
typedef struct _Eo_Opaque Evas_Object;
#else
typedef struct _Evas_Object Evas_Object;
#endif
......
2013-10-24 Ryuan Choi <ryuan.choi@samsung.com>
[EFL] Build break with latest EFL 1.8 libraries.
https://bugs.webkit.org/show_bug.cgi?id=123245
Reviewed by Gyuyoung Kim.
After fixed build break on EFL 1.8 at r138326, EFL libraries are changed
Eo typedef and splitted header files which contain version macro.
* platform/Widget.h: Changed Eo typedef.
* platform/efl/EflScreenUtilities.h: Ditto.
* platform/graphics/Image.h: Ditto.
2013-10-24 Andreas Kling <akling@apple.com>
RenderSVGResource: Pass RenderElement to fill/strokePaintingResource.
......
......@@ -59,7 +59,7 @@ typedef void* PlatformWidget;
#if PLATFORM(EFL)
#if USE(EO)
typedef struct _Eo Evas_Object;
typedef struct _Eo_Opaque Evas_Object;
#else
typedef struct _Evas_Object Evas_Object;
#endif
......
......@@ -22,7 +22,7 @@
#include <wtf/text/WTFString.h>
#if USE(EO)
typedef struct _Eo Evas;
typedef struct _Eo_Opaque Evas;
#else
typedef struct _Evas Evas;
#endif
......
......@@ -60,8 +60,8 @@ typedef struct _GdkPixbuf GdkPixbuf;
#if PLATFORM(EFL)
#if USE(EO)
typedef struct _Eo Evas;
typedef struct _Eo Evas_Object;
typedef struct _Eo_Opaque Evas;
typedef struct _Eo_Opaque Evas_Object;
#else
typedef struct _Evas Evas;
typedef struct _Evas_Object Evas_Object;
......
......@@ -45,11 +45,12 @@ function(FIND_EFL_LIBRARY _name)
foreach (_current_header ${PARAM_HEADERS})
find_path(${_current_header}_INCLUDE_DIR NAMES ${_current_header} PATH_SUFFIXES ${PARAM_HEADER_PREFIXES})
list(APPEND ${_name}_INCLUDE_DIRS "${${_current_header}_INCLUDE_DIR}")
if (NOT _version_found)
set(_header_path "${${_current_header}_INCLUDE_DIR}/${_current_header}")
if (EXISTS ${_header_path})
set(_header_path "${${_current_header}_INCLUDE_DIR}/${_current_header}")
if (EXISTS ${_header_path})
list(APPEND ${_name}_INCLUDE_DIRS "${${_current_header}_INCLUDE_DIR}")
if (NOT _version_found)
file(READ "${_header_path}" _header_contents)
string(REGEX MATCH "#define +${_name_upper}_VERSION_MAJOR +([0-9]+)" _dummy "${_header_contents}")
......
......@@ -41,7 +41,7 @@
include(EFLHelpers)
FIND_EFL_LIBRARY(ECORE
HEADERS Ecore.h
HEADERS Ecore.h Ecore_Common.h
HEADER_PREFIXES ecore-1
LIBRARY ecore
)
......
......@@ -32,7 +32,7 @@
include(EFLHelpers)
FIND_EFL_LIBRARY(EDJE
HEADERS Edje.h
HEADERS Edje.h Edje_Common.h
HEADER_PREFIXES edje-1
LIBRARY edje
)
......
......@@ -31,7 +31,7 @@
include(EFLHelpers)
FIND_EFL_LIBRARY(EINA
HEADERS Eina.h eina_main.h
HEADERS Eina.h Eina_Common.h eina_main.h
HEADER_PREFIXES eina-1 eina-1/eina
LIBRARY eina
)
......
......@@ -31,8 +31,8 @@
include(EFLHelpers)
FIND_EFL_LIBRARY(EO
HEADERS Eo.h
HEADER_PREFIXES eo-1
HEADERS Eo.h Efl_Config.h
HEADER_PREFIXES eo-1 efl-1
LIBRARY eo
)
......
......@@ -31,7 +31,7 @@
include(EFLHelpers)
FIND_EFL_LIBRARY(EVAS
HEADERS Evas.h
HEADERS Evas.h Evas_Common.h
HEADER_PREFIXES evas-1
LIBRARY evas
)
......
2013-10-24 Ryuan Choi <ryuan.choi@samsung.com>
[EFL] Build break with latest EFL 1.8 libraries.
https://bugs.webkit.org/show_bug.cgi?id=123245
Reviewed by Gyuyoung Kim.
After fixed build break on EFL 1.8 at r138326, EFL libraries are changed
Eo typedef and splitted header files which contain version macro.
* TestWebKitAPI/PlatformWebView.h: Changed Eo typedef.
* WebKitTestRunner/InjectedBundle/TestRunner.h: Ditto.
* WebKitTestRunner/PlatformWebView.h: Ditto.
2013-10-24 Carlos Garcia Campos <cgarcia@igalia.com>
[GObject bindings] Make EventTarget interface introspectable
......
......@@ -49,7 +49,7 @@ typedef GtkWidget *PlatformWindow;
#elif PLATFORM(EFL)
typedef struct _Ecore_Evas Ecore_Evas;
#if USE(EO)
typedef struct _Eo Evas_Object;
typedef struct _Eo_Opaque Evas_Object;
#else
typedef struct _Evas_Object Evas_Object;
#endif
......
......@@ -43,7 +43,7 @@ typedef UINT_PTR PlatformTimerRef;
typedef unsigned int PlatformTimerRef;
#elif PLATFORM(EFL)
#if USE(EO)
typedef struct _Eo Ecore_Timer;
typedef struct _Eo_Opaque Ecore_Timer;
#else
typedef struct _Ecore_Timer Ecore_Timer;
#endif
......
......@@ -48,7 +48,7 @@ typedef GtkWidget* PlatformWindow;
#elif PLATFORM(EFL)
typedef struct _Ecore_Evas Ecore_Evas;
#if USE(EO)
typedef struct _Eo Evas_Object;
typedef struct _Eo_Opaque Evas_Object;
#else
typedef struct _Evas_Object Evas_Object;
#endif
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment