83b6eebd2608d2993763dbbc9b7acdfe3d32abe0
[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/CoordinatedGraphics"
10     "${WEBKIT2_DIR}/Shared/CoreIPCSupport"
11     "${WEBKIT2_DIR}/Shared/Plugins"
12     "${WEBKIT2_DIR}/Shared/Plugins/Netscape"
13     "${WEBKIT2_DIR}/Shared/Plugins/Netscape/x11"
14     "${WEBKIT2_DIR}/UIProcess"
15     "${WEBKIT2_DIR}/UIProcess/API"
16     "${WEBKIT2_DIR}/UIProcess/API/C"
17     "${WEBKIT2_DIR}/UIProcess/API/cpp"
18     "${WEBKIT2_DIR}/UIProcess/Authentication"
19     "${WEBKIT2_DIR}/UIProcess/CoordinatedGraphics"
20     "${WEBKIT2_DIR}/UIProcess/Downloads"
21     "${WEBKIT2_DIR}/UIProcess/InspectorServer"
22     "${WEBKIT2_DIR}/UIProcess/Launcher"
23     "${WEBKIT2_DIR}/UIProcess/Notifications"
24     "${WEBKIT2_DIR}/UIProcess/Plugins"
25     "${WEBKIT2_DIR}/WebProcess"
26     "${WEBKIT2_DIR}/WebProcess/ApplicationCache"
27     "${WEBKIT2_DIR}/WebProcess/Authentication"
28     "${WEBKIT2_DIR}/WebProcess/Battery"
29     "${WEBKIT2_DIR}/WebProcess/Cookies"
30     "${WEBKIT2_DIR}/WebProcess/Downloads"
31     "${WEBKIT2_DIR}/WebProcess/FullScreen"
32     "${WEBKIT2_DIR}/WebProcess/Geolocation"
33     "${WEBKIT2_DIR}/WebProcess/NetworkInfo"
34     "${WEBKIT2_DIR}/WebProcess/IconDatabase"
35     "${WEBKIT2_DIR}/WebProcess/InjectedBundle"
36     "${WEBKIT2_DIR}/WebProcess/InjectedBundle/API"
37     "${WEBKIT2_DIR}/WebProcess/InjectedBundle/API/c"
38     "${WEBKIT2_DIR}/WebProcess/InjectedBundle/DOM"
39     "${WEBKIT2_DIR}/WebProcess/KeyValueStorage"
40     "${WEBKIT2_DIR}/WebProcess/Launching"
41     "${WEBKIT2_DIR}/WebProcess/MediaCache"
42     "${WEBKIT2_DIR}/WebProcess/Notifications"
43     "${WEBKIT2_DIR}/WebProcess/ResourceCache"
44     "${WEBKIT2_DIR}/WebProcess/Plugins"
45     "${WEBKIT2_DIR}/WebProcess/Plugins/Netscape"
46     "${WEBKIT2_DIR}/WebProcess/WebCoreSupport"
47     "${WEBKIT2_DIR}/WebProcess/WebPage"
48     "${WEBKIT2_DIR}/WebProcess/WebPage/CoordinatedGraphics"
49     "${WEBCORE_DIR}"
50     "${WEBCORE_DIR}/Modules/battery"
51     "${WEBCORE_DIR}/Modules/intents"
52     "${WEBCORE_DIR}/Modules/networkinfo"
53     "${WEBCORE_DIR}/Modules/notifications"
54     "${WEBCORE_DIR}/Modules/vibration"
55     "${WEBCORE_DIR}/accessibility"
56     "${WEBCORE_DIR}/bindings/js"
57     "${WEBCORE_DIR}/bindings"
58     "${WEBCORE_DIR}/bridge"
59     "${WEBCORE_DIR}/bridge/jsc"
60     "${WEBCORE_DIR}/css"
61     "${WEBCORE_DIR}/dom"
62     "${WEBCORE_DIR}/dom/default"
63     "${WEBCORE_DIR}/editing"
64     "${WEBCORE_DIR}/fileapi"
65     "${WEBCORE_DIR}/history"
66     "${WEBCORE_DIR}/html"
67     "${WEBCORE_DIR}/html/shadow"
68     "${WEBCORE_DIR}/html/track"
69     "${WEBCORE_DIR}/inspector"
70     "${WEBCORE_DIR}/loader"
71     "${WEBCORE_DIR}/loader/icon"
72     "${WEBCORE_DIR}/loader/cache"
73     "${WEBCORE_DIR}/page"
74     "${WEBCORE_DIR}/page/animation"
75     "${WEBCORE_DIR}/platform"
76     "${WEBCORE_DIR}/platform/animation"
77     "${WEBCORE_DIR}/platform/graphics"
78     "${WEBCORE_DIR}/platform/graphics/filters"
79     "${WEBCORE_DIR}/platform/graphics/harfbuzz"
80     "${WEBCORE_DIR}/platform/graphics/harfbuzz/ng"
81     "${WEBCORE_DIR}/platform/graphics/surfaces"
82     "${WEBCORE_DIR}/platform/graphics/texmap"
83     "${WEBCORE_DIR}/platform/graphics/transforms"
84     "${WEBCORE_DIR}/platform/network"
85     "${WEBCORE_DIR}/platform/sql"
86     "${WEBCORE_DIR}/platform/text"
87     "${WEBCORE_DIR}/plugins"
88     "${WEBCORE_DIR}/rendering"
89     "${WEBCORE_DIR}/rendering/style"
90     "${WEBCORE_DIR}/storage"
91     "${WEBCORE_DIR}/svg"
92     "${WEBCORE_DIR}/svg/properties"
93     "${JAVASCRIPTCORE_DIR}"
94     "${JAVASCRIPTCORE_DIR}/ForwardingHeaders"
95     "${JAVASCRIPTCORE_DIR}/API"
96     "${JAVASCRIPTCORE_DIR}/assembler"
97     "${JAVASCRIPTCORE_DIR}/bytecode"
98     "${JAVASCRIPTCORE_DIR}/bytecompiler"
99     "${JAVASCRIPTCORE_DIR}/collector/handles"
100     "${JAVASCRIPTCORE_DIR}/dfg"
101     "${JAVASCRIPTCORE_DIR}/disassembler"
102     "${JAVASCRIPTCORE_DIR}/heap"
103     "${JAVASCRIPTCORE_DIR}/interpreter"
104     "${JAVASCRIPTCORE_DIR}/jit"
105     "${JAVASCRIPTCORE_DIR}/parser"
106     "${JAVASCRIPTCORE_DIR}/profiler"
107     "${JAVASCRIPTCORE_DIR}/runtime"
108     "${WTF_DIR}"
109     "${DERIVED_SOURCES_DIR}"
110     "${DERIVED_SOURCES_WEBCORE_DIR}"
111     "${DERIVED_SOURCES_WEBKIT2_DIR}"
112     "${DERIVED_SOURCES_WEBKIT2_DIR}/include"
113     "${CMAKE_BINARY_DIR}"
114     "${CMAKE_SOURCE_DIR}/Source"
115 )
116
117 set(WebKit2_SOURCES
118     Platform/Logging.cpp
119     Platform/Module.cpp
120     Platform/WorkQueue.cpp
121
122     Platform/CoreIPC/ArgumentCoders.cpp
123     Platform/CoreIPC/ArgumentDecoder.cpp
124     Platform/CoreIPC/ArgumentEncoder.cpp
125     Platform/CoreIPC/Attachment.cpp
126     Platform/CoreIPC/BinarySemaphore.cpp
127     Platform/CoreIPC/Connection.cpp
128     Platform/CoreIPC/DataReference.cpp
129     Platform/CoreIPC/MessageDecoder.cpp
130     Platform/CoreIPC/MessageEncoder.cpp
131     Platform/CoreIPC/MessageReceiverMap.cpp
132     Platform/CoreIPC/StringReference.cpp
133
134     PluginProcess/PluginControllerProxy.cpp
135     PluginProcess/PluginCreationParameters.cpp
136     PluginProcess/PluginProcess.cpp
137     PluginProcess/WebProcessConnection.cpp
138
139     Shared/APIClientTraits.cpp
140     Shared/APIObject.cpp
141     Shared/ChildProcess.cpp
142     Shared/ChildProcessProxy.cpp
143     Shared/ConnectionStack.cpp
144     Shared/DictionaryPopupInfo.cpp
145     Shared/EditorState.cpp
146     Shared/FontInfo.cpp
147     Shared/ImmutableArray.cpp
148     Shared/ImmutableDictionary.cpp
149     Shared/IntentData.cpp
150     Shared/IntentServiceInfo.cpp
151     Shared/MutableArray.cpp
152     Shared/MutableDictionary.cpp
153     Shared/OriginAndDatabases.cpp
154     Shared/PlatformPopupMenuData.cpp
155     Shared/PrintInfo.cpp
156     Shared/SecurityOriginData.cpp
157     Shared/SessionState.cpp
158     Shared/ShareableBitmap.cpp
159     Shared/ShareableSurface.cpp
160     Shared/StatisticsData.cpp
161     Shared/SurfaceUpdateInfo.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/WebIntentServiceInfo.cpp
180     Shared/WebKeyboardEvent.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/CoordinatedLayerInfo.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/VisitedLinkProvider.cpp
247     UIProcess/WebApplicationCacheManagerProxy.cpp
248     UIProcess/WebBackForwardList.cpp
249     UIProcess/WebBatteryManagerProxy.cpp
250     UIProcess/WebBatteryProvider.cpp
251     UIProcess/WebColorChooserProxy.cpp
252     UIProcess/WebColorPickerResultListenerProxy.cpp
253     UIProcess/WebConnectionToWebProcess.cpp
254     UIProcess/WebContext.cpp
255     UIProcess/WebContextConnectionClient.cpp
256     UIProcess/WebContextInjectedBundleClient.cpp
257     UIProcess/WebContextMenuProxy.cpp
258     UIProcess/WebCookieManagerProxy.cpp
259     UIProcess/WebCookieManagerProxyClient.cpp
260     UIProcess/WebDatabaseManagerProxy.cpp
261     UIProcess/WebDatabaseManagerProxyClient.cpp
262     UIProcess/WebDownloadClient.cpp
263     UIProcess/WebEditCommandProxy.cpp
264     UIProcess/WebFindClient.cpp
265     UIProcess/WebFormClient.cpp
266     UIProcess/WebFormSubmissionListenerProxy.cpp
267     UIProcess/WebFrameListenerProxy.cpp
268     UIProcess/WebFramePolicyListenerProxy.cpp
269     UIProcess/WebFrameProxy.cpp
270     UIProcess/WebFullScreenManagerProxy.cpp
271     UIProcess/WebGeolocationManagerProxy.cpp
272     UIProcess/WebGeolocationProvider.cpp
273     UIProcess/WebGrammarDetail.cpp
274     UIProcess/WebHistoryClient.cpp
275     UIProcess/WebIconDatabase.cpp
276     UIProcess/WebIconDatabaseClient.cpp
277     UIProcess/WebInspectorProxy.cpp
278     UIProcess/WebIntentData.cpp
279     UIProcess/WebKeyValueStorageManagerProxy.cpp
280
281     UIProcess/WebLoaderClient.cpp
282     UIProcess/WebMediaCacheManagerProxy.cpp
283     UIProcess/WebNavigationData.cpp
284     UIProcess/WebNetworkInfoManagerProxy.cpp
285     UIProcess/WebNetworkInfoProvider.cpp
286     UIProcess/WebOpenPanelResultListenerProxy.cpp
287     UIProcess/WebPageContextMenuClient.cpp
288     UIProcess/WebPageGroup.cpp
289     UIProcess/WebPageProxy.cpp
290     UIProcess/WebPolicyClient.cpp
291     UIProcess/WebPreferences.cpp
292     UIProcess/WebProcessProxy.cpp
293     UIProcess/WebResourceCacheManagerProxy.cpp
294     UIProcess/WebResourceLoadClient.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/WKIntentData.cpp
325     UIProcess/API/C/WKIntentServiceInfo.cpp
326     UIProcess/API/C/WKKeyValueStorageManager.cpp
327     UIProcess/API/C/WKMediaCacheManager.cpp
328     UIProcess/API/C/WKNavigationData.cpp
329     UIProcess/API/C/WKNetworkInfo.cpp
330     UIProcess/API/C/WKNetworkInfoManager.cpp
331     UIProcess/API/C/WKNotification.cpp
332     UIProcess/API/C/WKNotificationManager.cpp
333     UIProcess/API/C/WKNotificationPermissionRequest.cpp
334     UIProcess/API/C/WKOpenPanelParameters.cpp
335     UIProcess/API/C/WKOpenPanelResultListener.cpp
336     UIProcess/API/C/WKPage.cpp
337     UIProcess/API/C/WKPageGroup.cpp
338     UIProcess/API/C/WKPluginSiteDataManager.cpp
339     UIProcess/API/C/WKPreferences.cpp
340     UIProcess/API/C/WKProtectionSpace.cpp
341     UIProcess/API/C/WKResourceCacheManager.cpp
342     UIProcess/API/C/WKTextChecker.cpp
343     UIProcess/API/C/WKVibration.cpp
344
345     UIProcess/Authentication/AuthenticationChallengeProxy.cpp
346     UIProcess/Authentication/AuthenticationDecisionListener.cpp
347     UIProcess/Authentication/WebCredential.cpp
348     UIProcess/Authentication/WebProtectionSpace.cpp
349
350     UIProcess/CoordinatedGraphics/CoordinatedBackingStore.cpp
351     UIProcess/CoordinatedGraphics/LayerTreeCoordinatorProxy.cpp
352     UIProcess/CoordinatedGraphics/LayerTreeRenderer.cpp
353
354     UIProcess/Downloads/DownloadProxy.cpp
355
356     UIProcess/InspectorServer/WebInspectorServer.cpp
357     UIProcess/InspectorServer/WebSocketServer.cpp
358     UIProcess/InspectorServer/WebSocketServerConnection.cpp
359
360     UIProcess/Launcher/ProcessLauncher.cpp
361
362     UIProcess/Notifications/NotificationPermissionRequest.cpp
363     UIProcess/Notifications/NotificationPermissionRequestManagerProxy.cpp
364     UIProcess/Notifications/WebNotification.cpp
365     UIProcess/Notifications/WebNotificationManagerProxy.cpp
366     UIProcess/Notifications/WebNotificationProvider.cpp
367
368     UIProcess/Plugins/PluginInfoStore.cpp
369     UIProcess/Plugins/PluginProcessManager.cpp
370     UIProcess/Plugins/PluginProcessProxy.cpp
371     UIProcess/Plugins/WebPluginSiteDataManager.cpp
372
373     WebProcess/WebConnectionToUIProcess.cpp
374     WebProcess/WebProcess.cpp
375
376     WebProcess/ApplicationCache/WebApplicationCacheManager.cpp
377
378     WebProcess/Authentication/AuthenticationManager.cpp
379
380     WebProcess/Battery/WebBatteryManager.cpp
381
382     WebProcess/Cookies/WebCookieManager.cpp
383
384     WebProcess/Downloads/Download.cpp
385     WebProcess/Downloads/DownloadAuthenticationClient.cpp
386     WebProcess/Downloads/DownloadManager.cpp
387
388     WebProcess/FullScreen/WebFullScreenManager.cpp
389
390     WebProcess/Geolocation/GeolocationPermissionRequestManager.cpp
391     WebProcess/Geolocation/WebGeolocationManager.cpp
392
393     WebProcess/IconDatabase/WebIconDatabaseProxy.cpp
394
395     WebProcess/InjectedBundle/InjectedBundle.cpp
396     WebProcess/InjectedBundle/InjectedBundleBackForwardList.cpp
397     WebProcess/InjectedBundle/InjectedBundleBackForwardListItem.cpp
398     WebProcess/InjectedBundle/InjectedBundleClient.cpp
399     WebProcess/InjectedBundle/InjectedBundleDOMWindowExtension.cpp
400     WebProcess/InjectedBundle/InjectedBundleHitTestResult.cpp
401     WebProcess/InjectedBundle/InjectedBundleIntent.cpp
402     WebProcess/InjectedBundle/InjectedBundleIntentRequest.cpp
403     WebProcess/InjectedBundle/InjectedBundleNavigationAction.cpp
404     WebProcess/InjectedBundle/InjectedBundlePageDiagnosticLoggingClient.cpp
405     WebProcess/InjectedBundle/InjectedBundlePageContextMenuClient.cpp
406     WebProcess/InjectedBundle/InjectedBundlePageEditorClient.cpp
407     WebProcess/InjectedBundle/InjectedBundlePageFormClient.cpp
408     WebProcess/InjectedBundle/InjectedBundlePageFullScreenClient.cpp
409     WebProcess/InjectedBundle/InjectedBundlePageLoaderClient.cpp
410     WebProcess/InjectedBundle/InjectedBundlePagePolicyClient.cpp
411     WebProcess/InjectedBundle/InjectedBundlePageResourceLoadClient.cpp
412     WebProcess/InjectedBundle/InjectedBundlePageUIClient.cpp
413     WebProcess/InjectedBundle/InjectedBundleScriptWorld.cpp
414
415     WebProcess/InjectedBundle/API/c/WKBundle.cpp
416     WebProcess/InjectedBundle/API/c/WKBundleBackForwardList.cpp
417     WebProcess/InjectedBundle/API/c/WKBundleBackForwardListItem.cpp
418     WebProcess/InjectedBundle/API/c/WKBundleDOMWindowExtension.cpp
419     WebProcess/InjectedBundle/API/c/WKBundleFrame.cpp
420     WebProcess/InjectedBundle/API/c/WKBundleHitTestResult.cpp
421     WebProcess/InjectedBundle/API/c/WKBundleInspector.cpp
422     WebProcess/InjectedBundle/API/c/WKBundleIntent.cpp
423     WebProcess/InjectedBundle/API/c/WKBundleIntentRequest.cpp
424     WebProcess/InjectedBundle/API/c/WKBundleNavigationAction.cpp
425     WebProcess/InjectedBundle/API/c/WKBundleNodeHandle.cpp
426     WebProcess/InjectedBundle/API/c/WKBundlePage.cpp
427     WebProcess/InjectedBundle/API/c/WKBundlePageGroup.cpp
428     WebProcess/InjectedBundle/API/c/WKBundlePageOverlay.cpp
429     WebProcess/InjectedBundle/API/c/WKBundleRangeHandle.cpp
430     WebProcess/InjectedBundle/API/c/WKBundleScriptWorld.cpp
431
432     WebProcess/InjectedBundle/DOM/InjectedBundleNodeHandle.cpp
433     WebProcess/InjectedBundle/DOM/InjectedBundleRangeHandle.cpp
434
435     WebProcess/KeyValueStorage/WebKeyValueStorageManager.cpp
436
437     WebProcess/MediaCache/WebMediaCacheManager.cpp
438
439     WebProcess/NetworkInfo/WebNetworkInfoManager.cpp
440
441     WebProcess/Notifications/NotificationPermissionRequestManager.cpp
442     WebProcess/Notifications/WebNotificationManager.cpp
443
444     WebProcess/Plugins/Plugin.cpp
445     WebProcess/Plugins/PluginProcessConnection.cpp
446     WebProcess/Plugins/PluginProcessConnectionManager.cpp
447     WebProcess/Plugins/PluginProxy.cpp
448     WebProcess/Plugins/PluginView.cpp
449
450     WebProcess/Plugins/Netscape/JSNPMethod.cpp
451     WebProcess/Plugins/Netscape/JSNPObject.cpp
452     WebProcess/Plugins/Netscape/NPJSObject.cpp
453     WebProcess/Plugins/Netscape/NPRuntimeObjectMap.cpp
454     WebProcess/Plugins/Netscape/NPRuntimeUtilities.cpp
455     WebProcess/Plugins/Netscape/NetscapeBrowserFuncs.cpp
456     WebProcess/Plugins/Netscape/NetscapePlugin.cpp
457     WebProcess/Plugins/Netscape/NetscapePluginNone.cpp
458     WebProcess/Plugins/Netscape/NetscapePluginStream.cpp
459
460     WebProcess/ResourceCache/WebResourceCacheManager.cpp
461
462     WebProcess/WebCoreSupport/WebBatteryClient.cpp
463     WebProcess/WebCoreSupport/WebChromeClient.cpp
464     WebProcess/WebCoreSupport/WebColorChooser.cpp
465     WebProcess/WebCoreSupport/WebContextMenuClient.cpp
466     WebProcess/WebCoreSupport/WebDatabaseManager.cpp
467     WebProcess/WebCoreSupport/WebDragClient.cpp
468     WebProcess/WebCoreSupport/WebEditorClient.cpp
469     WebProcess/WebCoreSupport/WebFrameLoaderClient.cpp
470     WebProcess/WebCoreSupport/WebGeolocationClient.cpp
471     WebProcess/WebCoreSupport/WebInspectorClient.cpp
472     WebProcess/WebCoreSupport/WebInspectorFrontendClient.cpp
473     WebProcess/WebCoreSupport/WebNetworkInfoClient.cpp
474     WebProcess/WebCoreSupport/WebNotificationClient.cpp
475     WebProcess/WebCoreSupport/WebPlatformStrategies.cpp
476     WebProcess/WebCoreSupport/WebPopupMenu.cpp
477     WebProcess/WebCoreSupport/WebSearchPopupMenu.cpp
478     WebProcess/WebCoreSupport/WebVibrationClient.cpp
479
480     WebProcess/WebPage/DecoderAdapter.cpp
481     WebProcess/WebPage/DrawingArea.cpp
482     WebProcess/WebPage/DrawingAreaImpl.cpp
483     WebProcess/WebPage/EncoderAdapter.cpp
484     WebProcess/WebPage/EventDispatcher.cpp
485     WebProcess/WebPage/FindController.cpp
486
487     WebProcess/WebPage/LayerTreeHost.cpp
488     WebProcess/WebPage/PageOverlay.cpp
489     WebProcess/WebPage/TapHighlightController.cpp
490     WebProcess/WebPage/WebBackForwardListProxy.cpp
491     WebProcess/WebPage/WebContextMenu.cpp
492     WebProcess/WebPage/WebFrame.cpp
493     WebProcess/WebPage/WebInspector.cpp
494     WebProcess/WebPage/WebOpenPanelResultListener.cpp
495     WebProcess/WebPage/WebPage.cpp
496     WebProcess/WebPage/WebPageGroupProxy.cpp
497     WebProcess/WebPage/WebUndoStep.cpp
498
499     WebProcess/WebPage/CoordinatedGraphics/AreaAllocator.cpp
500     WebProcess/WebPage/CoordinatedGraphics/CoordinatedImageBacking.cpp
501     WebProcess/WebPage/CoordinatedGraphics/CoordinatedGraphicsLayer.cpp
502     WebProcess/WebPage/CoordinatedGraphics/CoordinatedTile.cpp
503     WebProcess/WebPage/CoordinatedGraphics/LayerTreeCoordinator.cpp
504     WebProcess/WebPage/CoordinatedGraphics/UpdateAtlas.cpp
505 )
506
507 set(WebKit2_MESSAGES_IN_FILES
508     PluginProcess/PluginControllerProxy.messages.in
509     PluginProcess/PluginProcess.messages.in
510     PluginProcess/WebProcessConnection.messages.in
511
512     Shared/WebConnection.messages.in
513
514     Shared/Plugins/NPObjectMessageReceiver.messages.in
515
516     UIProcess/DrawingAreaProxy.messages.in
517     UIProcess/WebApplicationCacheManagerProxy.messages.in
518     UIProcess/WebBatteryManagerProxy.messages.in
519     UIProcess/WebContext.messages.in
520     UIProcess/WebCookieManagerProxy.messages.in
521     UIProcess/WebDatabaseManagerProxy.messages.in
522     UIProcess/WebFullScreenManagerProxy.messages.in
523     UIProcess/WebGeolocationManagerProxy.messages.in
524     UIProcess/WebIconDatabase.messages.in
525     UIProcess/WebInspectorProxy.messages.in
526     UIProcess/WebKeyValueStorageManagerProxy.messages.in
527     UIProcess/WebMediaCacheManagerProxy.messages.in
528     UIProcess/WebNetworkInfoManagerProxy.messages.in
529     UIProcess/WebPageProxy.messages.in
530     UIProcess/WebProcessProxy.messages.in
531     UIProcess/WebResourceCacheManagerProxy.messages.in
532     UIProcess/WebVibrationProxy.messages.in
533
534
535     UIProcess/CoordinatedGraphics/LayerTreeCoordinatorProxy.messages.in
536
537     UIProcess/Downloads/DownloadProxy.messages.in
538
539     UIProcess/Notifications/WebNotificationManagerProxy.messages.in
540
541     UIProcess/Plugins/PluginProcessProxy.messages.in
542
543     WebProcess/WebProcess.messages.in
544
545     WebProcess/ApplicationCache/WebApplicationCacheManager.messages.in
546
547     WebProcess/Authentication/AuthenticationManager.messages.in
548
549     WebProcess/Battery/WebBatteryManager.messages.in
550
551     WebProcess/Cookies/WebCookieManager.messages.in
552
553     WebProcess/FullScreen/WebFullScreenManager.messages.in
554
555     WebProcess/Geolocation/WebGeolocationManager.messages.in
556
557     WebProcess/IconDatabase/WebIconDatabaseProxy.messages.in
558
559     WebProcess/KeyValueStorage/WebKeyValueStorageManager.messages.in
560
561     WebProcess/MediaCache/WebMediaCacheManager.messages.in
562
563     WebProcess/NetworkInfo/WebNetworkInfoManager.messages.in
564
565     WebProcess/Notifications/WebNotificationManager.messages.in
566
567     WebProcess/Plugins/PluginProcessConnection.messages.in
568     WebProcess/Plugins/PluginProxy.messages.in
569
570     WebProcess/ResourceCache/WebResourceCacheManager.messages.in
571
572     WebProcess/WebCoreSupport/WebDatabaseManager.messages.in
573
574     WebProcess/WebPage/DrawingArea.messages.in
575     WebProcess/WebPage/EventDispatcher.messages.in
576     WebProcess/WebPage/WebInspector.messages.in
577     WebProcess/WebPage/WebPage.messages.in
578     WebProcess/WebPage/WebPageGroupProxy.messages.in
579
580     WebProcess/WebPage/CoordinatedGraphics/LayerTreeCoordinator.messages.in
581 )
582
583 set(WebProcess_EXECUTABLE_NAME WebProcess)
584
585 set(WebProcess_LIBRARIES
586     ${JavaScriptCore_LIBRARY_NAME}
587     ${WebCore_LIBRARY_NAME}
588     ${WebKit2_LIBRARY_NAME}
589 )
590
591 set(WebKit2_LIBRARIES
592     ${WebCore_LIBRARY_NAME}
593 )
594
595 WEBKIT_INCLUDE_CONFIG_FILES_IF_EXISTS()
596
597 # Create JavaScript C++ code given an IDL input
598 foreach (_file ${WebKit2_MESSAGES_IN_FILES})
599     get_filename_component(_name ${_file} NAME_WE)
600     add_custom_command(
601         OUTPUT ${DERIVED_SOURCES_WEBKIT2_DIR}/${_name}MessageReceiver.cpp ${DERIVED_SOURCES_WEBKIT2_DIR}/${_name}Messages.h
602         MAIN_DEPENDENCY ${_file}
603         DEPENDS ${WEBKIT2_DIR}/Scripts/webkit2/__init__.py
604                 ${WEBKIT2_DIR}/Scripts/webkit2/messages.py
605                 ${WEBKIT2_DIR}/Scripts/webkit2/model.py
606                 ${WEBKIT2_DIR}/Scripts/webkit2/parser.py
607         COMMAND ${PYTHON_EXECUTABLE} ${WEBKIT2_DIR}/Scripts/generate-message-receiver.py ${_file} > ${DERIVED_SOURCES_WEBKIT2_DIR}/${_name}MessageReceiver.cpp
608         COMMAND ${PYTHON_EXECUTABLE} ${WEBKIT2_DIR}/Scripts/generate-messages-header.py ${_file} > ${DERIVED_SOURCES_WEBKIT2_DIR}/${_name}Messages.h
609         WORKING_DIRECTORY ${WEBKIT2_DIR}
610         VERBATIM)
611
612     list(APPEND WebKit2_SOURCES ${DERIVED_SOURCES_WEBKIT2_DIR}/${_name}MessageReceiver.cpp)
613 endforeach ()
614
615 add_definitions(-DBUILDING_WEBKIT)
616 include_directories(${WebKit2_INCLUDE_DIRECTORIES})
617 add_library(${WebKit2_LIBRARY_NAME} ${WebKit2_LIBRARY_TYPE} ${WebKit2_SOURCES})
618
619 add_dependencies(${WebKit2_LIBRARY_NAME} ${WebCore_LIBRARY_NAME})
620 add_dependencies(${WebKit2_LIBRARY_NAME} ${ForwardingHeaders_NAME})
621 add_dependencies(${WebKit2_LIBRARY_NAME} ${ForwardingNetworkHeaders_NAME})
622 target_link_libraries(${WebKit2_LIBRARY_NAME} ${WebKit2_LIBRARIES})
623 set_target_properties(${WebKit2_LIBRARY_NAME} PROPERTIES FOLDER "WebKit")
624 set_target_properties(${WebKit2_LIBRARY_NAME} PROPERTIES LINK_INTERFACE_LIBRARIES "")
625
626 add_executable(${WebProcess_EXECUTABLE_NAME} ${WebProcess_SOURCES})
627 target_link_libraries(${WebProcess_EXECUTABLE_NAME} ${WebProcess_LIBRARIES})
628 set_target_properties(${WebProcess_EXECUTABLE_NAME} PROPERTIES FOLDER "WebKit")
629
630 set_target_properties(${WebKit2_LIBRARY_NAME} PROPERTIES VERSION ${PROJECT_VERSION} SOVERSION ${PROJECT_VERSION_MAJOR})
631
632 install(TARGETS ${WebKit2_LIBRARY_NAME} DESTINATION "${LIB_INSTALL_DIR}")
633 install(TARGETS ${WebProcess_EXECUTABLE_NAME} DESTINATION "${EXEC_INSTALL_DIR}")