adaeeab27e73a7bbb3d4d7e00deda94c155db763
[WebKit-https.git] / Source / WebKit2 / PlatformEfl.cmake
1 INCLUDE(WebKitEfl)
2
3 LIST(APPEND WebKit2_LINK_FLAGS
4     ${ECORE_X_LDFLAGS}
5     ${EDJE_LDFLAGS}
6     ${EFLDEPS_LDFLAGS}
7     ${EVAS_LDFLAGS}
8 )
9
10 LIST(APPEND WebKit2_SOURCES
11     Platform/efl/ModuleEfl.cpp
12     Platform/efl/RunLoopEfl.cpp
13     Platform/efl/WorkQueueEfl.cpp
14     Platform/unix/SharedMemoryUnix.cpp
15
16     Platform/CoreIPC/unix/ConnectionUnix.cpp
17     Platform/CoreIPC/unix/AttachmentUnix.cpp
18
19     Shared/API/c/gtk/WKGraphicsContextGtk.cpp
20
21     Shared/cairo/LayerTreeContextCairo.cpp
22     Shared/cairo/ShareableBitmapCairo.cpp
23
24     Shared/efl/NativeWebKeyboardEventEfl.cpp
25     Shared/efl/NativeWebWheelEventEfl.cpp
26     Shared/efl/NativeWebMouseEventEfl.cpp
27     Shared/efl/WebEventFactory.cpp
28     Shared/efl/WebCoreArgumentCodersEfl.cpp
29
30     UIProcess/API/efl/PageClientImpl.cpp
31     UIProcess/API/efl/ewk_view.cpp
32
33     UIProcess/cairo/BackingStoreCairo.cpp
34
35     UIProcess/efl/TextCheckerEfl.cpp
36     UIProcess/efl/WebContextEfl.cpp
37     UIProcess/efl/WebInspectorEfl.cpp
38     UIProcess/efl/WebPageProxyEfl.cpp
39     UIProcess/efl/WebPreferencesEfl.cpp
40
41     UIProcess/Launcher/efl/ProcessLauncherEfl.cpp
42     UIProcess/Launcher/efl/ThreadLauncherEfl.cpp
43
44     UIProcess/Plugins/efl/PluginInfoStoreEfl.cpp
45     UIProcess/Plugins/efl/PluginProcessProxyEfl.cpp
46
47     WebProcess/Cookies/soup/WebCookieManagerSoup.cpp
48
49     WebProcess/Downloads/efl/DownloadEfl.cpp
50     WebProcess/Downloads/efl/FileDownloaderEfl.cpp
51
52     WebProcess/efl/WebProcessEfl.cpp
53     WebProcess/efl/WebProcessMainEfl.cpp
54
55     WebProcess/InjectedBundle/efl/InjectedBundleEfl.cpp
56
57     WebProcess/WebCoreSupport/efl/WebContextMenuClientEfl.cpp
58     WebProcess/WebCoreSupport/efl/WebEditorClientEfl.cpp
59     WebProcess/WebCoreSupport/efl/WebErrorsEfl.cpp
60     WebProcess/WebCoreSupport/efl/WebPopupMenuEfl.cpp
61
62     WebProcess/WebPage/efl/WebInspectorEfl.cpp
63     WebProcess/WebPage/efl/WebPageEfl.cpp
64 )
65
66 LIST(APPEND WebKit2_INCLUDE_DIRECTORIES
67     "${JAVASCRIPTCORE_DIR}/wtf/gobject"
68     "${WEBCORE_DIR}/platform/efl"
69     "${WEBCORE_DIR}/platform/graphics/cairo"
70     "${WEBCORE_DIR}/platform/network/soup"
71     "${WEBKIT2_DIR}/Shared/efl"
72     "${WEBKIT2_DIR}/UIProcess/API/efl/"
73     "${WEBKIT2_DIR}/WebProcess/Downloads/efl"
74     "${WEBKIT2_DIR}/WebProcess/efl"
75     "${WEBKIT2_DIR}/WebProcess/WebCoreSupport/efl"
76     ${Cairo_INCLUDE_DIRS}
77     ${ECORE_X_INCLUDE_DIRS}
78     ${EDJE_INCLUDE_DIRS}
79     ${EFLDEPS_INCLUDE_DIRS}
80     ${EVAS_INCLUDE_DIRS}
81     ${LIBXML2_INCLUDE_DIR}
82     ${LIBXSLT_INCLUDE_DIRS}
83     ${SQLITE_INCLUDE_DIRS}
84     ${Glib_INCLUDE_DIRS}
85     ${LIBSOUP24_INCLUDE_DIRS}
86 )
87
88 LIST(APPEND WebKit2_LIBRARIES
89     ${Cairo_LIBRARIES}
90     ${ECORE_X_LIBRARIES}
91     ${EFLDEPS_LIBRARIES}
92     ${Freetype_LIBRARIES}
93     ${LIBXML2_LIBRARIES}
94     ${SQLITE_LIBRARIES}
95     ${FONTCONFIG_LIBRARIES}
96     ${PNG_LIBRARY}
97     ${JPEG_LIBRARY}
98     ${CMAKE_DL_LIBS}
99     ${Glib_LIBRARIES}
100     ${LIBSOUP24_LIBRARIES}
101 )
102
103 LIST (APPEND WebProcess_SOURCES
104     efl/MainEfl.cpp
105 )
106
107 LIST (APPEND WebProcess_LIBRARIES
108     ${Cairo_LIBRARIES}
109     ${ECORE_X_LIBRARIES}
110     ${EDJE_LIBRARIES}
111     ${EFLDEPS_LIBRARIES}
112     ${EVAS_LIBRARIES}
113     ${LIBXML2_LIBRARIES}
114     ${LIBXSLT_LIBRARIES}
115     ${SQLITE_LIBRARIES}
116 )
117
118 ADD_CUSTOM_TARGET(forwarding-headerEfl
119     COMMAND ${PERL_EXECUTABLE} ${WEBKIT2_DIR}/Scripts/generate-forwarding-headers.pl ${WEBKIT2_DIR} ${DERIVED_SOURCES_WEBKIT2_DIR}/include efl
120 )
121 SET(ForwardingHeaders_NAME forwarding-headerEfl)
122
123 ADD_CUSTOM_TARGET(forwarding-headerSoup
124     COMMAND ${PERL_EXECUTABLE} ${WEBKIT2_DIR}/Scripts/generate-forwarding-headers.pl ${WEBKIT2_DIR} ${DERIVED_SOURCES_WEBKIT2_DIR}/include soup
125 )
126 SET(ForwardingNetworkHeaders_NAME forwarding-headerSoup)