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