Fix Mac CMake build
[WebKit-https.git] / Source / WebKit2 / CMakeLists.txt
1 set(WebKit2_INCLUDE_DIRECTORIES
2     "${JAVASCRIPTCORE_DIR}/llint"
3     "${WEBKIT2_DIR}"
4     "${WEBKIT2_DIR}/DatabaseProcess"
5     "${WEBKIT2_DIR}/DatabaseProcess/IndexedDB"
6     "${WEBKIT2_DIR}/DatabaseProcess/IndexedDB/sqlite"
7     "${WEBKIT2_DIR}/NetworkProcess"
8     "${WEBKIT2_DIR}/NetworkProcess/FileAPI"
9     "${WEBKIT2_DIR}/NetworkProcess/cache"
10     "${WEBKIT2_DIR}/Platform"
11     "${WEBKIT2_DIR}/Platform/IPC"
12     "${WEBKIT2_DIR}/PluginProcess"
13     "${WEBKIT2_DIR}/Shared"
14     "${WEBKIT2_DIR}/Shared/API"
15     "${WEBKIT2_DIR}/Shared/API/c"
16     "${WEBKIT2_DIR}/Shared/Authentication"
17     "${WEBKIT2_DIR}/Shared/CoreIPCSupport"
18     "${WEBKIT2_DIR}/Shared/Databases"
19     "${WEBKIT2_DIR}/Shared/Databases/IndexedDB"
20     "${WEBKIT2_DIR}/Shared/Downloads"
21     "${WEBKIT2_DIR}/Shared/FileAPI"
22     "${WEBKIT2_DIR}/Shared/Network"
23     "${WEBKIT2_DIR}/Shared/Network/CustomProtocols"
24     "${WEBKIT2_DIR}/Shared/Plugins"
25     "${WEBKIT2_DIR}/Shared/Plugins/Netscape"
26     "${WEBKIT2_DIR}/Shared/Plugins/Netscape/x11"
27     "${WEBKIT2_DIR}/Shared/WebsiteData"
28     "${WEBKIT2_DIR}/UIProcess"
29     "${WEBKIT2_DIR}/UIProcess/API"
30     "${WEBKIT2_DIR}/UIProcess/API/C"
31     "${WEBKIT2_DIR}/UIProcess/API/Cocoa"
32     "${WEBKIT2_DIR}/UIProcess/API/cpp"
33     "${WEBKIT2_DIR}/UIProcess/Authentication"
34     "${WEBKIT2_DIR}/UIProcess/Databases"
35     "${WEBKIT2_DIR}/UIProcess/Downloads"
36     "${WEBKIT2_DIR}/UIProcess/InspectorServer"
37     "${WEBKIT2_DIR}/UIProcess/Launcher"
38     "${WEBKIT2_DIR}/UIProcess/Network"
39     "${WEBKIT2_DIR}/UIProcess/Network/CustomProtocols"
40     "${WEBKIT2_DIR}/UIProcess/Notifications"
41     "${WEBKIT2_DIR}/UIProcess/Plugins"
42     "${WEBKIT2_DIR}/UIProcess/Storage"
43     "${WEBKIT2_DIR}/UIProcess/UserContent"
44     "${WEBKIT2_DIR}/UIProcess/WebsiteData"
45     "${WEBKIT2_DIR}/WebProcess"
46     "${WEBKIT2_DIR}/WebProcess/ApplicationCache"
47     "${WEBKIT2_DIR}/WebProcess/Battery"
48     "${WEBKIT2_DIR}/WebProcess/Cookies"
49     "${WEBKIT2_DIR}/WebProcess/Databases"
50     "${WEBKIT2_DIR}/WebProcess/Databases/IndexedDB"
51     "${WEBKIT2_DIR}/WebProcess/FileAPI"
52     "${WEBKIT2_DIR}/WebProcess/FullScreen"
53     "${WEBKIT2_DIR}/WebProcess/Geolocation"
54     "${WEBKIT2_DIR}/WebProcess/IconDatabase"
55     "${WEBKIT2_DIR}/WebProcess/InjectedBundle"
56     "${WEBKIT2_DIR}/WebProcess/InjectedBundle/API"
57     "${WEBKIT2_DIR}/WebProcess/InjectedBundle/API/c"
58     "${WEBKIT2_DIR}/WebProcess/InjectedBundle/DOM"
59     "${WEBKIT2_DIR}/WebProcess/Launching"
60     "${WEBKIT2_DIR}/WebProcess/MediaCache"
61     "${WEBKIT2_DIR}/WebProcess/MediaStream"
62     "${WEBKIT2_DIR}/WebProcess/Network"
63     "${WEBKIT2_DIR}/WebProcess/Notifications"
64     "${WEBKIT2_DIR}/WebProcess/OriginData"
65     "${WEBKIT2_DIR}/WebProcess/Plugins"
66     "${WEBKIT2_DIR}/WebProcess/Plugins/Netscape"
67     "${WEBKIT2_DIR}/WebProcess/ResourceCache"
68     "${WEBKIT2_DIR}/WebProcess/Storage"
69     "${WEBKIT2_DIR}/WebProcess/UserContent"
70     "${WEBKIT2_DIR}/WebProcess/WebCoreSupport"
71     "${WEBKIT2_DIR}/WebProcess/WebPage"
72     "${WEBCORE_DIR}"
73     "${WEBCORE_DIR}/Modules/battery"
74     "${WEBCORE_DIR}/Modules/indexeddb"
75     "${WEBCORE_DIR}/Modules/indexeddb/legacy"
76     "${WEBCORE_DIR}/Modules/mediastream"
77     "${WEBCORE_DIR}/Modules/networkinfo"
78     "${WEBCORE_DIR}/Modules/notifications"
79     "${WEBCORE_DIR}/Modules/streams"
80     "${WEBCORE_DIR}/Modules/vibration"
81     "${WEBCORE_DIR}/Modules/webdatabase"
82     "${WEBCORE_DIR}/accessibility"
83     "${WEBCORE_DIR}/bindings/js"
84     "${WEBCORE_DIR}/bindings"
85     "${WEBCORE_DIR}/bridge"
86     "${WEBCORE_DIR}/bridge/jsc"
87     "${WEBCORE_DIR}/contentextensions"
88     "${WEBCORE_DIR}/css"
89     "${WEBCORE_DIR}/dom"
90     "${WEBCORE_DIR}/dom/default"
91     "${WEBCORE_DIR}/editing"
92     "${WEBCORE_DIR}/fileapi"
93     "${WEBCORE_DIR}/history"
94     "${WEBCORE_DIR}/html"
95     "${WEBCORE_DIR}/html/shadow"
96     "${WEBCORE_DIR}/html/track"
97     "${WEBCORE_DIR}/inspector"
98     "${WEBCORE_DIR}/loader"
99     "${WEBCORE_DIR}/loader/archive"
100     "${WEBCORE_DIR}/loader/icon"
101     "${WEBCORE_DIR}/loader/cache"
102     "${WEBCORE_DIR}/page"
103     "${WEBCORE_DIR}/page/animation"
104     "${WEBCORE_DIR}/page/scrolling"
105     "${WEBCORE_DIR}/platform"
106     "${WEBCORE_DIR}/platform/animation"
107     "${WEBCORE_DIR}/platform/audio"
108     "${WEBCORE_DIR}/platform/graphics"
109     "${WEBCORE_DIR}/platform/graphics/filters"
110     "${WEBCORE_DIR}/platform/graphics/harfbuzz"
111     "${WEBCORE_DIR}/platform/graphics/harfbuzz/ng"
112     "${WEBCORE_DIR}/platform/graphics/surfaces"
113     "${WEBCORE_DIR}/platform/graphics/texmap"
114     "${WEBCORE_DIR}/platform/graphics/transforms"
115     "${WEBCORE_DIR}/platform/mediastream"
116     "${WEBCORE_DIR}/platform/network"
117     "${WEBCORE_DIR}/platform/sql"
118     "${WEBCORE_DIR}/platform/text"
119     "${WEBCORE_DIR}/plugins"
120     "${WEBCORE_DIR}/rendering"
121     "${WEBCORE_DIR}/rendering/line"
122     "${WEBCORE_DIR}/rendering/shapes"
123     "${WEBCORE_DIR}/rendering/style"
124     "${WEBCORE_DIR}/storage"
125     "${WEBCORE_DIR}/style"
126     "${WEBCORE_DIR}/svg"
127     "${WEBCORE_DIR}/svg/graphics"
128     "${WEBCORE_DIR}/svg/properties"
129     "${JAVASCRIPTCORE_DIR}"
130     "${JAVASCRIPTCORE_DIR}/ForwardingHeaders"
131     "${JAVASCRIPTCORE_DIR}/API"
132     "${JAVASCRIPTCORE_DIR}/assembler"
133     "${JAVASCRIPTCORE_DIR}/bytecode"
134     "${JAVASCRIPTCORE_DIR}/bytecompiler"
135     "${JAVASCRIPTCORE_DIR}/collector/handles"
136     "${JAVASCRIPTCORE_DIR}/dfg"
137     "${JAVASCRIPTCORE_DIR}/disassembler"
138     "${JAVASCRIPTCORE_DIR}/heap"
139     "${JAVASCRIPTCORE_DIR}/interpreter"
140     "${JAVASCRIPTCORE_DIR}/jit"
141     "${JAVASCRIPTCORE_DIR}/parser"
142     "${JAVASCRIPTCORE_DIR}/profiler"
143     "${JAVASCRIPTCORE_DIR}/runtime"
144     "${WTF_DIR}"
145     "${DERIVED_SOURCES_DIR}"
146     "${DERIVED_SOURCES_JAVASCRIPTCORE_DIR}"
147     "${DERIVED_SOURCES_WEBCORE_DIR}"
148     "${DERIVED_SOURCES_WEBKIT2_DIR}"
149     "${DERIVED_SOURCES_WEBKIT2_DIR}/include"
150     "${CMAKE_BINARY_DIR}"
151     "${CMAKE_SOURCE_DIR}/Source"
152     "${CMAKE_SOURCE_DIR}/WebKitLibraries"
153 )
154
155 set(WebKit2_SYSTEM_INCLUDE_DIRECTORIES "")
156
157 if (ENABLE_GRAPHICS_CONTEXT_3D)
158     list(APPEND WebKit2_INCLUDE_DIRECTORIES
159         "${THIRDPARTY_DIR}/ANGLE"
160         "${THIRDPARTY_DIR}/ANGLE/include/KHR"
161     )
162 endif ()
163
164 set(NetworkProcess_COMMON_SOURCES
165     NetworkProcess/NetworkConnectionToWebProcess.cpp
166     NetworkProcess/NetworkProcess.cpp
167     NetworkProcess/NetworkProcessPlatformStrategies.cpp
168     NetworkProcess/NetworkResourceLoader.cpp
169
170     NetworkProcess/FileAPI/NetworkBlobRegistry.cpp
171
172     NetworkProcess/cache/NetworkCache.cpp
173     NetworkProcess/cache/NetworkCacheBlobStorage.cpp
174     NetworkProcess/cache/NetworkCacheCoders.cpp
175     NetworkProcess/cache/NetworkCacheData.cpp
176     NetworkProcess/cache/NetworkCacheDecoder.cpp
177     NetworkProcess/cache/NetworkCacheEncoder.cpp
178     NetworkProcess/cache/NetworkCacheEntry.cpp
179     NetworkProcess/cache/NetworkCacheFileSystem.cpp
180     NetworkProcess/cache/NetworkCacheKey.cpp
181     NetworkProcess/cache/NetworkCacheStatistics.cpp
182     NetworkProcess/cache/NetworkCacheStorage.cpp
183 )
184
185 set(WebKit2_SOURCES
186     DatabaseProcess/DatabaseProcess.cpp
187     DatabaseProcess/DatabaseToWebProcessConnection.cpp
188
189     DatabaseProcess/IndexedDB/DatabaseProcessIDBConnection.cpp
190     DatabaseProcess/IndexedDB/IDBSerialization.cpp
191     DatabaseProcess/IndexedDB/UniqueIDBDatabase.cpp
192     DatabaseProcess/IndexedDB/UniqueIDBDatabaseIdentifier.cpp
193
194     DatabaseProcess/IndexedDB/sqlite/SQLiteIDBCursor.cpp
195     DatabaseProcess/IndexedDB/sqlite/SQLiteIDBTransaction.cpp
196     DatabaseProcess/IndexedDB/sqlite/UniqueIDBDatabaseBackingStoreSQLite.cpp
197
198     Platform/Logging.cpp
199     Platform/Module.cpp
200
201     Platform/IPC/ArgumentCoders.cpp
202     Platform/IPC/ArgumentDecoder.cpp
203     Platform/IPC/ArgumentEncoder.cpp
204     Platform/IPC/Attachment.cpp
205     Platform/IPC/Connection.cpp
206     Platform/IPC/DataReference.cpp
207     Platform/IPC/MessageDecoder.cpp
208     Platform/IPC/MessageEncoder.cpp
209     Platform/IPC/MessageReceiverMap.cpp
210     Platform/IPC/MessageSender.cpp
211     Platform/IPC/StringReference.cpp
212
213     PluginProcess/PluginControllerProxy.cpp
214     PluginProcess/PluginCreationParameters.cpp
215     PluginProcess/PluginProcess.cpp
216     PluginProcess/WebProcessConnection.cpp
217
218     Shared/ActivityAssertion.cpp
219     Shared/AsyncRequest.cpp
220     Shared/BlobDataFileReferenceWithSandboxExtension.cpp
221     Shared/CacheModel.cpp
222     Shared/ChildProcess.cpp
223     Shared/ChildProcessProxy.cpp
224     Shared/ContextMenuContextData.cpp
225     Shared/EditorState.cpp
226     Shared/FontInfo.cpp
227     Shared/LayerTreeContext.cpp
228     Shared/NavigationActionData.cpp
229     Shared/OriginAndDatabases.cpp
230     Shared/PlatformPopupMenuData.cpp
231     Shared/PrintInfo.cpp
232     Shared/SessionState.cpp
233     Shared/SessionTracker.cpp
234     Shared/ShareableBitmap.cpp
235     Shared/ShareableResource.cpp
236     Shared/StatisticsData.cpp
237     Shared/UpdateInfo.cpp
238     Shared/UserData.cpp
239     Shared/VisitedLinkTable.cpp
240     Shared/WebBackForwardListItem.cpp
241     Shared/WebBatteryStatus.cpp
242     Shared/WebCompiledContentExtension.cpp
243     Shared/WebCompiledContentExtensionData.cpp
244     Shared/WebConnection.cpp
245     Shared/WebConnectionClient.cpp
246     Shared/WebContextMenuItem.cpp
247     Shared/WebContextMenuItemData.cpp
248     Shared/WebCoreArgumentCoders.cpp
249     Shared/WebCrossThreadCopier.cpp
250     Shared/WebEvent.cpp
251     Shared/WebEventConversion.cpp
252     Shared/WebGeolocationPosition.cpp
253     Shared/WebHitTestResultData.cpp
254     Shared/WebImage.cpp
255     Shared/WebKeyboardEvent.cpp
256     Shared/WebKit2Initialize.cpp
257     Shared/WebMediaSessionMetadata.cpp
258     Shared/WebMemorySampler.cpp
259     Shared/WebMouseEvent.cpp
260     Shared/WebOpenPanelParameters.cpp
261     Shared/WebPageCreationParameters.cpp
262     Shared/WebPageGroupData.cpp
263     Shared/WebPlatformTouchPoint.cpp
264     Shared/WebPopupItem.cpp
265     Shared/WebPreferencesKeys.cpp
266     Shared/WebPreferencesStore.cpp
267     Shared/WebProcessCreationParameters.cpp
268     Shared/WebRenderLayer.cpp
269     Shared/WebRenderObject.cpp
270     Shared/WebTouchEvent.cpp
271     Shared/WebWheelEvent.cpp
272
273     Shared/API/APIArray.cpp
274     Shared/API/APIData.cpp
275     Shared/API/APIDictionary.cpp
276     Shared/API/APIError.cpp
277     Shared/API/APIFrameHandle.cpp
278     Shared/API/APIGeometry.cpp
279     Shared/API/APIObject.cpp
280     Shared/API/APIPageGroupHandle.cpp
281     Shared/API/APIPageHandle.cpp
282     Shared/API/APIURLRequest.cpp
283     Shared/API/APIURLResponse.cpp
284
285     Shared/API/c/WKArray.cpp
286     Shared/API/c/WKCertificateInfo.cpp
287     Shared/API/c/WKConnectionRef.cpp
288     Shared/API/c/WKContextMenuItem.cpp
289     Shared/API/c/WKData.cpp
290     Shared/API/c/WKDeprecatedFunctions.cpp
291     Shared/API/c/WKDictionary.cpp
292     Shared/API/c/WKErrorRef.cpp
293     Shared/API/c/WKGeometry.cpp
294     Shared/API/c/WKImage.cpp
295     Shared/API/c/WKMutableArray.cpp
296     Shared/API/c/WKMutableDictionary.cpp
297     Shared/API/c/WKNumber.cpp
298     Shared/API/c/WKPluginInformation.cpp
299     Shared/API/c/WKRenderLayer.cpp
300     Shared/API/c/WKRenderObject.cpp
301     Shared/API/c/WKSecurityOriginRef.cpp
302     Shared/API/c/WKSerializedScriptValue.cpp
303     Shared/API/c/WKString.cpp
304     Shared/API/c/WKType.cpp
305     Shared/API/c/WKURL.cpp
306     Shared/API/c/WKURLRequest.cpp
307     Shared/API/c/WKURLResponse.cpp
308     Shared/API/c/WKUserContentURLPattern.cpp
309
310     Shared/Authentication/AuthenticationManager.cpp
311
312     Shared/Databases/DatabaseProcessCreationParameters.cpp
313
314     Shared/Databases/IndexedDB/IDBUtilities.cpp
315
316     Shared/Downloads/Download.cpp
317     Shared/Downloads/DownloadAuthenticationClient.cpp
318     Shared/Downloads/DownloadManager.cpp
319
320     Shared/Network/NetworkProcessCreationParameters.cpp
321     Shared/Network/NetworkResourceLoadParameters.cpp
322
323     Shared/Plugins/NPIdentifierData.cpp
324     Shared/Plugins/NPObjectMessageReceiver.cpp
325     Shared/Plugins/NPObjectProxy.cpp
326     Shared/Plugins/NPRemoteObjectMap.cpp
327     Shared/Plugins/NPVariantData.cpp
328     Shared/Plugins/PluginProcessCreationParameters.cpp
329
330     Shared/Plugins/Netscape/NetscapePluginModule.cpp
331     Shared/Plugins/Netscape/NetscapePluginModuleNone.cpp
332     Shared/Plugins/Netscape/PluginInformation.cpp
333
334     Shared/WebsiteData/WebsiteData.cpp
335
336     UIProcess/DrawingAreaProxy.cpp
337     UIProcess/FrameLoadState.cpp
338     UIProcess/GeolocationPermissionRequestManagerProxy.cpp
339     UIProcess/GeolocationPermissionRequestProxy.cpp
340     UIProcess/PageLoadState.cpp
341     UIProcess/ProcessAssertion.cpp
342     UIProcess/ProcessThrottler.cpp
343     UIProcess/ResponsivenessTimer.cpp
344     UIProcess/StatisticsRequest.cpp
345     UIProcess/TextCheckerCompletion.cpp
346     UIProcess/UserMediaPermissionRequestManagerProxy.cpp
347     UIProcess/UserMediaPermissionRequestProxy.cpp
348     UIProcess/VisitedLinkStore.cpp
349     UIProcess/WebBackForwardList.cpp
350     UIProcess/WebBatteryManagerProxy.cpp
351     UIProcess/WebBatteryProvider.cpp
352     UIProcess/WebColorPicker.cpp
353     UIProcess/WebConnectionToWebProcess.cpp
354     UIProcess/WebContextClient.cpp
355     UIProcess/WebContextConnectionClient.cpp
356     UIProcess/WebContextInjectedBundleClient.cpp
357     UIProcess/WebContextMenuProxy.cpp
358     UIProcess/WebCookieManagerProxy.cpp
359     UIProcess/WebCookieManagerProxyClient.cpp
360     UIProcess/WebDatabaseManagerProxy.cpp
361     UIProcess/WebDatabaseManagerProxyClient.cpp
362     UIProcess/WebEditCommandProxy.cpp
363     UIProcess/WebFormClient.cpp
364     UIProcess/WebFormSubmissionListenerProxy.cpp
365     UIProcess/WebFrameListenerProxy.cpp
366     UIProcess/WebFramePolicyListenerProxy.cpp
367     UIProcess/WebFrameProxy.cpp
368     UIProcess/WebFullScreenManagerProxy.cpp
369     UIProcess/WebGeolocationManagerProxy.cpp
370     UIProcess/WebGeolocationProvider.cpp
371     UIProcess/WebGrammarDetail.cpp
372     UIProcess/WebIconDatabase.cpp
373     UIProcess/WebIconDatabaseClient.cpp
374     UIProcess/WebInspectorProxy.cpp
375     UIProcess/WebMediaCacheManagerProxy.cpp
376     UIProcess/WebNavigationState.cpp
377     UIProcess/WebOpenPanelResultListenerProxy.cpp
378     UIProcess/WebPageDiagnosticLoggingClient.cpp
379     UIProcess/WebPageGroup.cpp
380     UIProcess/WebPageInjectedBundleClient.cpp
381     UIProcess/WebPageProxy.cpp
382     UIProcess/WebPasteboardProxy.cpp
383     UIProcess/WebPreferences.cpp
384     UIProcess/WebProcessLifetimeObserver.cpp
385     UIProcess/WebProcessLifetimeTracker.cpp
386     UIProcess/WebProcessPool.cpp
387     UIProcess/WebProcessProxy.cpp
388     UIProcess/WebTextChecker.cpp
389     UIProcess/WebTextCheckerClient.cpp
390     UIProcess/WebVibrationProvider.cpp
391     UIProcess/WebVibrationProxy.cpp
392     UIProcess/WebViewportAttributes.cpp
393
394     UIProcess/API/APIFrameInfo.cpp
395     UIProcess/API/APIHitTestResult.cpp
396     UIProcess/API/APINavigation.cpp
397     UIProcess/API/APINavigationData.cpp
398     UIProcess/API/APIPageConfiguration.cpp
399     UIProcess/API/APIProcessPoolConfiguration.cpp
400     UIProcess/API/APISession.cpp
401     UIProcess/API/APISessionState.cpp
402     UIProcess/API/APIUserContentExtension.cpp
403     UIProcess/API/APIUserContentExtensionStore.cpp
404     UIProcess/API/APIWebsiteDataStore.cpp
405     UIProcess/API/APIWindowFeatures.cpp
406
407     UIProcess/API/C/WKApplicationCacheManager.cpp
408     UIProcess/API/C/WKAuthenticationChallenge.cpp
409     UIProcess/API/C/WKAuthenticationDecisionListener.cpp
410     UIProcess/API/C/WKBackForwardListItemRef.cpp
411     UIProcess/API/C/WKBackForwardListRef.cpp
412     UIProcess/API/C/WKBatteryManager.cpp
413     UIProcess/API/C/WKBatteryStatus.cpp
414     UIProcess/API/C/WKContext.cpp
415     UIProcess/API/C/WKContextConfigurationRef.cpp
416     UIProcess/API/C/WKCookieManager.cpp
417     UIProcess/API/C/WKCredential.cpp
418     UIProcess/API/C/WKDatabaseManager.cpp
419     UIProcess/API/C/WKDownload.cpp
420     UIProcess/API/C/WKFormSubmissionListener.cpp
421     UIProcess/API/C/WKFrame.cpp
422     UIProcess/API/C/WKFrameInfoRef.cpp
423     UIProcess/API/C/WKFramePolicyListener.cpp
424     UIProcess/API/C/WKGeolocationManager.cpp
425     UIProcess/API/C/WKGeolocationPermissionRequest.cpp
426     UIProcess/API/C/WKGeolocationPosition.cpp
427     UIProcess/API/C/WKGrammarDetail.cpp
428     UIProcess/API/C/WKHitTestResult.cpp
429     UIProcess/API/C/WKIconDatabase.cpp
430     UIProcess/API/C/WKInspector.cpp
431     UIProcess/API/C/WKKeyValueStorageManager.cpp
432     UIProcess/API/C/WKMediaCacheManager.cpp
433     UIProcess/API/C/WKMediaSessionMetadata.cpp
434     UIProcess/API/C/WKNavigationActionRef.cpp
435     UIProcess/API/C/WKNavigationDataRef.cpp
436     UIProcess/API/C/WKNavigationRef.cpp
437     UIProcess/API/C/WKNavigationResponseRef.cpp
438     UIProcess/API/C/WKNotification.cpp
439     UIProcess/API/C/WKNotificationManager.cpp
440     UIProcess/API/C/WKNotificationPermissionRequest.cpp
441     UIProcess/API/C/WKOpenPanelParameters.cpp
442     UIProcess/API/C/WKOpenPanelResultListener.cpp
443     UIProcess/API/C/WKOriginDataManager.cpp
444     UIProcess/API/C/WKPage.cpp
445     UIProcess/API/C/WKPageConfigurationRef.cpp
446     UIProcess/API/C/WKPageGroup.cpp
447     UIProcess/API/C/WKPluginSiteDataManager.cpp
448     UIProcess/API/C/WKPreferences.cpp
449     UIProcess/API/C/WKProtectionSpace.cpp
450     UIProcess/API/C/WKResourceCacheManager.cpp
451     UIProcess/API/C/WKSessionStateRef.cpp
452     UIProcess/API/C/WKTextChecker.cpp
453     UIProcess/API/C/WKUserContentControllerRef.cpp
454     UIProcess/API/C/WKUserMediaPermissionRequest.cpp
455     UIProcess/API/C/WKVibration.cpp
456     UIProcess/API/C/WKViewportAttributes.cpp
457     UIProcess/API/C/WKWindowFeaturesRef.cpp
458
459     UIProcess/API/Cocoa/APISerializedScriptValueCocoa.mm
460     UIProcess/API/Cocoa/APIUserContentExtensionStoreCocoa.mm
461     UIProcess/API/Cocoa/APIWebsiteDataStoreCocoa.mm
462     UIProcess/API/Cocoa/LegacyBundleForClass.mm
463     UIProcess/API/Cocoa/WKBackForwardList.mm
464     UIProcess/API/Cocoa/WKBackForwardListItem.mm
465     UIProcess/API/Cocoa/WKBrowsingContextController.mm
466     UIProcess/API/Cocoa/WKBrowsingContextGroup.mm
467     UIProcess/API/Cocoa/WKConnection.mm
468     UIProcess/API/Cocoa/WKError.mm
469     UIProcess/API/Cocoa/WKFrameInfo.mm
470     UIProcess/API/Cocoa/WKNSURLAuthenticationChallenge.mm
471     UIProcess/API/Cocoa/WKNavigation.mm
472     UIProcess/API/Cocoa/WKNavigationAction.mm
473     UIProcess/API/Cocoa/WKNavigationData.mm
474     UIProcess/API/Cocoa/WKNavigationResponse.mm
475     UIProcess/API/Cocoa/WKPreferences.mm
476     UIProcess/API/Cocoa/WKProcessGroup.mm
477     UIProcess/API/Cocoa/WKProcessPool.mm
478     UIProcess/API/Cocoa/WKScriptMessage.mm
479     UIProcess/API/Cocoa/WKSecurityOrigin.mm
480     UIProcess/API/Cocoa/WKTypeRefWrapper.mm
481     UIProcess/API/Cocoa/WKUserContentController.mm
482     UIProcess/API/Cocoa/WKUserScript.mm
483     UIProcess/API/Cocoa/WKWebView.mm
484     UIProcess/API/Cocoa/WKWebViewConfiguration.mm
485     UIProcess/API/Cocoa/WKWebsiteDataRecord.mm
486     UIProcess/API/Cocoa/WKWebsiteDataStore.mm
487     UIProcess/API/Cocoa/WKWindowFeatures.mm
488     UIProcess/API/Cocoa/_WKActivatedElementInfo.mm
489     UIProcess/API/Cocoa/_WKContextMenuElementInfo.mm
490     UIProcess/API/Cocoa/_WKDownload.mm
491     UIProcess/API/Cocoa/_WKElementAction.mm
492     UIProcess/API/Cocoa/_WKElementInfo.mm
493     UIProcess/API/Cocoa/_WKErrorRecoveryAttempting.mm
494     UIProcess/API/Cocoa/_WKProcessPoolConfiguration.mm
495     UIProcess/API/Cocoa/_WKSessionState.mm
496     UIProcess/API/Cocoa/_WKThumbnailView.mm
497     UIProcess/API/Cocoa/_WKUserContentExtensionStore.mm
498     UIProcess/API/Cocoa/_WKUserContentFilter.mm
499     UIProcess/API/Cocoa/_WKUserStyleSheet.mm
500     UIProcess/API/Cocoa/_WKVisitedLinkProvider.mm
501     UIProcess/API/Cocoa/_WKVisitedLinkStore.mm
502     UIProcess/API/Cocoa/_WKWebsiteDataStore.mm
503
504     UIProcess/Authentication/AuthenticationChallengeProxy.cpp
505     UIProcess/Authentication/AuthenticationDecisionListener.cpp
506     UIProcess/Authentication/WebCredential.cpp
507     UIProcess/Authentication/WebProtectionSpace.cpp
508
509     UIProcess/Databases/DatabaseProcessProxy.cpp
510
511     UIProcess/Downloads/DownloadProxy.cpp
512     UIProcess/Downloads/DownloadProxyMap.cpp
513
514     UIProcess/InspectorServer/HTTPRequest.cpp
515     UIProcess/InspectorServer/WebInspectorServer.cpp
516     UIProcess/InspectorServer/WebSocketServer.cpp
517     UIProcess/InspectorServer/WebSocketServerConnection.cpp
518
519     UIProcess/Launcher/ProcessLauncher.cpp
520
521     UIProcess/Network/NetworkProcessProxy.cpp
522
523     UIProcess/Notifications/NotificationPermissionRequest.cpp
524     UIProcess/Notifications/NotificationPermissionRequestManagerProxy.cpp
525     UIProcess/Notifications/WebNotification.cpp
526     UIProcess/Notifications/WebNotificationManagerProxy.cpp
527     UIProcess/Notifications/WebNotificationProvider.cpp
528
529     UIProcess/Plugins/PlugInAutoStartProvider.cpp
530     UIProcess/Plugins/PluginInfoStore.cpp
531     UIProcess/Plugins/PluginProcessManager.cpp
532     UIProcess/Plugins/PluginProcessProxy.cpp
533
534     UIProcess/Storage/LocalStorageDatabase.cpp
535     UIProcess/Storage/LocalStorageDatabaseTracker.cpp
536
537     UIProcess/UserContent/WebScriptMessageHandler.cpp
538     UIProcess/UserContent/WebUserContentControllerProxy.cpp
539
540     UIProcess/WebsiteData/WebsiteDataRecord.cpp
541     UIProcess/WebsiteData/WebsiteDataStore.cpp
542
543     WebProcess/WebConnectionToUIProcess.cpp
544     WebProcess/WebProcess.cpp
545
546     WebProcess/Battery/WebBatteryManager.cpp
547
548     WebProcess/Cookies/WebCookieManager.cpp
549
550     WebProcess/Databases/WebDatabaseProvider.cpp
551     WebProcess/Databases/WebToDatabaseProcessConnection.cpp
552
553     WebProcess/Databases/IndexedDB/WebIDBFactoryBackend.cpp
554     WebProcess/Databases/IndexedDB/WebIDBServerConnection.cpp
555
556     WebProcess/FileAPI/BlobRegistryProxy.cpp
557
558     WebProcess/FullScreen/WebFullScreenManager.cpp
559
560     WebProcess/Geolocation/GeolocationPermissionRequestManager.cpp
561     WebProcess/Geolocation/WebGeolocationManager.cpp
562
563     WebProcess/IconDatabase/WebIconDatabaseProxy.cpp
564
565     WebProcess/InjectedBundle/InjectedBundle.cpp
566     WebProcess/InjectedBundle/InjectedBundleBackForwardList.cpp
567     WebProcess/InjectedBundle/InjectedBundleBackForwardListItem.cpp
568     WebProcess/InjectedBundle/InjectedBundleClient.cpp
569     WebProcess/InjectedBundle/InjectedBundleDOMWindowExtension.cpp
570     WebProcess/InjectedBundle/InjectedBundleHitTestResult.cpp
571     WebProcess/InjectedBundle/InjectedBundleNavigationAction.cpp
572     WebProcess/InjectedBundle/InjectedBundlePageContextMenuClient.cpp
573     WebProcess/InjectedBundle/InjectedBundlePageDiagnosticLoggingClient.cpp
574     WebProcess/InjectedBundle/InjectedBundlePageEditorClient.cpp
575     WebProcess/InjectedBundle/InjectedBundlePageFormClient.cpp
576     WebProcess/InjectedBundle/InjectedBundlePageFullScreenClient.cpp
577     WebProcess/InjectedBundle/InjectedBundlePageLoaderClient.cpp
578     WebProcess/InjectedBundle/InjectedBundlePagePolicyClient.cpp
579     WebProcess/InjectedBundle/InjectedBundlePageResourceLoadClient.cpp
580     WebProcess/InjectedBundle/InjectedBundlePageUIClient.cpp
581     WebProcess/InjectedBundle/InjectedBundleScriptWorld.cpp
582
583     WebProcess/InjectedBundle/API/c/WKBundle.cpp
584     WebProcess/InjectedBundle/API/c/WKBundleBackForwardList.cpp
585     WebProcess/InjectedBundle/API/c/WKBundleBackForwardListItem.cpp
586     WebProcess/InjectedBundle/API/c/WKBundleDOMWindowExtension.cpp
587     WebProcess/InjectedBundle/API/c/WKBundleFrame.cpp
588     WebProcess/InjectedBundle/API/c/WKBundleHitTestResult.cpp
589     WebProcess/InjectedBundle/API/c/WKBundleInspector.cpp
590     WebProcess/InjectedBundle/API/c/WKBundleNavigationAction.cpp
591     WebProcess/InjectedBundle/API/c/WKBundleNodeHandle.cpp
592     WebProcess/InjectedBundle/API/c/WKBundlePage.cpp
593     WebProcess/InjectedBundle/API/c/WKBundlePageGroup.cpp
594     WebProcess/InjectedBundle/API/c/WKBundlePageOverlay.cpp
595     WebProcess/InjectedBundle/API/c/WKBundleRangeHandle.cpp
596     WebProcess/InjectedBundle/API/c/WKBundleScriptWorld.cpp
597
598     WebProcess/InjectedBundle/DOM/InjectedBundleCSSStyleDeclarationHandle.cpp
599     WebProcess/InjectedBundle/DOM/InjectedBundleFileHandle.cpp
600     WebProcess/InjectedBundle/DOM/InjectedBundleNodeHandle.cpp
601     WebProcess/InjectedBundle/DOM/InjectedBundleRangeHandle.cpp
602
603     WebProcess/MediaCache/WebMediaCacheManager.cpp
604
605     WebProcess/MediaStream/UserMediaPermissionRequestManager.cpp
606
607     WebProcess/Network/NetworkProcessConnection.cpp
608     WebProcess/Network/WebResourceLoadScheduler.cpp
609     WebProcess/Network/WebResourceLoader.cpp
610
611     WebProcess/Notifications/NotificationPermissionRequestManager.cpp
612     WebProcess/Notifications/WebNotificationManager.cpp
613
614     WebProcess/Plugins/Plugin.cpp
615     WebProcess/Plugins/PluginProcessConnection.cpp
616     WebProcess/Plugins/PluginProcessConnectionManager.cpp
617     WebProcess/Plugins/PluginProxy.cpp
618     WebProcess/Plugins/PluginView.cpp
619
620     WebProcess/Plugins/Netscape/JSNPMethod.cpp
621     WebProcess/Plugins/Netscape/JSNPObject.cpp
622     WebProcess/Plugins/Netscape/NPJSObject.cpp
623     WebProcess/Plugins/Netscape/NPRuntimeObjectMap.cpp
624     WebProcess/Plugins/Netscape/NPRuntimeUtilities.cpp
625     WebProcess/Plugins/Netscape/NetscapeBrowserFuncs.cpp
626     WebProcess/Plugins/Netscape/NetscapePlugin.cpp
627     WebProcess/Plugins/Netscape/NetscapePluginNone.cpp
628     WebProcess/Plugins/Netscape/NetscapePluginStream.cpp
629
630     WebProcess/Storage/StorageAreaImpl.cpp
631     WebProcess/Storage/StorageAreaMap.cpp
632     WebProcess/Storage/StorageNamespaceImpl.cpp
633     WebProcess/Storage/WebStorageNamespaceProvider.cpp
634
635     WebProcess/UserContent/WebUserContentController.cpp
636
637     WebProcess/WebCoreSupport/SessionStateConversion.cpp
638     WebProcess/WebCoreSupport/WebBatteryClient.cpp
639     WebProcess/WebCoreSupport/WebChromeClient.cpp
640     WebProcess/WebCoreSupport/WebColorChooser.cpp
641     WebProcess/WebCoreSupport/WebContextMenuClient.cpp
642     WebProcess/WebCoreSupport/WebDatabaseManager.cpp
643     WebProcess/WebCoreSupport/WebDeviceProximityClient.cpp
644     WebProcess/WebCoreSupport/WebDiagnosticLoggingClient.cpp
645     WebProcess/WebCoreSupport/WebDragClient.cpp
646     WebProcess/WebCoreSupport/WebEditorClient.cpp
647     WebProcess/WebCoreSupport/WebFrameLoaderClient.cpp
648     WebProcess/WebCoreSupport/WebGeolocationClient.cpp
649     WebProcess/WebCoreSupport/WebInspectorClient.cpp
650     WebProcess/WebCoreSupport/WebNotificationClient.cpp
651     WebProcess/WebCoreSupport/WebPlatformStrategies.cpp
652     WebProcess/WebCoreSupport/WebPlugInClient.cpp
653     WebProcess/WebCoreSupport/WebPopupMenu.cpp
654     WebProcess/WebCoreSupport/WebProgressTrackerClient.cpp
655     WebProcess/WebCoreSupport/WebSearchPopupMenu.cpp
656     WebProcess/WebCoreSupport/WebUserMediaClient.cpp
657     WebProcess/WebCoreSupport/WebVibrationClient.cpp
658
659     WebProcess/WebPage/DrawingArea.cpp
660     WebProcess/WebPage/EventDispatcher.cpp
661     WebProcess/WebPage/FindController.cpp
662     WebProcess/WebPage/LayerTreeHost.cpp
663     WebProcess/WebPage/PageBanner.cpp
664     WebProcess/WebPage/VisitedLinkTableController.cpp
665     WebProcess/WebPage/WebBackForwardListProxy.cpp
666     WebProcess/WebPage/WebContextMenu.cpp
667     WebProcess/WebPage/WebDocumentLoader.cpp
668     WebProcess/WebPage/WebFrame.cpp
669     WebProcess/WebPage/WebInspector.cpp
670     WebProcess/WebPage/WebInspectorFrontendAPIDispatcher.cpp
671     WebProcess/WebPage/WebInspectorUI.cpp
672     WebProcess/WebPage/WebOpenPanelResultListener.cpp
673     WebProcess/WebPage/WebPage.cpp
674     WebProcess/WebPage/WebPageGroupProxy.cpp
675     WebProcess/WebPage/WebPageOverlay.cpp
676     WebProcess/WebPage/WebUndoStep.cpp
677
678
679
680     ${NetworkProcess_COMMON_SOURCES}
681 )
682
683 set(WebKit2_MESSAGES_IN_FILES
684     DatabaseProcess/DatabaseProcess.messages.in
685     DatabaseProcess/DatabaseToWebProcessConnection.messages.in
686
687     DatabaseProcess/IndexedDB/DatabaseProcessIDBConnection.messages.in
688
689     NetworkProcess/NetworkConnectionToWebProcess.messages.in
690     NetworkProcess/NetworkProcess.messages.in
691     NetworkProcess/NetworkResourceLoader.messages.in
692
693     PluginProcess/PluginControllerProxy.messages.in
694     PluginProcess/PluginProcess.messages.in
695     PluginProcess/WebProcessConnection.messages.in
696
697     Shared/ChildProcess.messages.in
698     Shared/WebConnection.messages.in
699
700     Shared/Authentication/AuthenticationManager.messages.in
701
702     Shared/Network/CustomProtocols/CustomProtocolManager.messages.in
703
704     Shared/Plugins/NPObjectMessageReceiver.messages.in
705
706     UIProcess/DrawingAreaProxy.messages.in
707     UIProcess/VisitedLinkStore.messages.in
708     UIProcess/WebBatteryManagerProxy.messages.in
709     UIProcess/WebCookieManagerProxy.messages.in
710     UIProcess/WebDatabaseManagerProxy.messages.in
711     UIProcess/WebFullScreenManagerProxy.messages.in
712     UIProcess/WebGeolocationManagerProxy.messages.in
713     UIProcess/WebIconDatabase.messages.in
714     UIProcess/WebInspectorProxy.messages.in
715     UIProcess/WebMediaCacheManagerProxy.messages.in
716     UIProcess/WebPageProxy.messages.in
717     UIProcess/WebPasteboardProxy.messages.in
718     UIProcess/WebProcessPool.messages.in
719     UIProcess/WebProcessProxy.messages.in
720     UIProcess/WebVibrationProxy.messages.in
721
722     UIProcess/Databases/DatabaseProcessProxy.messages.in
723
724     UIProcess/Downloads/DownloadProxy.messages.in
725
726     UIProcess/Network/NetworkProcessProxy.messages.in
727
728     UIProcess/Network/CustomProtocols/CustomProtocolManagerProxy.messages.in
729
730     UIProcess/Plugins/PluginProcessProxy.messages.in
731
732     UIProcess/Storage/StorageManager.messages.in
733
734     UIProcess/UserContent/WebUserContentControllerProxy.messages.in
735
736     WebProcess/WebProcess.messages.in
737
738     WebProcess/Battery/WebBatteryManager.messages.in
739
740     WebProcess/Cookies/WebCookieManager.messages.in
741
742     WebProcess/Databases/IndexedDB/WebIDBServerConnection.messages.in
743
744     WebProcess/FullScreen/WebFullScreenManager.messages.in
745
746     WebProcess/Geolocation/WebGeolocationManager.messages.in
747
748     WebProcess/IconDatabase/WebIconDatabaseProxy.messages.in
749
750     WebProcess/MediaCache/WebMediaCacheManager.messages.in
751
752     WebProcess/Network/NetworkProcessConnection.messages.in
753     WebProcess/Network/WebResourceLoader.messages.in
754
755     WebProcess/Notifications/WebNotificationManager.messages.in
756
757     WebProcess/Plugins/PluginProcessConnection.messages.in
758     WebProcess/Plugins/PluginProcessConnectionManager.messages.in
759     WebProcess/Plugins/PluginProxy.messages.in
760
761     WebProcess/Storage/StorageAreaMap.messages.in
762
763     WebProcess/UserContent/WebUserContentController.messages.in
764
765     WebProcess/WebCoreSupport/WebDatabaseManager.messages.in
766
767     WebProcess/WebPage/DrawingArea.messages.in
768     WebProcess/WebPage/EventDispatcher.messages.in
769     WebProcess/WebPage/VisitedLinkTableController.messages.in
770     WebProcess/WebPage/WebInspector.messages.in
771     WebProcess/WebPage/WebInspectorUI.messages.in
772     WebProcess/WebPage/WebPage.messages.in
773     WebProcess/WebPage/WebPageGroupProxy.messages.in
774 )
775
776 set(WebProcess_LIBRARIES
777     WebKit2
778 )
779
780 set(NetworkProcess_LIBRARIES
781     WebKit2
782 )
783
784 set(DatabaseProcess_LIBRARIES
785   WebKit2
786 )
787
788 set(WebKit2_LIBRARIES
789     JavaScriptCore
790     WebCore
791 )
792
793 set(PluginProcess_LIBRARIES
794     WebKit2
795 )
796
797 # librt is needed for shm_open on Linux.
798 find_library(LIBRT_LIBRARIES NAMES rt)
799 mark_as_advanced(LIBRT_LIBRARIES)
800 if (LIBRT_LIBRARIES)
801     list(APPEND WebKit2_LIBRARIES ${LIBRT_LIBRARIES})
802 endif ()
803
804 macro(ADD_WEBKIT2_PREFIX_HEADER _target)
805     if (WebKit2_USE_PREFIX_HEADER)
806         get_target_property(OLD_COMPILE_FLAGS ${_target} COMPILE_FLAGS)
807         if (${OLD_COMPILE_FLAGS} STREQUAL "OLD_COMPILE_FLAGS-NOTFOUND")
808             set(OLD_COMPILE_FLAGS "")
809         endif ()
810         set_target_properties(${_target} PROPERTIES COMPILE_FLAGS "${OLD_COMPILE_FLAGS} -include ${WEBKIT2_DIR}/WebKit2Prefix.h")
811     endif ()
812 endmacro()
813
814 WEBKIT_INCLUDE_CONFIG_FILES_IF_EXISTS()
815
816 GENERATE_WEBKIT2_MESSAGE_SOURCES(WebKit2_DERIVED_SOURCES "${WebKit2_MESSAGES_IN_FILES}")
817
818 include_directories(${WebKit2_INCLUDE_DIRECTORIES})
819 include_directories(SYSTEM ${WebKit2_SYSTEM_INCLUDE_DIRECTORIES})
820 add_library(WebKit2 ${WebKit2_LIBRARY_TYPE} ${WebKit2_SOURCES} ${WebKit2_DERIVED_SOURCES})
821
822 add_dependencies(WebKit2 WebCore ${WEBKIT2_EXTRA_DEPENDENCIES})
823 add_webkit2_prefix_header(WebKit2)
824 target_link_libraries(WebKit2 ${WebKit2_LIBRARIES})
825 set_target_properties(WebKit2 PROPERTIES FOLDER "WebKit")
826
827 # Suppress unused parameter warnings for sources in WebKit2.
828 ADD_TARGET_PROPERTIES(WebKit2 COMPILE_FLAGS "-Wno-unused-parameter")
829
830 if (WebKit2_VERSION_SCRIPT)
831     ADD_TARGET_PROPERTIES(WebKit2 LINK_FLAGS "${WebKit2_VERSION_SCRIPT}")
832 endif ()
833
834 if (WebKit2_OUTPUT_NAME)
835     set_target_properties(WebKit2 PROPERTIES OUTPUT_NAME ${WebKit2_OUTPUT_NAME})
836 endif ()
837
838 add_executable(WebProcess ${WebProcess_SOURCES})
839 add_webkit2_prefix_header(WebProcess)
840 target_link_libraries(WebProcess ${WebProcess_LIBRARIES})
841 set_target_properties(WebProcess PROPERTIES FOLDER "WebKit")
842
843 if (WebKit2_WebProcess_OUTPUT_NAME)
844     set_target_properties(WebProcess PROPERTIES OUTPUT_NAME ${WebKit2_WebProcess_OUTPUT_NAME})
845 endif ()
846
847 if (ENABLE_NETWORK_PROCESS)
848     add_executable(NetworkProcess ${NetworkProcess_SOURCES})
849     add_webkit2_prefix_header(NetworkProcess)
850     target_link_libraries(NetworkProcess ${NetworkProcess_LIBRARIES})
851     set_target_properties(NetworkProcess PROPERTIES FOLDER "WebKit")
852     install(TARGETS NetworkProcess DESTINATION "${LIBEXEC_INSTALL_DIR}")
853
854     if (WebKit2_NetworkProcess_OUTPUT_NAME)
855         set_target_properties(NetworkProcess PROPERTIES OUTPUT_NAME ${WebKit2_NetworkProcess_OUTPUT_NAME})
856     endif ()
857 endif ()
858
859 if (ENABLE_PLUGIN_PROCESS)
860     add_definitions(-DENABLE_PLUGIN_PROCESS=1)
861     add_executable(PluginProcess ${PluginProcess_SOURCES})
862     add_webkit2_prefix_header(PluginProcess)
863     target_link_libraries(PluginProcess ${PluginProcess_LIBRARIES})
864     set_target_properties(PluginProcess PROPERTIES FOLDER "WebKit")
865     install(TARGETS PluginProcess DESTINATION "${LIBEXEC_INSTALL_DIR}")
866
867     if (WebKit2_PluginProcess_OUTPUT_NAME)
868       set_target_properties(PluginProcess PROPERTIES OUTPUT_NAME ${WebKit2_PluginProcess_OUTPUT_NAME})
869     endif ()
870 endif ()
871
872 if (ENABLE_DATABASE_PROCESS)
873     add_definitions(-DENABLE_DATABASE_PROCESS=1)
874     add_executable(DatabaseProcess ${DatabaseProcess_SOURCES})
875     add_webkit2_prefix_header(DatabaseProcess)
876     target_link_libraries(DatabaseProcess ${DatabaseProcess_LIBRARIES})
877     set_target_properties(DatabaseProcess PROPERTIES FOLDER "WebKit")
878     install(TARGETS DatabaseProcess DESTINATION "${LIBEXEC_INSTALL_DIR}")
879
880     if (WebKit2_DatabaseProcess_OUTPUT_NAME)
881         set_target_properties(DatabaseProcess PROPERTIES OUTPUT_NAME ${WebKit2_DatabaseProcess_OUTPUT_NAME})
882     endif ()
883 endif ()
884
885 POPULATE_LIBRARY_VERSION(WEBKIT2)
886 set_target_properties(WebKit2 PROPERTIES VERSION ${WEBKIT2_VERSION} SOVERSION ${WEBKIT2_VERSION_MAJOR})
887
888 if (APPLE)
889     WEBKIT_FRAMEWORK(WebKit2)
890 else ()
891     install(TARGETS WebKit2 WebProcess
892         LIBRARY DESTINATION "${LIB_INSTALL_DIR}"
893         RUNTIME DESTINATION "${LIBEXEC_INSTALL_DIR}"
894     )
895 endif ()