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