[GTK] [CMake] Ensure that the autotools build and the CMake install the same files
[WebKit-https.git] / Source / WebKit2 / CMakeLists.txt
1 set(WebKit2_INCLUDE_DIRECTORIES
2     "${JAVASCRIPTCORE_DIR}/llint"
3     "${WEBKIT2_DIR}"
4     "${WEBKIT2_DIR}/NetworkProcess"
5     "${WEBKIT2_DIR}/NetworkProcess/FileAPI"
6     "${WEBKIT2_DIR}/Platform"
7     "${WEBKIT2_DIR}/Platform/IPC"
8     "${WEBKIT2_DIR}/PluginProcess"
9     "${WEBKIT2_DIR}/Shared"
10     "${WEBKIT2_DIR}/Shared/API"
11     "${WEBKIT2_DIR}/Shared/API/c"
12     "${WEBKIT2_DIR}/Shared/Authentication"
13     "${WEBKIT2_DIR}/Shared/CoordinatedGraphics"
14     "${WEBKIT2_DIR}/Shared/CoreIPCSupport"
15     "${WEBKIT2_DIR}/Shared/Databases/IndexedDB"
16     "${WEBKIT2_DIR}/Shared/Downloads"
17     "${WEBKIT2_DIR}/Shared/FileAPI"
18     "${WEBKIT2_DIR}/Shared/Network"
19     "${WEBKIT2_DIR}/Shared/Network/CustomProtocols"
20     "${WEBKIT2_DIR}/Shared/Plugins"
21     "${WEBKIT2_DIR}/Shared/Plugins/Netscape"
22     "${WEBKIT2_DIR}/Shared/Plugins/Netscape/x11"
23     "${WEBKIT2_DIR}/UIProcess"
24     "${WEBKIT2_DIR}/UIProcess/API"
25     "${WEBKIT2_DIR}/UIProcess/API/C"
26     "${WEBKIT2_DIR}/UIProcess/API/CoordinatedGraphics"
27     "${WEBKIT2_DIR}/UIProcess/API/cpp"
28     "${WEBKIT2_DIR}/UIProcess/Authentication"
29     "${WEBKIT2_DIR}/UIProcess/CoordinatedGraphics"
30     "${WEBKIT2_DIR}/UIProcess/Downloads"
31     "${WEBKIT2_DIR}/UIProcess/InspectorServer"
32     "${WEBKIT2_DIR}/UIProcess/Launcher"
33     "${WEBKIT2_DIR}/UIProcess/Network"
34     "${WEBKIT2_DIR}/UIProcess/Notifications"
35     "${WEBKIT2_DIR}/UIProcess/Plugins"
36     "${WEBKIT2_DIR}/UIProcess/Storage"
37     "${WEBKIT2_DIR}/WebProcess"
38     "${WEBKIT2_DIR}/WebProcess/ApplicationCache"
39     "${WEBKIT2_DIR}/WebProcess/Battery"
40     "${WEBKIT2_DIR}/WebProcess/Cookies"
41     "${WEBKIT2_DIR}/WebProcess/Databases"
42     "${WEBKIT2_DIR}/WebProcess/Databases/IndexedDB"
43     "${WEBKIT2_DIR}/WebProcess/FileAPI"
44     "${WEBKIT2_DIR}/WebProcess/FullScreen"
45     "${WEBKIT2_DIR}/WebProcess/Geolocation"
46     "${WEBKIT2_DIR}/WebProcess/NetworkInfo"
47     "${WEBKIT2_DIR}/WebProcess/IconDatabase"
48     "${WEBKIT2_DIR}/WebProcess/InjectedBundle"
49     "${WEBKIT2_DIR}/WebProcess/InjectedBundle/API"
50     "${WEBKIT2_DIR}/WebProcess/InjectedBundle/API/c"
51     "${WEBKIT2_DIR}/WebProcess/InjectedBundle/DOM"
52     "${WEBKIT2_DIR}/WebProcess/Launching"
53     "${WEBKIT2_DIR}/WebProcess/MediaCache"
54     "${WEBKIT2_DIR}/WebProcess/Network"
55     "${WEBKIT2_DIR}/WebProcess/Notifications"
56     "${WEBKIT2_DIR}/WebProcess/OriginData"
57     "${WEBKIT2_DIR}/WebProcess/Plugins"
58     "${WEBKIT2_DIR}/WebProcess/Plugins/Netscape"
59     "${WEBKIT2_DIR}/WebProcess/ResourceCache"
60     "${WEBKIT2_DIR}/WebProcess/Storage"
61     "${WEBKIT2_DIR}/WebProcess/WebCoreSupport"
62     "${WEBKIT2_DIR}/WebProcess/WebPage"
63     "${WEBKIT2_DIR}/WebProcess/WebPage/CoordinatedGraphics"
64     "${WEBCORE_DIR}"
65     "${WEBCORE_DIR}/Modules/battery"
66     "${WEBCORE_DIR}/Modules/mediastream"
67     "${WEBCORE_DIR}/Modules/networkinfo"
68     "${WEBCORE_DIR}/Modules/notifications"
69     "${WEBCORE_DIR}/Modules/vibration"
70     "${WEBCORE_DIR}/Modules/webdatabase"
71     "${WEBCORE_DIR}/accessibility"
72     "${WEBCORE_DIR}/bindings/js"
73     "${WEBCORE_DIR}/bindings"
74     "${WEBCORE_DIR}/bridge"
75     "${WEBCORE_DIR}/bridge/jsc"
76     "${WEBCORE_DIR}/css"
77     "${WEBCORE_DIR}/dom"
78     "${WEBCORE_DIR}/dom/default"
79     "${WEBCORE_DIR}/editing"
80     "${WEBCORE_DIR}/fileapi"
81     "${WEBCORE_DIR}/history"
82     "${WEBCORE_DIR}/html"
83     "${WEBCORE_DIR}/html/shadow"
84     "${WEBCORE_DIR}/html/track"
85     "${WEBCORE_DIR}/inspector"
86     "${WEBCORE_DIR}/loader"
87     "${WEBCORE_DIR}/loader/archive"
88     "${WEBCORE_DIR}/loader/icon"
89     "${WEBCORE_DIR}/loader/cache"
90     "${WEBCORE_DIR}/page"
91     "${WEBCORE_DIR}/page/animation"
92     "${WEBCORE_DIR}/page/scrolling"
93     "${WEBCORE_DIR}/page/scrolling/coordinatedgraphics"
94     "${WEBCORE_DIR}/platform"
95     "${WEBCORE_DIR}/platform/animation"
96     "${WEBCORE_DIR}/platform/graphics"
97     "${WEBCORE_DIR}/platform/graphics/filters"
98     "${WEBCORE_DIR}/platform/graphics/harfbuzz"
99     "${WEBCORE_DIR}/platform/graphics/harfbuzz/ng"
100     "${WEBCORE_DIR}/platform/graphics/surfaces"
101     "${WEBCORE_DIR}/platform/graphics/texmap"
102     "${WEBCORE_DIR}/platform/graphics/transforms"
103     "${WEBCORE_DIR}/platform/mediastream"
104     "${WEBCORE_DIR}/platform/network"
105     "${WEBCORE_DIR}/platform/sql"
106     "${WEBCORE_DIR}/platform/text"
107     "${WEBCORE_DIR}/plugins"
108     "${WEBCORE_DIR}/rendering"
109     "${WEBCORE_DIR}/rendering/line"
110     "${WEBCORE_DIR}/rendering/shapes"
111     "${WEBCORE_DIR}/rendering/style"
112     "${WEBCORE_DIR}/storage"
113     "${WEBCORE_DIR}/style"
114     "${WEBCORE_DIR}/svg"
115     "${WEBCORE_DIR}/svg/graphics"
116     "${WEBCORE_DIR}/svg/properties"
117     "${JAVASCRIPTCORE_DIR}"
118     "${JAVASCRIPTCORE_DIR}/ForwardingHeaders"
119     "${JAVASCRIPTCORE_DIR}/API"
120     "${JAVASCRIPTCORE_DIR}/assembler"
121     "${JAVASCRIPTCORE_DIR}/bytecode"
122     "${JAVASCRIPTCORE_DIR}/bytecompiler"
123     "${JAVASCRIPTCORE_DIR}/collector/handles"
124     "${JAVASCRIPTCORE_DIR}/dfg"
125     "${JAVASCRIPTCORE_DIR}/disassembler"
126     "${JAVASCRIPTCORE_DIR}/heap"
127     "${JAVASCRIPTCORE_DIR}/interpreter"
128     "${JAVASCRIPTCORE_DIR}/jit"
129     "${JAVASCRIPTCORE_DIR}/parser"
130     "${JAVASCRIPTCORE_DIR}/profiler"
131     "${JAVASCRIPTCORE_DIR}/runtime"
132     "${WTF_DIR}"
133     "${DERIVED_SOURCES_DIR}"
134     "${DERIVED_SOURCES_WEBCORE_DIR}"
135     "${DERIVED_SOURCES_WEBKIT2_DIR}"
136     "${DERIVED_SOURCES_WEBKIT2_DIR}/include"
137     "${CMAKE_BINARY_DIR}"
138     "${CMAKE_SOURCE_DIR}/Source"
139 )
140
141 if (WTF_USE_3D_GRAPHICS)
142     list(APPEND WebKit2_INCLUDE_DIRECTORIES
143         "${THIRDPARTY_DIR}/ANGLE/include/KHR"
144         "${THIRDPARTY_DIR}/ANGLE/include/GLSLANG"
145     )
146 endif ()
147
148 set(WebKit2_SOURCES
149     NetworkProcess/AsynchronousNetworkLoaderClient.cpp
150     NetworkProcess/HostRecord.cpp
151     NetworkProcess/NetworkConnectionToWebProcess.cpp
152     NetworkProcess/NetworkProcess.cpp
153     NetworkProcess/NetworkProcessPlatformStrategies.cpp
154     NetworkProcess/NetworkResourceLoadScheduler.cpp
155     NetworkProcess/NetworkResourceLoader.cpp
156     NetworkProcess/SynchronousNetworkLoaderClient.cpp
157
158     NetworkProcess/FileAPI/NetworkBlobRegistry.cpp
159
160     Platform/Logging.cpp
161     Platform/Module.cpp
162     Platform/WorkQueue.cpp
163
164     Platform/IPC/ArgumentCoders.cpp
165     Platform/IPC/ArgumentDecoder.cpp
166     Platform/IPC/ArgumentEncoder.cpp
167     Platform/IPC/Attachment.cpp
168     Platform/IPC/Connection.cpp
169     Platform/IPC/DataReference.cpp
170     Platform/IPC/MessageDecoder.cpp
171     Platform/IPC/MessageEncoder.cpp
172     Platform/IPC/MessageReceiverMap.cpp
173     Platform/IPC/MessageSender.cpp
174     Platform/IPC/StringReference.cpp
175
176     PluginProcess/PluginControllerProxy.cpp
177     PluginProcess/PluginCreationParameters.cpp
178     PluginProcess/PluginProcess.cpp
179     PluginProcess/WebProcessConnection.cpp
180
181     Shared/APIArray.cpp
182     Shared/APIData.cpp
183     Shared/APIError.cpp
184     Shared/APIFrameHandle.cpp
185     Shared/APIGeometry.cpp
186     Shared/APIPageHandle.cpp
187     Shared/APIObject.cpp
188     Shared/APIURLRequest.cpp
189     Shared/APIURLResponse.cpp
190     Shared/ActivityAssertion.cpp
191     Shared/CacheModel.cpp
192     Shared/ChildProcess.cpp
193     Shared/ChildProcessProxy.cpp
194     Shared/ConnectionStack.cpp
195     Shared/DictionaryPopupInfo.cpp
196     Shared/EditorState.cpp
197     Shared/FontInfo.cpp
198     Shared/ImmutableDictionary.cpp
199     Shared/MutableDictionary.cpp
200     Shared/OriginAndDatabases.cpp
201     Shared/PlatformPopupMenuData.cpp
202     Shared/PrintInfo.cpp
203     Shared/SecurityOriginData.cpp
204     Shared/SessionState.cpp
205     Shared/ShareableBitmap.cpp
206     Shared/ShareableResource.cpp
207     Shared/StatisticsData.cpp
208     Shared/UpdateInfo.cpp
209     Shared/UserData.cpp
210     Shared/VisitedLinkTable.cpp
211     Shared/WebBackForwardListItem.cpp
212     Shared/WebBatteryStatus.cpp
213     Shared/WebConnection.cpp
214     Shared/WebConnectionClient.cpp
215     Shared/WebContextMenuItem.cpp
216     Shared/WebContextMenuItemData.cpp
217     Shared/WebCoreArgumentCoders.cpp
218     Shared/WebEvent.cpp
219     Shared/WebEventConversion.cpp
220     Shared/WebGeolocationPosition.cpp
221     Shared/WebHitTestResult.cpp
222     Shared/WebImage.cpp
223     Shared/WebKeyboardEvent.cpp
224     Shared/WebKit2Initialize.cpp
225     Shared/WebMemorySampler.cpp
226     Shared/WebMouseEvent.cpp
227     Shared/WebNetworkInfo.cpp
228     Shared/WebOpenPanelParameters.cpp
229     Shared/WebPageCreationParameters.cpp
230     Shared/WebPageGroupData.cpp
231     Shared/WebPlatformTouchPoint.cpp
232     Shared/WebPopupItem.cpp
233     Shared/WebPreferencesStore.cpp
234     Shared/WebProcessCreationParameters.cpp
235     Shared/WebRenderLayer.cpp
236     Shared/WebRenderObject.cpp
237     Shared/WebResourceBuffer.cpp
238     Shared/WebTouchEvent.cpp
239     Shared/WebWheelEvent.cpp
240
241     Shared/API/c/WKArray.cpp
242     Shared/API/c/WKCertificateInfo.cpp
243     Shared/API/c/WKConnectionRef.cpp
244     Shared/API/c/WKContextMenuItem.cpp
245     Shared/API/c/WKData.cpp
246     Shared/API/c/WKDeprecatedFunctions.cpp
247     Shared/API/c/WKDictionary.cpp
248     Shared/API/c/WKError.cpp
249     Shared/API/c/WKGeometry.cpp
250     Shared/API/c/WKImage.cpp
251     Shared/API/c/WKMutableArray.cpp
252     Shared/API/c/WKMutableDictionary.cpp
253     Shared/API/c/WKNumber.cpp
254     Shared/API/c/WKPluginInformation.cpp
255     Shared/API/c/WKRenderLayer.cpp
256     Shared/API/c/WKRenderObject.cpp
257     Shared/API/c/WKSecurityOrigin.cpp
258     Shared/API/c/WKSerializedScriptValue.cpp
259     Shared/API/c/WKString.cpp
260     Shared/API/c/WKType.cpp
261     Shared/API/c/WKURL.cpp
262     Shared/API/c/WKURLRequest.cpp
263     Shared/API/c/WKURLResponse.cpp
264     Shared/API/c/WKUserContentURLPattern.cpp
265
266     Shared/Authentication/AuthenticationManager.cpp
267
268     Shared/CoordinatedGraphics/CoordinatedGraphicsArgumentCoders.cpp
269     Shared/CoordinatedGraphics/WebCoordinatedSurface.cpp
270     Shared/CoordinatedGraphics/WebCustomFilterProgramProxy.cpp
271
272     Shared/Downloads/Download.cpp
273     Shared/Downloads/DownloadAuthenticationClient.cpp
274     Shared/Downloads/DownloadManager.cpp
275
276     Shared/FileAPI/BlobRegistrationData.cpp
277
278     Shared/Network/NetworkProcessCreationParameters.cpp
279     Shared/Network/NetworkResourceLoadParameters.cpp
280
281     Shared/Plugins/NPIdentifierData.cpp
282     Shared/Plugins/NPObjectMessageReceiver.cpp
283     Shared/Plugins/NPObjectProxy.cpp
284     Shared/Plugins/NPRemoteObjectMap.cpp
285     Shared/Plugins/NPVariantData.cpp
286     Shared/Plugins/PluginModuleInfo.cpp
287     Shared/Plugins/PluginProcessCreationParameters.cpp
288
289     Shared/Plugins/Netscape/NetscapePluginModule.cpp
290     Shared/Plugins/Netscape/NetscapePluginModuleNone.cpp
291     Shared/Plugins/Netscape/PluginInformation.cpp
292
293     UIProcess/APINavigationData.cpp
294     UIProcess/BackingStore.cpp
295     UIProcess/DrawingAreaProxy.cpp
296     UIProcess/FindIndicator.cpp
297     UIProcess/FrameLoadState.cpp
298     UIProcess/GeolocationPermissionRequestManagerProxy.cpp
299     UIProcess/GeolocationPermissionRequestProxy.cpp
300     UIProcess/PageLoadState.cpp
301     UIProcess/ResponsivenessTimer.cpp
302     UIProcess/StatisticsRequest.cpp
303     UIProcess/TextCheckerCompletion.cpp
304     UIProcess/VisitedLinkProvider.cpp
305     UIProcess/WebApplicationCacheManagerProxy.cpp
306     UIProcess/WebBackForwardList.cpp
307     UIProcess/WebBatteryManagerProxy.cpp
308     UIProcess/WebBatteryProvider.cpp
309     UIProcess/WebColorPicker.cpp
310     UIProcess/WebColorPickerResultListenerProxy.cpp
311     UIProcess/WebConnectionToWebProcess.cpp
312     UIProcess/WebContext.cpp
313     UIProcess/WebContextClient.cpp
314     UIProcess/WebContextConnectionClient.cpp
315     UIProcess/WebContextInjectedBundleClient.cpp
316     UIProcess/WebContextMenuProxy.cpp
317     UIProcess/WebCookieManagerProxy.cpp
318     UIProcess/WebCookieManagerProxyClient.cpp
319     UIProcess/WebDatabaseManagerProxy.cpp
320     UIProcess/WebDatabaseManagerProxyClient.cpp
321     UIProcess/WebDownloadClient.cpp
322     UIProcess/WebEditCommandProxy.cpp
323     UIProcess/WebFindClient.cpp
324     UIProcess/WebFormClient.cpp
325     UIProcess/WebFormSubmissionListenerProxy.cpp
326     UIProcess/WebFrameListenerProxy.cpp
327     UIProcess/WebFramePolicyListenerProxy.cpp
328     UIProcess/WebFrameProxy.cpp
329     UIProcess/WebFullScreenManagerProxy.cpp
330     UIProcess/WebGeolocationManagerProxy.cpp
331     UIProcess/WebGeolocationProvider.cpp
332     UIProcess/WebGrammarDetail.cpp
333     UIProcess/WebHistoryClient.cpp
334     UIProcess/WebIconDatabase.cpp
335     UIProcess/WebIconDatabaseClient.cpp
336     UIProcess/WebInspectorProxy.cpp
337     UIProcess/WebKeyValueStorageManager.cpp
338     UIProcess/WebLoaderClient.cpp
339     UIProcess/WebMediaCacheManagerProxy.cpp
340     UIProcess/WebNetworkInfoManagerProxy.cpp
341     UIProcess/WebNetworkInfoProvider.cpp
342     UIProcess/WebOpenPanelResultListenerProxy.cpp
343     UIProcess/WebOriginDataManagerProxy.cpp
344     UIProcess/WebOriginDataManagerProxyChangeClient.cpp
345     UIProcess/WebPageContextMenuClient.cpp
346     UIProcess/WebPageGroup.cpp
347     UIProcess/WebPageProxy.cpp
348     UIProcess/WebPolicyClient.cpp
349     UIProcess/WebPreferences.cpp
350     UIProcess/WebProcessProxy.cpp
351     UIProcess/WebResourceCacheManagerProxy.cpp
352     UIProcess/WebTextChecker.cpp
353     UIProcess/WebTextCheckerClient.cpp
354     UIProcess/WebUIClient.cpp
355     UIProcess/WebVibrationProvider.cpp
356     UIProcess/WebVibrationProxy.cpp
357     UIProcess/WebViewportAttributes.cpp
358
359     UIProcess/API/C/WKApplicationCacheManager.cpp
360     UIProcess/API/C/WKAuthenticationChallenge.cpp
361     UIProcess/API/C/WKAuthenticationDecisionListener.cpp
362     UIProcess/API/C/WKBackForwardListRef.cpp
363     UIProcess/API/C/WKBackForwardListItemRef.cpp
364     UIProcess/API/C/WKBatteryManager.cpp
365     UIProcess/API/C/WKBatteryStatus.cpp
366     UIProcess/API/C/WKColorPickerResultListener.cpp
367     UIProcess/API/C/WKContext.cpp
368     UIProcess/API/C/WKCookieManager.cpp
369     UIProcess/API/C/WKCredential.cpp
370     UIProcess/API/C/WKDatabaseManager.cpp
371     UIProcess/API/C/WKDownload.cpp
372     UIProcess/API/C/WKFormSubmissionListener.cpp
373     UIProcess/API/C/WKFrame.cpp
374     UIProcess/API/C/WKFramePolicyListener.cpp
375     UIProcess/API/C/WKGeolocationManager.cpp
376     UIProcess/API/C/WKGeolocationPermissionRequest.cpp
377     UIProcess/API/C/WKGeolocationPosition.cpp
378     UIProcess/API/C/WKGrammarDetail.cpp
379     UIProcess/API/C/WKHitTestResult.cpp
380     UIProcess/API/C/WKIconDatabase.cpp
381     UIProcess/API/C/WKInspector.cpp
382     UIProcess/API/C/WKKeyValueStorageManager.cpp
383     UIProcess/API/C/WKMediaCacheManager.cpp
384     UIProcess/API/C/WKNavigationDataRef.cpp
385     UIProcess/API/C/WKNetworkInfo.cpp
386     UIProcess/API/C/WKNetworkInfoManager.cpp
387     UIProcess/API/C/WKNotification.cpp
388     UIProcess/API/C/WKNotificationManager.cpp
389     UIProcess/API/C/WKNotificationPermissionRequest.cpp
390     UIProcess/API/C/WKOpenPanelParameters.cpp
391     UIProcess/API/C/WKOpenPanelResultListener.cpp
392     UIProcess/API/C/WKOriginDataManager.cpp
393     UIProcess/API/C/WKPage.cpp
394     UIProcess/API/C/WKPageGroup.cpp
395     UIProcess/API/C/WKPluginSiteDataManager.cpp
396     UIProcess/API/C/WKPreferences.cpp
397     UIProcess/API/C/WKProtectionSpace.cpp
398     UIProcess/API/C/WKResourceCacheManager.cpp
399     UIProcess/API/C/WKTextChecker.cpp
400     UIProcess/API/C/WKVibration.cpp
401     UIProcess/API/C/WKViewportAttributes.cpp
402
403     UIProcess/API/CoordinatedGraphics/WKCoordinatedScene.cpp
404
405     UIProcess/Authentication/AuthenticationChallengeProxy.cpp
406     UIProcess/Authentication/AuthenticationDecisionListener.cpp
407     UIProcess/Authentication/WebCredential.cpp
408     UIProcess/Authentication/WebProtectionSpace.cpp
409
410     UIProcess/CoordinatedGraphics/CoordinatedDrawingAreaProxy.cpp
411     UIProcess/CoordinatedGraphics/CoordinatedLayerTreeHostProxy.cpp
412     UIProcess/CoordinatedGraphics/WebPageProxyCoordinatedGraphics.cpp
413
414     UIProcess/Downloads/DownloadProxy.cpp
415     UIProcess/Downloads/DownloadProxyMap.cpp
416
417     UIProcess/InspectorServer/HTTPRequest.cpp
418     UIProcess/InspectorServer/WebInspectorServer.cpp
419     UIProcess/InspectorServer/WebSocketServer.cpp
420     UIProcess/InspectorServer/WebSocketServerConnection.cpp
421
422     UIProcess/Launcher/ProcessLauncher.cpp
423
424     UIProcess/Network/NetworkProcessProxy.cpp
425
426     UIProcess/Notifications/NotificationPermissionRequest.cpp
427     UIProcess/Notifications/NotificationPermissionRequestManagerProxy.cpp
428     UIProcess/Notifications/WebNotification.cpp
429     UIProcess/Notifications/WebNotificationManagerProxy.cpp
430     UIProcess/Notifications/WebNotificationProvider.cpp
431
432     UIProcess/Plugins/PlugInAutoStartProvider.cpp
433     UIProcess/Plugins/PluginInfoStore.cpp
434     UIProcess/Plugins/PluginProcessManager.cpp
435     UIProcess/Plugins/PluginProcessProxy.cpp
436     UIProcess/Plugins/WebPluginSiteDataManager.cpp
437
438     UIProcess/Storage/LocalStorageDatabase.cpp
439     UIProcess/Storage/LocalStorageDatabaseTracker.cpp
440
441     WebProcess/WebConnectionToUIProcess.cpp
442     WebProcess/WebProcess.cpp
443
444     WebProcess/ApplicationCache/WebApplicationCacheManager.cpp
445
446     WebProcess/Battery/WebBatteryManager.cpp
447
448     WebProcess/Cookies/WebCookieManager.cpp
449
450     WebProcess/Databases/IndexedDB/WebIDBFactoryBackend.cpp
451
452     WebProcess/FileAPI/BlobRegistryProxy.cpp
453
454     WebProcess/FullScreen/WebFullScreenManager.cpp
455
456     WebProcess/Geolocation/GeolocationPermissionRequestManager.cpp
457     WebProcess/Geolocation/WebGeolocationManager.cpp
458
459     WebProcess/IconDatabase/WebIconDatabaseProxy.cpp
460
461     WebProcess/InjectedBundle/InjectedBundle.cpp
462     WebProcess/InjectedBundle/InjectedBundleBackForwardList.cpp
463     WebProcess/InjectedBundle/InjectedBundleBackForwardListItem.cpp
464     WebProcess/InjectedBundle/InjectedBundleClient.cpp
465     WebProcess/InjectedBundle/InjectedBundleDOMWindowExtension.cpp
466     WebProcess/InjectedBundle/InjectedBundleHitTestResult.cpp
467     WebProcess/InjectedBundle/InjectedBundleNavigationAction.cpp
468     WebProcess/InjectedBundle/InjectedBundlePageContextMenuClient.cpp
469     WebProcess/InjectedBundle/InjectedBundlePageDiagnosticLoggingClient.cpp
470     WebProcess/InjectedBundle/InjectedBundlePageEditorClient.cpp
471     WebProcess/InjectedBundle/InjectedBundlePageFormClient.cpp
472     WebProcess/InjectedBundle/InjectedBundlePageFullScreenClient.cpp
473     WebProcess/InjectedBundle/InjectedBundlePageLoaderClient.cpp
474     WebProcess/InjectedBundle/InjectedBundlePagePolicyClient.cpp
475     WebProcess/InjectedBundle/InjectedBundlePageResourceLoadClient.cpp
476     WebProcess/InjectedBundle/InjectedBundlePageUIClient.cpp
477     WebProcess/InjectedBundle/InjectedBundleScriptWorld.cpp
478
479     WebProcess/InjectedBundle/API/c/WKBundle.cpp
480     WebProcess/InjectedBundle/API/c/WKBundleBackForwardList.cpp
481     WebProcess/InjectedBundle/API/c/WKBundleBackForwardListItem.cpp
482     WebProcess/InjectedBundle/API/c/WKBundleDOMWindowExtension.cpp
483     WebProcess/InjectedBundle/API/c/WKBundleFrame.cpp
484     WebProcess/InjectedBundle/API/c/WKBundleHitTestResult.cpp
485     WebProcess/InjectedBundle/API/c/WKBundleInspector.cpp
486     WebProcess/InjectedBundle/API/c/WKBundleNavigationAction.cpp
487     WebProcess/InjectedBundle/API/c/WKBundleNodeHandle.cpp
488     WebProcess/InjectedBundle/API/c/WKBundlePage.cpp
489     WebProcess/InjectedBundle/API/c/WKBundlePageGroup.cpp
490     WebProcess/InjectedBundle/API/c/WKBundlePageOverlay.cpp
491     WebProcess/InjectedBundle/API/c/WKBundleRangeHandle.cpp
492     WebProcess/InjectedBundle/API/c/WKBundleScriptWorld.cpp
493
494     WebProcess/InjectedBundle/DOM/InjectedBundleNodeHandle.cpp
495     WebProcess/InjectedBundle/DOM/InjectedBundleRangeHandle.cpp
496
497     WebProcess/MediaCache/WebMediaCacheManager.cpp
498
499     WebProcess/Network/NetworkProcessConnection.cpp
500     WebProcess/Network/WebResourceLoadScheduler.cpp
501     WebProcess/Network/WebResourceLoader.cpp
502
503     WebProcess/NetworkInfo/WebNetworkInfoManager.cpp
504
505     WebProcess/Notifications/NotificationPermissionRequestManager.cpp
506     WebProcess/Notifications/WebNotificationManager.cpp
507
508     WebProcess/OriginData/WebOriginDataManager.cpp
509
510     WebProcess/Plugins/Plugin.cpp
511     WebProcess/Plugins/PluginProcessConnection.cpp
512     WebProcess/Plugins/PluginProcessConnectionManager.cpp
513     WebProcess/Plugins/PluginProxy.cpp
514     WebProcess/Plugins/PluginView.cpp
515
516     WebProcess/Plugins/Netscape/JSNPMethod.cpp
517     WebProcess/Plugins/Netscape/JSNPObject.cpp
518     WebProcess/Plugins/Netscape/NPJSObject.cpp
519     WebProcess/Plugins/Netscape/NPRuntimeObjectMap.cpp
520     WebProcess/Plugins/Netscape/NPRuntimeUtilities.cpp
521     WebProcess/Plugins/Netscape/NetscapeBrowserFuncs.cpp
522     WebProcess/Plugins/Netscape/NetscapePlugin.cpp
523     WebProcess/Plugins/Netscape/NetscapePluginNone.cpp
524     WebProcess/Plugins/Netscape/NetscapePluginStream.cpp
525
526     WebProcess/ResourceCache/WebResourceCacheManager.cpp
527
528     WebProcess/Storage/StorageAreaImpl.cpp
529     WebProcess/Storage/StorageAreaMap.cpp
530     WebProcess/Storage/StorageNamespaceImpl.cpp
531
532     WebProcess/WebCoreSupport/WebBatteryClient.cpp
533     WebProcess/WebCoreSupport/WebChromeClient.cpp
534     WebProcess/WebCoreSupport/WebColorChooser.cpp
535     WebProcess/WebCoreSupport/WebContextMenuClient.cpp
536     WebProcess/WebCoreSupport/WebDatabaseManager.cpp
537     WebProcess/WebCoreSupport/WebDeviceProximityClient.cpp
538     WebProcess/WebCoreSupport/WebDragClient.cpp
539     WebProcess/WebCoreSupport/WebEditorClient.cpp
540     WebProcess/WebCoreSupport/WebFrameLoaderClient.cpp
541     WebProcess/WebCoreSupport/WebGeolocationClient.cpp
542     WebProcess/WebCoreSupport/WebInspectorClient.cpp
543     WebProcess/WebCoreSupport/WebInspectorFrontendClient.cpp
544     WebProcess/WebCoreSupport/WebNetworkInfoClient.cpp
545     WebProcess/WebCoreSupport/WebNotificationClient.cpp
546     WebProcess/WebCoreSupport/WebPlatformStrategies.cpp
547     WebProcess/WebCoreSupport/WebPlugInClient.cpp
548     WebProcess/WebCoreSupport/WebPopupMenu.cpp
549     WebProcess/WebCoreSupport/WebSearchPopupMenu.cpp
550     WebProcess/WebCoreSupport/WebVibrationClient.cpp
551
552     WebProcess/WebPage/DecoderAdapter.cpp
553     WebProcess/WebPage/DrawingArea.cpp
554     WebProcess/WebPage/EncoderAdapter.cpp
555     WebProcess/WebPage/EventDispatcher.cpp
556     WebProcess/WebPage/FindController.cpp
557     WebProcess/WebPage/LayerTreeHost.cpp
558     WebProcess/WebPage/PageBanner.cpp
559     WebProcess/WebPage/PageOverlay.cpp
560     WebProcess/WebPage/TapHighlightController.cpp
561     WebProcess/WebPage/WebBackForwardListProxy.cpp
562     WebProcess/WebPage/WebContextMenu.cpp
563     WebProcess/WebPage/WebFrame.cpp
564     WebProcess/WebPage/WebInspector.cpp
565     WebProcess/WebPage/WebOpenPanelResultListener.cpp
566     WebProcess/WebPage/WebPage.cpp
567     WebProcess/WebPage/WebPageGroupProxy.cpp
568     WebProcess/WebPage/WebUndoStep.cpp
569
570     WebProcess/WebPage/CoordinatedGraphics/CoordinatedDrawingArea.cpp
571     WebProcess/WebPage/CoordinatedGraphics/CoordinatedLayerTreeHost.cpp
572     WebProcess/WebPage/CoordinatedGraphics/WebPageCoordinatedGraphics.cpp
573 )
574
575 set(WebKit2_MESSAGES_IN_FILES
576     NetworkProcess/NetworkConnectionToWebProcess.messages.in
577     NetworkProcess/NetworkProcess.messages.in
578     NetworkProcess/NetworkResourceLoader.messages.in
579
580     PluginProcess/PluginControllerProxy.messages.in
581     PluginProcess/PluginProcess.messages.in
582     PluginProcess/WebProcessConnection.messages.in
583
584     Shared/WebConnection.messages.in
585
586     Shared/Authentication/AuthenticationManager.messages.in
587
588     Shared/Plugins/NPObjectMessageReceiver.messages.in
589
590     UIProcess/DrawingAreaProxy.messages.in
591     UIProcess/WebApplicationCacheManagerProxy.messages.in
592     UIProcess/WebBatteryManagerProxy.messages.in
593     UIProcess/WebContext.messages.in
594     UIProcess/WebCookieManagerProxy.messages.in
595     UIProcess/WebDatabaseManagerProxy.messages.in
596     UIProcess/WebFullScreenManagerProxy.messages.in
597     UIProcess/WebGeolocationManagerProxy.messages.in
598     UIProcess/WebIconDatabase.messages.in
599     UIProcess/WebInspectorProxy.messages.in
600     UIProcess/WebMediaCacheManagerProxy.messages.in
601     UIProcess/WebNetworkInfoManagerProxy.messages.in
602     UIProcess/WebOriginDataManagerProxy.messages.in
603     UIProcess/WebPageProxy.messages.in
604     UIProcess/WebProcessProxy.messages.in
605     UIProcess/WebResourceCacheManagerProxy.messages.in
606     UIProcess/WebVibrationProxy.messages.in
607
608     UIProcess/CoordinatedGraphics/CoordinatedLayerTreeHostProxy.messages.in
609
610     UIProcess/Downloads/DownloadProxy.messages.in
611
612     UIProcess/Network/NetworkProcessProxy.messages.in
613
614     UIProcess/Network/CustomProtocols/CustomProtocolManagerProxy.messages.in
615
616     UIProcess/Plugins/PluginProcessProxy.messages.in
617
618     UIProcess/Storage/StorageManager.messages.in
619
620     WebProcess/WebProcess.messages.in
621
622     WebProcess/ApplicationCache/WebApplicationCacheManager.messages.in
623
624     WebProcess/Battery/WebBatteryManager.messages.in
625
626     WebProcess/Cookies/WebCookieManager.messages.in
627
628     WebProcess/FullScreen/WebFullScreenManager.messages.in
629
630     WebProcess/Geolocation/WebGeolocationManager.messages.in
631
632     WebProcess/IconDatabase/WebIconDatabaseProxy.messages.in
633
634     WebProcess/MediaCache/WebMediaCacheManager.messages.in
635
636     WebProcess/Network/NetworkProcessConnection.messages.in
637     WebProcess/Network/WebResourceLoader.messages.in
638
639     WebProcess/NetworkInfo/WebNetworkInfoManager.messages.in
640
641     WebProcess/Notifications/WebNotificationManager.messages.in
642
643     WebProcess/OriginData/WebOriginDataManager.messages.in
644
645     WebProcess/Plugins/PluginProcessConnection.messages.in
646     WebProcess/Plugins/PluginProcessConnectionManager.messages.in
647     WebProcess/Plugins/PluginProxy.messages.in
648
649     WebProcess/ResourceCache/WebResourceCacheManager.messages.in
650
651     WebProcess/Storage/StorageAreaMap.messages.in
652
653     WebProcess/WebCoreSupport/WebDatabaseManager.messages.in
654
655     WebProcess/WebPage/DrawingArea.messages.in
656     WebProcess/WebPage/EventDispatcher.messages.in
657     WebProcess/WebPage/WebInspector.messages.in
658     WebProcess/WebPage/WebPage.messages.in
659     WebProcess/WebPage/WebPageGroupProxy.messages.in
660
661     WebProcess/WebPage/CoordinatedGraphics/CoordinatedLayerTreeHost.messages.in
662 )
663
664 set(WebProcess_LIBRARIES
665     JavaScriptCore
666     WebCore
667     WebKit2
668 )
669
670 set(WebKit2_LIBRARIES
671     JavaScriptCore
672     WTF
673     WebCore
674 )
675
676 # librt is needed for shm_open on Linux.
677 find_library(LIBRT_LIBRARIES NAMES rt)
678 if (LIBRT_LIBRARIES)
679     list(APPEND WebKit2_LIBRARIES ${LIBRT_LIBRARIES})
680 endif ()
681
682 WEBKIT_INCLUDE_CONFIG_FILES_IF_EXISTS()
683
684 GENERATE_WEBKIT2_MESSAGE_SOURCES(WebKit2_SOURCES "${WebKit2_MESSAGES_IN_FILES}")
685
686 add_definitions(-DBUILDING_WEBKIT)
687 include_directories(${WebKit2_INCLUDE_DIRECTORIES})
688 add_library(WebKit2 ${WebKit2_LIBRARY_TYPE} ${WebKit2_SOURCES})
689
690 add_dependencies(WebKit2 WebCore)
691 add_dependencies(WebKit2 ${WEBKIT2_EXTRA_DEPENDENCIES})
692 target_link_libraries(WebKit2 ${WebKit2_LIBRARIES})
693 set_target_properties(WebKit2 PROPERTIES FOLDER "WebKit")
694 set_target_properties(WebKit2 PROPERTIES LINK_INTERFACE_LIBRARIES "")
695
696 if (WebKit2_OUTPUT_NAME)
697     set_target_properties(WebKit2 PROPERTIES OUTPUT_NAME ${WebKit2_OUTPUT_NAME})
698 endif ()
699
700 add_executable(WebProcess ${WebProcess_SOURCES})
701 target_link_libraries(WebProcess ${WebProcess_LIBRARIES})
702 set_target_properties(WebProcess PROPERTIES FOLDER "WebKit")
703
704 if (WebKit2_WebProcess_OUTPUT_NAME)
705     set_target_properties(WebProcess PROPERTIES OUTPUT_NAME ${WebKit2_WebProcess_OUTPUT_NAME})
706 endif ()
707
708 POPULATE_LIBRARY_VERSION(WEBKIT2)
709 set_target_properties(WebKit2 PROPERTIES VERSION ${WEBKIT2_VERSION} SOVERSION ${WEBKIT2_VERSION_MAJOR})
710
711 install(TARGETS WebKit2 DESTINATION "${LIB_INSTALL_DIR}")
712 install(TARGETS WebProcess DESTINATION "${LIBEXEC_INSTALL_DIR}")