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