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