upload webkit/tizen 2.0_beta source.
[framework/web/webkit-efl.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/C/efl/WKView.cpp
28
29     UIProcess/API/C/soup/WKContextSoup.cpp
30     UIProcess/API/C/soup/WKSoupRequestManager.cpp
31
32     UIProcess/API/efl/PageClientImpl.cpp
33     UIProcess/API/efl/ewk_context.cpp
34     UIProcess/API/efl/ewk_view.cpp
35     UIProcess/API/efl/ewk_network.cpp
36
37     UIProcess/cairo/BackingStoreCairo.cpp
38
39     UIProcess/efl/TextCheckerEfl.cpp
40     UIProcess/efl/WebContextEfl.cpp
41     UIProcess/efl/WebFullScreenManagerProxyEfl.cpp
42     UIProcess/efl/WebInspectorProxyEfl.cpp
43     UIProcess/efl/WebPageProxyEfl.cpp
44     UIProcess/efl/WebPreferencesEfl.cpp
45
46     UIProcess/soup/WebSoupRequestManagerClient.cpp
47     UIProcess/soup/WebSoupRequestManagerProxy.cpp
48
49     UIProcess/Launcher/efl/ProcessLauncherEfl.cpp
50     UIProcess/Launcher/efl/ThreadLauncherEfl.cpp
51
52     UIProcess/Plugins/efl/PluginProcessProxyEfl.cpp
53
54     UIProcess/Plugins/unix/PluginInfoStoreUnix.cpp
55
56     WebProcess/Cookies/soup/WebCookieManagerSoup.cpp
57
58     WebProcess/Downloads/efl/DownloadEfl.cpp
59     WebProcess/Downloads/efl/FileDownloaderEfl.cpp
60
61     WebProcess/efl/WebProcessEfl.cpp
62     WebProcess/efl/WebProcessMainEfl.cpp
63
64     WebProcess/InjectedBundle/efl/InjectedBundleEfl.cpp
65
66     WebProcess/WebCoreSupport/efl/WebContextMenuClientEfl.cpp
67     WebProcess/WebCoreSupport/efl/WebEditorClientEfl.cpp
68     WebProcess/WebCoreSupport/efl/WebErrorsEfl.cpp
69     WebProcess/WebCoreSupport/efl/WebInspectorServerEfl.cpp
70     WebProcess/WebCoreSupport/efl/WebPopupMenuEfl.cpp
71     WebProcess/WebCoreSupport/efl/WebFrameNetworkingContext.cpp
72
73     WebProcess/WebPage/efl/WebInspectorEfl.cpp
74     WebProcess/WebPage/efl/WebPageEfl.cpp
75
76     WebProcess/soup/WebSoupRequestManager.cpp
77     WebProcess/soup/WebKitSoupRequestGeneric.cpp
78     WebProcess/soup/WebKitSoupRequestInputStream.cpp
79 )
80
81 LIST(APPEND WebKit2_MESSAGES_IN_FILES
82     UIProcess/soup/WebSoupRequestManagerProxy.messages.in
83     WebProcess/soup/WebSoupRequestManager.messages.in
84 )
85
86 LIST(APPEND WebKit2_INCLUDE_DIRECTORIES
87     "${JAVASCRIPTCORE_DIR}/llint"
88     "${WEBCORE_DIR}/platform/efl"
89     "${WEBCORE_DIR}/platform/graphics/cairo"
90     "${WEBCORE_DIR}/platform/network/soup"
91     "${WEBCORE_DIR}/svg/graphics"
92     "${WEBKIT2_DIR}/Shared/efl"
93     "${WEBKIT2_DIR}/UIProcess/API/C/efl"
94     "${WEBKIT2_DIR}/UIProcess/API/C/soup"
95     "${WEBKIT2_DIR}/UIProcess/API/efl"
96     "${WEBKIT2_DIR}/UIProcess/soup"
97     "${WEBKIT2_DIR}/WebProcess/Downloads/efl"
98     "${WEBKIT2_DIR}/WebProcess/efl"
99     "${WEBKIT2_DIR}/WebProcess/soup"
100     "${WEBKIT2_DIR}/WebProcess/WebCoreSupport/efl"
101     "${WTF_DIR}/wtf/gobject"
102     ${CAIRO_INCLUDE_DIRS}
103     ${ECORE_X_INCLUDE_DIRS}
104     ${EDJE_INCLUDE_DIRS}
105     ${EFLDEPS_INCLUDE_DIRS}
106     ${EVAS_INCLUDE_DIRS}
107     ${LIBXML2_INCLUDE_DIR}
108     ${LIBXSLT_INCLUDE_DIRS}
109     ${SQLITE_INCLUDE_DIRS}
110     ${Glib_INCLUDE_DIRS}
111     ${LIBSOUP24_INCLUDE_DIRS}
112     ${WTF_DIR}
113     ${CAPI_INCLUDE_DIRS}
114 )
115
116 LIST(APPEND WebKit2_LIBRARIES
117     ${CAIRO_LIBRARIES}
118     ${ECORE_X_LIBRARIES}
119     ${EFLDEPS_LIBRARIES}
120     ${Freetype_LIBRARIES}
121     ${LIBXML2_LIBRARIES}
122     ${SQLITE_LIBRARIES}
123     ${FONTCONFIG_LIBRARIES}
124     ${PNG_LIBRARY}
125     ${JPEG_LIBRARY}
126     ${CMAKE_DL_LIBS}
127     ${Glib_LIBRARIES}
128     ${LIBSOUP24_LIBRARIES}
129     ${CAPI_LIBRARIES}
130 )
131
132 LIST (APPEND WebProcess_SOURCES
133     efl/MainEfl.cpp
134 )
135
136 LIST (APPEND WebProcess_LIBRARIES
137     ${CAIRO_LIBRARIES}
138     ${ECORE_X_LIBRARIES}
139     ${EDJE_LIBRARIES}
140     ${EFLDEPS_LIBRARIES}
141     ${EVAS_LIBRARIES}
142     ${LIBXML2_LIBRARIES}
143     ${LIBXSLT_LIBRARIES}
144     ${SQLITE_LIBRARIES}
145 )
146
147 ADD_CUSTOM_TARGET(forwarding-headerEfl
148     COMMAND ${PERL_EXECUTABLE} ${WEBKIT2_DIR}/Scripts/generate-forwarding-headers.pl ${WEBKIT2_DIR} ${DERIVED_SOURCES_WEBKIT2_DIR}/include efl
149 )
150 SET(ForwardingHeaders_NAME forwarding-headerEfl)
151
152 ADD_CUSTOM_TARGET(forwarding-headerSoup
153     COMMAND ${PERL_EXECUTABLE} ${WEBKIT2_DIR}/Scripts/generate-forwarding-headers.pl ${WEBKIT2_DIR} ${DERIVED_SOURCES_WEBKIT2_DIR}/include soup
154 )
155 SET(ForwardingNetworkHeaders_NAME forwarding-headerSoup)
156
157 IF (WTF_USE_CURL)
158     LIST(APPEND WebKit2_INCLUDE_DIRECTORIES
159         "${WEBCORE_DIR}/platform/network/curl"
160         ${CURL_INCLUDE_DIRS}
161     )
162     LIST(APPEND WebKit2_LIBRARIES ${CURL_LIBRARIES})
163     LIST(APPEND WebKit2_SOURCES
164         WebProcess/Cookies/curl/WebCookieManagerCurl.cpp
165     )
166 ENDIF ()
167
168 IF (ENABLE_GLIB_SUPPORT)
169     LIST(APPEND WebKit2_INCLUDE_DIRECTORIES
170         ${Glib_INCLUDE_DIRS}
171         ${JAVASCRIPTCORE_DIR}/wtf/gobject
172     )
173     LIST(APPEND WebKit2_LIBRARIES
174         ${Glib_LIBRARIES}
175     )
176 ENDIF ()
177
178 IF (ENABLE_BATTERY_STATUS)
179     LIST(APPEND WebKit2_INCLUDE_DIRECTORIES $(WEBCORE_DIR)/Modules/battery)
180 ENDIF ()
181
182 IF (ENABLE_TIZEN_SUPPORT)
183     INCLUDE_IF_EXISTS(${WEBKIT2_DIR}/PlatformTizen.cmake)
184 ENDIF ()