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