[WK2][EFL] Add Battery Status Provider
[WebKit-https.git] / Source / WebKit2 / CMakeLists.txt
1 SET(WebKit2_INCLUDE_DIRECTORIES
2     "${WEBKIT2_DIR}"
3     "${WEBKIT2_DIR}/Platform"
4     "${WEBKIT2_DIR}/Platform/CoreIPC"
5     "${WEBKIT2_DIR}/PluginProcess"
6     "${WEBKIT2_DIR}/Shared"
7     "${WEBKIT2_DIR}/Shared/API"
8     "${WEBKIT2_DIR}/Shared/API/c"
9     "${WEBKIT2_DIR}/Shared/CoreIPCSupport"
10     "${WEBKIT2_DIR}/Shared/Plugins"
11     "${WEBKIT2_DIR}/Shared/Plugins/Netscape"
12     "${WEBKIT2_DIR}/Shared/Plugins/Netscape/x11"
13     "${WEBKIT2_DIR}/UIProcess"
14     "${WEBKIT2_DIR}/UIProcess/API"
15     "${WEBKIT2_DIR}/UIProcess/API/C"
16     "${WEBKIT2_DIR}/UIProcess/API/cpp"
17     "${WEBKIT2_DIR}/UIProcess/Authentication"
18     "${WEBKIT2_DIR}/UIProcess/Downloads"
19     "${WEBKIT2_DIR}/UIProcess/Launcher"
20     "${WEBKIT2_DIR}/UIProcess/Notifications"
21     "${WEBKIT2_DIR}/UIProcess/Plugins"
22     "${WEBKIT2_DIR}/WebProcess"
23     "${WEBKIT2_DIR}/WebProcess/ApplicationCache"
24     "${WEBKIT2_DIR}/WebProcess/Authentication"
25     "${WEBKIT2_DIR}/WebProcess/Battery"
26     "${WEBKIT2_DIR}/WebProcess/Cookies"
27     "${WEBKIT2_DIR}/WebProcess/Downloads"
28     "${WEBKIT2_DIR}/WebProcess/FullScreen"
29     "${WEBKIT2_DIR}/WebProcess/Geolocation"
30     "${WEBKIT2_DIR}/WebProcess/NetworkInfo"
31     "${WEBKIT2_DIR}/WebProcess/IconDatabase"
32     "${WEBKIT2_DIR}/WebProcess/InjectedBundle"
33     "${WEBKIT2_DIR}/WebProcess/InjectedBundle/API"
34     "${WEBKIT2_DIR}/WebProcess/InjectedBundle/API/c"
35     "${WEBKIT2_DIR}/WebProcess/InjectedBundle/DOM"
36     "${WEBKIT2_DIR}/WebProcess/KeyValueStorage"
37     "${WEBKIT2_DIR}/WebProcess/Launching"
38     "${WEBKIT2_DIR}/WebProcess/MediaCache"
39     "${WEBKIT2_DIR}/WebProcess/Notifications"
40     "${WEBKIT2_DIR}/WebProcess/ResourceCache"
41     "${WEBKIT2_DIR}/WebProcess/Plugins"
42     "${WEBKIT2_DIR}/WebProcess/Plugins/Netscape"
43     "${WEBKIT2_DIR}/WebProcess/WebCoreSupport"
44     "${WEBKIT2_DIR}/WebProcess/WebPage"
45     "${WEBCORE_DIR}"
46     "${WEBCORE_DIR}/Modules/battery"
47     "${WEBCORE_DIR}/Modules/intents"
48     "${WEBCORE_DIR}/accessibility"
49     "${WEBCORE_DIR}/bindings/js"
50     "${WEBCORE_DIR}/bindings"
51     "${WEBCORE_DIR}/bridge"
52     "${WEBCORE_DIR}/bridge/jsc"
53     "${WEBCORE_DIR}/css"
54     "${WEBCORE_DIR}/dom"
55     "${WEBCORE_DIR}/editing"
56     "${WEBCORE_DIR}/history"
57     "${WEBCORE_DIR}/html"
58     "${WEBCORE_DIR}/html/track"
59     "${WEBCORE_DIR}/inspector"
60     "${WEBCORE_DIR}/loader"
61     "${WEBCORE_DIR}/loader/icon"
62     "${WEBCORE_DIR}/loader/cache"
63     "${WEBCORE_DIR}/page"
64     "${WEBCORE_DIR}/page/animation"
65     "${WEBCORE_DIR}/platform"
66     "${WEBCORE_DIR}/platform/animation"
67     "${WEBCORE_DIR}/platform/graphics"
68     "${WEBCORE_DIR}/platform/graphics/filters"
69     "${WEBCORE_DIR}/platform/graphics/transforms"
70     "${WEBCORE_DIR}/platform/network"
71     "${WEBCORE_DIR}/platform/sql"
72     "${WEBCORE_DIR}/platform/text"
73     "${WEBCORE_DIR}/plugins"
74     "${WEBCORE_DIR}/rendering"
75     "${WEBCORE_DIR}/rendering/style"
76     "${WEBCORE_DIR}/storage"
77     "${WEBCORE_DIR}/svg"
78     "${WEBCORE_DIR}/svg/properties"
79     "${JAVASCRIPTCORE_DIR}"
80     "${JAVASCRIPTCORE_DIR}/ForwardingHeaders"
81     "${JAVASCRIPTCORE_DIR}/API"
82     "${JAVASCRIPTCORE_DIR}/assembler"
83     "${JAVASCRIPTCORE_DIR}/bytecode"
84     "${JAVASCRIPTCORE_DIR}/bytecompiler"
85     "${JAVASCRIPTCORE_DIR}/collector/handles"
86     "${JAVASCRIPTCORE_DIR}/dfg"
87     "${JAVASCRIPTCORE_DIR}/disassembler"
88     "${JAVASCRIPTCORE_DIR}/heap"
89     "${JAVASCRIPTCORE_DIR}/interpreter"
90     "${JAVASCRIPTCORE_DIR}/jit"
91     "${JAVASCRIPTCORE_DIR}/parser"
92     "${JAVASCRIPTCORE_DIR}/profiler"
93     "${JAVASCRIPTCORE_DIR}/runtime"
94     "${WTF_DIR}"
95     "${DERIVED_SOURCES_DIR}"
96     "${DERIVED_SOURCES_WEBCORE_DIR}"
97     "${DERIVED_SOURCES_WEBKIT2_DIR}"
98     "${DERIVED_SOURCES_WEBKIT2_DIR}/include"
99     "${CMAKE_BINARY_DIR}"
100     "${CMAKE_SOURCE_DIR}/Source"
101 )
102
103 SET(WebKit2_SOURCES
104     Platform/Logging.cpp
105     Platform/Module.cpp
106     Platform/WorkQueue.cpp
107
108     Platform/CoreIPC/ArgumentCoders.cpp
109     Platform/CoreIPC/ArgumentDecoder.cpp
110     Platform/CoreIPC/ArgumentEncoder.cpp
111     Platform/CoreIPC/Attachment.cpp
112     Platform/CoreIPC/BinarySemaphore.cpp
113     Platform/CoreIPC/Connection.cpp
114     Platform/CoreIPC/DataReference.cpp
115
116     PluginProcess/PluginControllerProxy.cpp
117     PluginProcess/PluginCreationParameters.cpp
118     PluginProcess/PluginProcess.cpp
119     PluginProcess/WebProcessConnection.cpp
120
121     Shared/APIClientTraits.cpp
122     Shared/APIObject.cpp
123     Shared/ChildProcess.cpp
124     Shared/DictionaryPopupInfo.cpp
125     Shared/EditorState.cpp
126     Shared/FontInfo.cpp
127     Shared/ImmutableArray.cpp
128     Shared/ImmutableDictionary.cpp
129     Shared/IntentData.cpp
130     Shared/IntentServiceInfo.cpp
131     Shared/MutableArray.cpp
132     Shared/MutableDictionary.cpp
133     Shared/OriginAndDatabases.cpp
134     Shared/PlatformPopupMenuData.cpp
135     Shared/PrintInfo.cpp
136     Shared/SecurityOriginData.cpp
137     Shared/SessionState.cpp
138     Shared/ShareableBitmap.cpp
139     Shared/StatisticsData.cpp
140     Shared/UpdateInfo.cpp
141     Shared/VisitedLinkTable.cpp
142     Shared/WebBackForwardListItem.cpp
143     Shared/WebBatteryStatus.cpp
144     Shared/WebConnection.cpp
145     Shared/WebConnectionClient.cpp
146     Shared/WebContextMenuItem.cpp
147     Shared/WebContextMenuItemData.cpp
148     Shared/WebCoreArgumentCoders.cpp
149     Shared/WebError.cpp
150     Shared/WebEvent.cpp
151     Shared/WebEventConversion.cpp
152     Shared/WebGeolocationPosition.cpp
153     Shared/WebGestureEvent.cpp
154     Shared/WebGraphicsContext.cpp
155     Shared/WebHitTestResult.cpp
156     Shared/WebImage.cpp
157     Shared/WebKeyboardEvent.cpp
158     Shared/WebLayerTreeInfo.cpp
159     Shared/WebMemorySampler.cpp
160     Shared/WebMouseEvent.cpp
161     Shared/WebNetworkInfo.cpp
162     Shared/WebOpenPanelParameters.cpp
163     Shared/WebPageCreationParameters.cpp
164     Shared/WebPageGroupData.cpp
165     Shared/WebPlatformTouchPoint.cpp
166     Shared/WebPopupItem.cpp
167     Shared/WebPreferencesStore.cpp
168     Shared/WebProcessCreationParameters.cpp
169     Shared/WebRenderLayer.cpp
170     Shared/WebRenderObject.cpp
171     Shared/WebTouchEvent.cpp
172     Shared/WebURLRequest.cpp
173     Shared/WebURLResponse.cpp
174     Shared/WebWheelEvent.cpp
175
176     Shared/API/c/WKArray.cpp
177     Shared/API/c/WKCertificateInfo.cpp
178     Shared/API/c/WKConnectionRef.cpp
179     Shared/API/c/WKContextMenuItem.cpp
180     Shared/API/c/WKData.cpp
181     Shared/API/c/WKDictionary.cpp
182     Shared/API/c/WKError.cpp
183     Shared/API/c/WKGeometry.cpp
184     Shared/API/c/WKGraphicsContext.cpp
185     Shared/API/c/WKImage.cpp
186     Shared/API/c/WKMutableArray.cpp
187     Shared/API/c/WKMutableDictionary.cpp
188     Shared/API/c/WKNumber.cpp
189     Shared/API/c/WKRenderLayer.cpp
190     Shared/API/c/WKRenderObject.cpp
191     Shared/API/c/WKSecurityOrigin.cpp
192     Shared/API/c/WKSerializedScriptValue.cpp
193     Shared/API/c/WKString.cpp
194     Shared/API/c/WKType.cpp
195     Shared/API/c/WKURL.cpp
196     Shared/API/c/WKURLRequest.cpp
197     Shared/API/c/WKURLResponse.cpp
198     Shared/API/c/WKUserContentURLPattern.cpp
199
200     Shared/Plugins/NPIdentifierData.cpp
201     Shared/Plugins/NPObjectMessageReceiver.cpp
202     Shared/Plugins/NPObjectProxy.cpp
203     Shared/Plugins/NPRemoteObjectMap.cpp
204     Shared/Plugins/NPVariantData.cpp
205     Shared/Plugins/PluginModuleInfo.cpp
206     Shared/Plugins/PluginProcessCreationParameters.cpp
207
208     Shared/Plugins/Netscape/NetscapePluginModule.cpp
209     Shared/Plugins/Netscape/NetscapePluginModuleNone.cpp
210
211     UIProcess/BackingStore.cpp
212     UIProcess/DrawingAreaProxy.cpp
213     UIProcess/DrawingAreaProxyImpl.cpp
214     UIProcess/FindIndicator.cpp
215     UIProcess/GeolocationPermissionRequestManagerProxy.cpp
216     UIProcess/GeolocationPermissionRequestProxy.cpp
217     UIProcess/LayerTreeCoordinatorProxy.cpp
218     UIProcess/ResponsivenessTimer.cpp
219     UIProcess/VisitedLinkProvider.cpp
220     UIProcess/WebApplicationCacheManagerProxy.cpp
221     UIProcess/WebBackForwardList.cpp
222     UIProcess/WebBatteryManagerProxy.cpp
223     UIProcess/WebBatteryProvider.cpp
224     UIProcess/WebConnectionToWebProcess.cpp
225     UIProcess/WebContext.cpp
226     UIProcess/WebContextConnectionClient.cpp
227     UIProcess/WebContextInjectedBundleClient.cpp
228     UIProcess/WebContextMenuProxy.cpp
229     UIProcess/WebCookieManagerProxy.cpp
230     UIProcess/WebCookieManagerProxyClient.cpp
231     UIProcess/WebDatabaseManagerProxy.cpp
232     UIProcess/WebDatabaseManagerProxyClient.cpp
233     UIProcess/WebDownloadClient.cpp
234     UIProcess/WebEditCommandProxy.cpp
235     UIProcess/WebFindClient.cpp
236     UIProcess/WebFormClient.cpp
237     UIProcess/WebFormSubmissionListenerProxy.cpp
238     UIProcess/WebFrameListenerProxy.cpp
239     UIProcess/WebFramePolicyListenerProxy.cpp
240     UIProcess/WebFrameProxy.cpp
241     UIProcess/WebFullScreenManagerProxy.cpp
242     UIProcess/WebGeolocationManagerProxy.cpp
243     UIProcess/WebGeolocationProvider.cpp
244     UIProcess/WebGrammarDetail.cpp
245     UIProcess/WebHistoryClient.cpp
246     UIProcess/WebIconDatabase.cpp
247     UIProcess/WebIconDatabaseClient.cpp
248     UIProcess/WebInspectorProxy.cpp
249     UIProcess/WebIntentData.cpp
250     UIProcess/WebIntentServiceInfo.cpp
251     UIProcess/WebKeyValueStorageManagerProxy.cpp
252     UIProcess/WebLayerTreeRenderer.cpp
253     UIProcess/WebLoaderClient.cpp
254     UIProcess/WebMediaCacheManagerProxy.cpp
255     UIProcess/WebNavigationData.cpp
256     UIProcess/WebNetworkInfoManagerProxy.cpp
257     UIProcess/WebNetworkInfoProvider.cpp
258     UIProcess/WebOpenPanelResultListenerProxy.cpp
259     UIProcess/WebPageContextMenuClient.cpp
260     UIProcess/WebPageGroup.cpp
261     UIProcess/WebPageProxy.cpp
262     UIProcess/WebPolicyClient.cpp
263     UIProcess/WebPreferences.cpp
264     UIProcess/WebProcessProxy.cpp
265     UIProcess/WebResourceCacheManagerProxy.cpp
266     UIProcess/WebResourceLoadClient.cpp
267     UIProcess/WebTextChecker.cpp
268     UIProcess/WebTextCheckerClient.cpp
269     UIProcess/WebUIClient.cpp
270     UIProcess/WebVibrationProvider.cpp
271     UIProcess/WebVibrationProxy.cpp
272
273     UIProcess/API/C/WKApplicationCacheManager.cpp
274     UIProcess/API/C/WKAuthenticationChallenge.cpp
275     UIProcess/API/C/WKAuthenticationDecisionListener.cpp
276     UIProcess/API/C/WKBackForwardList.cpp
277     UIProcess/API/C/WKBackForwardListItem.cpp
278     UIProcess/API/C/WKBatteryManager.cpp
279     UIProcess/API/C/WKBatteryStatus.cpp
280     UIProcess/API/C/WKContext.cpp
281     UIProcess/API/C/WKCookieManager.cpp
282     UIProcess/API/C/WKCredential.cpp
283     UIProcess/API/C/WKDatabaseManager.cpp
284     UIProcess/API/C/WKDownload.cpp
285     UIProcess/API/C/WKFormSubmissionListener.cpp
286     UIProcess/API/C/WKFrame.cpp
287     UIProcess/API/C/WKFramePolicyListener.cpp
288     UIProcess/API/C/WKGeolocationManager.cpp
289     UIProcess/API/C/WKGeolocationPermissionRequest.cpp
290     UIProcess/API/C/WKGeolocationPosition.cpp
291     UIProcess/API/C/WKGrammarDetail.cpp
292     UIProcess/API/C/WKHitTestResult.cpp
293     UIProcess/API/C/WKIconDatabase.cpp
294     UIProcess/API/C/WKInspector.cpp
295     UIProcess/API/C/WKIntentData.cpp
296     UIProcess/API/C/WKIntentServiceInfo.cpp
297     UIProcess/API/C/WKKeyValueStorageManager.cpp
298     UIProcess/API/C/WKMediaCacheManager.cpp
299     UIProcess/API/C/WKNavigationData.cpp
300     UIProcess/API/C/WKNetworkInfoManager.cpp
301     UIProcess/API/C/WKNotification.cpp
302     UIProcess/API/C/WKNotificationManager.cpp
303     UIProcess/API/C/WKNotificationPermissionRequest.cpp
304     UIProcess/API/C/WKOpenPanelParameters.cpp
305     UIProcess/API/C/WKOpenPanelResultListener.cpp
306     UIProcess/API/C/WKPage.cpp
307     UIProcess/API/C/WKPageGroup.cpp
308     UIProcess/API/C/WKPluginSiteDataManager.cpp
309     UIProcess/API/C/WKPreferences.cpp
310     UIProcess/API/C/WKProtectionSpace.cpp
311     UIProcess/API/C/WKResourceCacheManager.cpp
312     UIProcess/API/C/WKTextChecker.cpp
313     UIProcess/API/C/WKVibration.cpp
314
315     UIProcess/Authentication/AuthenticationChallengeProxy.cpp
316     UIProcess/Authentication/AuthenticationDecisionListener.cpp
317     UIProcess/Authentication/WebCredential.cpp
318     UIProcess/Authentication/WebProtectionSpace.cpp
319
320     UIProcess/Downloads/DownloadProxy.cpp
321
322     UIProcess/InspectorServer/WebInspectorServer.cpp
323     UIProcess/InspectorServer/WebSocketServer.cpp
324     UIProcess/InspectorServer/WebSocketServerConnection.cpp
325
326     UIProcess/Launcher/ProcessLauncher.cpp
327     UIProcess/Launcher/ThreadLauncher.cpp
328
329     UIProcess/Notifications/NotificationPermissionRequest.cpp
330     UIProcess/Notifications/NotificationPermissionRequestManagerProxy.cpp
331     UIProcess/Notifications/WebNotification.cpp
332     UIProcess/Notifications/WebNotificationManagerProxy.cpp
333     UIProcess/Notifications/WebNotificationProvider.cpp
334
335     UIProcess/Plugins/PluginInfoStore.cpp
336     UIProcess/Plugins/PluginProcessManager.cpp
337     UIProcess/Plugins/PluginProcessProxy.cpp
338     UIProcess/Plugins/WebPluginSiteDataManager.cpp
339
340     WebProcess/WebConnectionToUIProcess.cpp
341     WebProcess/WebProcess.cpp
342
343     WebProcess/ApplicationCache/WebApplicationCacheManager.cpp
344
345     WebProcess/Authentication/AuthenticationManager.cpp
346
347     WebProcess/Battery/WebBatteryManager.cpp
348
349     WebProcess/Cookies/WebCookieManager.cpp
350
351     WebProcess/Downloads/Download.cpp
352     WebProcess/Downloads/DownloadAuthenticationClient.cpp
353     WebProcess/Downloads/DownloadManager.cpp
354
355     WebProcess/FullScreen/WebFullScreenManager.cpp
356
357     WebProcess/Geolocation/GeolocationPermissionRequestManager.cpp
358     WebProcess/Geolocation/WebGeolocationManager.cpp
359
360     WebProcess/IconDatabase/WebIconDatabaseProxy.cpp
361
362     WebProcess/InjectedBundle/InjectedBundle.cpp
363     WebProcess/InjectedBundle/InjectedBundleBackForwardList.cpp
364     WebProcess/InjectedBundle/InjectedBundleBackForwardListItem.cpp
365     WebProcess/InjectedBundle/InjectedBundleClient.cpp
366     WebProcess/InjectedBundle/InjectedBundleDOMWindowExtension.cpp
367     WebProcess/InjectedBundle/InjectedBundleHitTestResult.cpp
368     WebProcess/InjectedBundle/InjectedBundleNavigationAction.cpp
369     WebProcess/InjectedBundle/InjectedBundlePageContextMenuClient.cpp
370     WebProcess/InjectedBundle/InjectedBundlePageEditorClient.cpp
371     WebProcess/InjectedBundle/InjectedBundlePageFormClient.cpp
372     WebProcess/InjectedBundle/InjectedBundlePageFullScreenClient.cpp
373     WebProcess/InjectedBundle/InjectedBundlePageLoaderClient.cpp
374     WebProcess/InjectedBundle/InjectedBundlePagePolicyClient.cpp
375     WebProcess/InjectedBundle/InjectedBundlePageResourceLoadClient.cpp
376     WebProcess/InjectedBundle/InjectedBundlePageUIClient.cpp
377     WebProcess/InjectedBundle/InjectedBundleScriptWorld.cpp
378
379     WebProcess/InjectedBundle/API/c/WKBundle.cpp
380     WebProcess/InjectedBundle/API/c/WKBundleBackForwardList.cpp
381     WebProcess/InjectedBundle/API/c/WKBundleBackForwardListItem.cpp
382     WebProcess/InjectedBundle/API/c/WKBundleDOMWindowExtension.cpp
383     WebProcess/InjectedBundle/API/c/WKBundleFrame.cpp
384     WebProcess/InjectedBundle/API/c/WKBundleHitTestResult.cpp
385     WebProcess/InjectedBundle/API/c/WKBundleInspector.cpp
386     WebProcess/InjectedBundle/API/c/WKBundleNavigationAction.cpp
387     WebProcess/InjectedBundle/API/c/WKBundleNodeHandle.cpp
388     WebProcess/InjectedBundle/API/c/WKBundlePage.cpp
389     WebProcess/InjectedBundle/API/c/WKBundlePageGroup.cpp
390     WebProcess/InjectedBundle/API/c/WKBundlePageOverlay.cpp
391     WebProcess/InjectedBundle/API/c/WKBundleRangeHandle.cpp
392     WebProcess/InjectedBundle/API/c/WKBundleScriptWorld.cpp
393
394     WebProcess/InjectedBundle/DOM/InjectedBundleNodeHandle.cpp
395     WebProcess/InjectedBundle/DOM/InjectedBundleRangeHandle.cpp
396
397     WebProcess/KeyValueStorage/WebKeyValueStorageManager.cpp
398
399     WebProcess/MediaCache/WebMediaCacheManager.cpp
400
401     WebProcess/NetworkInfo/WebNetworkInfoManager.cpp
402
403     WebProcess/Notifications/NotificationPermissionRequestManager.cpp
404     WebProcess/Notifications/WebNotificationManager.cpp
405
406     WebProcess/Plugins/Plugin.cpp
407     WebProcess/Plugins/PluginProcessConnection.cpp
408     WebProcess/Plugins/PluginProcessConnectionManager.cpp
409     WebProcess/Plugins/PluginProxy.cpp
410     WebProcess/Plugins/PluginView.cpp
411
412     WebProcess/Plugins/Netscape/JSNPMethod.cpp
413     WebProcess/Plugins/Netscape/JSNPObject.cpp
414     WebProcess/Plugins/Netscape/NPJSObject.cpp
415     WebProcess/Plugins/Netscape/NPRuntimeObjectMap.cpp
416     WebProcess/Plugins/Netscape/NPRuntimeUtilities.cpp
417     WebProcess/Plugins/Netscape/NetscapeBrowserFuncs.cpp
418     WebProcess/Plugins/Netscape/NetscapePlugin.cpp
419     WebProcess/Plugins/Netscape/NetscapePluginNone.cpp
420     WebProcess/Plugins/Netscape/NetscapePluginStream.cpp
421
422     WebProcess/ResourceCache/WebResourceCacheManager.cpp
423
424     WebProcess/WebCoreSupport/WebBatteryClient.cpp
425     WebProcess/WebCoreSupport/WebChromeClient.cpp
426     WebProcess/WebCoreSupport/WebColorChooser.cpp
427     WebProcess/WebCoreSupport/WebContextMenuClient.cpp
428     WebProcess/WebCoreSupport/WebDatabaseManager.cpp
429     WebProcess/WebCoreSupport/WebDragClient.cpp
430     WebProcess/WebCoreSupport/WebEditorClient.cpp
431     WebProcess/WebCoreSupport/WebFrameLoaderClient.cpp
432     WebProcess/WebCoreSupport/WebGeolocationClient.cpp
433     WebProcess/WebCoreSupport/WebInspectorClient.cpp
434     WebProcess/WebCoreSupport/WebInspectorFrontendClient.cpp
435     WebProcess/WebCoreSupport/WebNetworkInfoClient.cpp
436     WebProcess/WebCoreSupport/WebNotificationClient.cpp
437     WebProcess/WebCoreSupport/WebPlatformStrategies.cpp
438     WebProcess/WebCoreSupport/WebPopupMenu.cpp
439     WebProcess/WebCoreSupport/WebSearchPopupMenu.cpp
440     WebProcess/WebCoreSupport/WebVibrationClient.cpp
441
442     WebProcess/WebPage/DecoderAdapter.cpp
443     WebProcess/WebPage/DrawingArea.cpp
444     WebProcess/WebPage/DrawingAreaImpl.cpp
445     WebProcess/WebPage/EncoderAdapter.cpp
446     WebProcess/WebPage/EventDispatcher.cpp
447     WebProcess/WebPage/FindController.cpp
448     WebProcess/WebPage/LayerTreeCoordinator/WebGraphicsLayer.cpp
449     WebProcess/WebPage/LayerTreeHost.cpp
450     WebProcess/WebPage/PageOverlay.cpp
451     WebProcess/WebPage/TapHighlightController.cpp
452     WebProcess/WebPage/TiledBackingStoreRemoteTile.cpp
453     WebProcess/WebPage/WebBackForwardListProxy.cpp
454     WebProcess/WebPage/WebContextMenu.cpp
455     WebProcess/WebPage/WebFrame.cpp
456     WebProcess/WebPage/WebInspector.cpp
457     WebProcess/WebPage/WebOpenPanelResultListener.cpp
458     WebProcess/WebPage/WebPage.cpp
459     WebProcess/WebPage/WebPageGroupProxy.cpp
460     WebProcess/WebPage/WebUndoStep.cpp
461 )
462
463 SET(WebKit2_MESSAGES_IN_FILES
464     PluginProcess/PluginControllerProxy.messages.in
465     PluginProcess/PluginProcess.messages.in
466     PluginProcess/WebProcessConnection.messages.in
467
468     Shared/Plugins/NPObjectMessageReceiver.messages.in
469
470     UIProcess/DrawingAreaProxy.messages.in
471     UIProcess/LayerTreeCoordinatorProxy.messages.in
472     UIProcess/WebApplicationCacheManagerProxy.messages.in
473     UIProcess/WebBatteryManagerProxy.messages.in
474     UIProcess/WebContext.messages.in
475     UIProcess/WebCookieManagerProxy.messages.in
476     UIProcess/WebDatabaseManagerProxy.messages.in
477     UIProcess/WebFullScreenManagerProxy.messages.in
478     UIProcess/WebGeolocationManagerProxy.messages.in
479     UIProcess/WebIconDatabase.messages.in
480     UIProcess/WebInspectorProxy.messages.in
481     UIProcess/WebKeyValueStorageManagerProxy.messages.in
482     UIProcess/WebMediaCacheManagerProxy.messages.in
483     UIProcess/WebNetworkInfoManagerProxy.messages.in
484     UIProcess/WebPageProxy.messages.in
485     UIProcess/WebProcessProxy.messages.in
486     UIProcess/WebResourceCacheManagerProxy.messages.in
487     UIProcess/WebVibrationProxy.messages.in
488
489     UIProcess/Downloads/DownloadProxy.messages.in
490
491     UIProcess/Notifications/WebNotificationManagerProxy.messages.in
492
493     UIProcess/Plugins/PluginProcessProxy.messages.in
494
495     WebProcess/WebProcess.messages.in
496
497     WebProcess/ApplicationCache/WebApplicationCacheManager.messages.in
498
499     WebProcess/Authentication/AuthenticationManager.messages.in
500
501     WebProcess/Battery/WebBatteryManager.messages.in
502
503     WebProcess/Cookies/WebCookieManager.messages.in
504
505     WebProcess/FullScreen/WebFullScreenManager.messages.in
506
507     WebProcess/Geolocation/WebGeolocationManager.messages.in
508
509     WebProcess/IconDatabase/WebIconDatabaseProxy.messages.in
510
511     WebProcess/KeyValueStorage/WebKeyValueStorageManager.messages.in
512
513     WebProcess/MediaCache/WebMediaCacheManager.messages.in
514
515     WebProcess/NetworkInfo/WebNetworkInfoManager.messages.in
516
517     WebProcess/Notifications/WebNotificationManager.messages.in
518
519     WebProcess/Plugins/PluginProcessConnection.messages.in
520     WebProcess/Plugins/PluginProxy.messages.in
521
522     WebProcess/ResourceCache/WebResourceCacheManager.messages.in
523
524     WebProcess/WebCoreSupport/WebDatabaseManager.messages.in
525
526     WebProcess/WebPage/DrawingArea.messages.in
527     WebProcess/WebPage/EventDispatcher.messages.in
528     WebProcess/WebPage/LayerTreeCoordinator/LayerTreeCoordinator.messages.in
529     WebProcess/WebPage/WebInspector.messages.in
530     WebProcess/WebPage/WebPage.messages.in
531 )
532
533 SET(WebProcess_EXECUTABLE_NAME WebProcess)
534
535 SET(WebProcess_LIBRARIES
536     ${JavaScriptCore_LIBRARY_NAME}
537     ${WebCore_LIBRARY_NAME}
538     ${WebKit2_LIBRARY_NAME}
539 )
540
541 WEBKIT_INCLUDE_CONFIG_FILES_IF_EXISTS()
542
543 # Create JavaScript C++ code given an IDL input
544 FOREACH (_file ${WebKit2_MESSAGES_IN_FILES})
545     GET_FILENAME_COMPONENT (_name ${_file} NAME_WE)
546     ADD_CUSTOM_COMMAND(
547         OUTPUT ${DERIVED_SOURCES_WEBKIT2_DIR}/${_name}MessageReceiver.cpp ${DERIVED_SOURCES_WEBKIT2_DIR}/${_name}Messages.h
548         MAIN_DEPENDENCY ${_file}
549         COMMAND ${PYTHON_EXECUTABLE} ${WEBKIT2_DIR}/Scripts/generate-message-receiver.py ${_file} > ${DERIVED_SOURCES_WEBKIT2_DIR}/${_name}MessageReceiver.cpp
550         COMMAND ${PYTHON_EXECUTABLE} ${WEBKIT2_DIR}/Scripts/generate-messages-header.py ${_file} > ${DERIVED_SOURCES_WEBKIT2_DIR}/${_name}Messages.h
551         WORKING_DIRECTORY ${WEBKIT2_DIR}
552         VERBATIM)
553
554     LIST(APPEND WebKit2_SOURCES ${DERIVED_SOURCES_WEBKIT2_DIR}/${_name}MessageReceiver.cpp)
555 ENDFOREACH ()
556
557 SET(WebKit2_LIBRARIES
558     ${WebCore_LIBRARY_NAME}
559 )
560
561 ADD_DEFINITIONS(-DBUILDING_WEBKIT)
562 INCLUDE_DIRECTORIES(${WebKit2_INCLUDE_DIRECTORIES})
563 ADD_LIBRARY(${WebKit2_LIBRARY_NAME} ${WebKit2_LIBRARY_TYPE} ${WebKit2_SOURCES})
564
565 ADD_DEPENDENCIES(${WebKit2_LIBRARY_NAME} ${WebCore_LIBRARY_NAME})
566 ADD_DEPENDENCIES(${WebKit2_LIBRARY_NAME} ${ForwardingHeaders_NAME})
567 ADD_DEPENDENCIES(${WebKit2_LIBRARY_NAME} ${ForwardingNetworkHeaders_NAME})
568 TARGET_LINK_LIBRARIES(${WebKit2_LIBRARY_NAME} ${WebKit2_LIBRARIES})
569 SET_TARGET_PROPERTIES(${WebKit2_LIBRARY_NAME} PROPERTIES FOLDER "WebKit")
570 SET_TARGET_PROPERTIES(${WebKit2_LIBRARY_NAME} PROPERTIES LINK_INTERFACE_LIBRARIES "")
571
572 ADD_EXECUTABLE(${WebProcess_EXECUTABLE_NAME} ${WebProcess_SOURCES})
573 TARGET_LINK_LIBRARIES(${WebProcess_EXECUTABLE_NAME} ${WebProcess_LIBRARIES})
574 SET_TARGET_PROPERTIES(${WebProcess_EXECUTABLE_NAME} PROPERTIES FOLDER "WebKit")
575
576 SET_TARGET_PROPERTIES(${WebKit2_LIBRARY_NAME} PROPERTIES VERSION ${PROJECT_VERSION} SOVERSION ${PROJECT_VERSION_MAJOR})
577 IF (WebKit2_LINK_FLAGS)
578     ADD_TARGET_PROPERTIES(${WebKit2_LIBRARY_NAME} LINK_FLAGS "${WebKit2_LINK_FLAGS}")
579     ADD_TARGET_PROPERTIES(${WebProcess_EXECUTABLE_NAME} LINK_FLAGS "${WebKit2_LINK_FLAGS}")
580 ENDIF ()
581
582 INSTALL(TARGETS ${WebKit2_LIBRARY_NAME} DESTINATION "${LIB_INSTALL_DIR}")
583 INSTALL(TARGETS ${WebProcess_EXECUTABLE_NAME} DESTINATION "${EXEC_INSTALL_DIR}")