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