Don't use CStrings for message receiver names and message names
[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
222     Shared/Plugins/NPIdentifierData.cpp
223     Shared/Plugins/NPObjectMessageReceiver.cpp
224     Shared/Plugins/NPObjectProxy.cpp
225     Shared/Plugins/NPRemoteObjectMap.cpp
226     Shared/Plugins/NPVariantData.cpp
227     Shared/Plugins/PluginModuleInfo.cpp
228     Shared/Plugins/PluginProcessCreationParameters.cpp
229
230     Shared/Plugins/Netscape/NetscapePluginModule.cpp
231     Shared/Plugins/Netscape/NetscapePluginModuleNone.cpp
232
233     UIProcess/BackingStore.cpp
234     UIProcess/DrawingAreaProxy.cpp
235     UIProcess/DrawingAreaProxyImpl.cpp
236     UIProcess/FindIndicator.cpp
237     UIProcess/GeolocationPermissionRequestManagerProxy.cpp
238     UIProcess/GeolocationPermissionRequestProxy.cpp
239
240     UIProcess/ResponsivenessTimer.cpp
241     UIProcess/VisitedLinkProvider.cpp
242     UIProcess/WebApplicationCacheManagerProxy.cpp
243     UIProcess/WebBackForwardList.cpp
244     UIProcess/WebBatteryManagerProxy.cpp
245     UIProcess/WebBatteryProvider.cpp
246     UIProcess/WebColorChooserProxy.cpp
247     UIProcess/WebColorPickerResultListenerProxy.cpp
248     UIProcess/WebConnectionToWebProcess.cpp
249     UIProcess/WebContext.cpp
250     UIProcess/WebContextConnectionClient.cpp
251     UIProcess/WebContextInjectedBundleClient.cpp
252     UIProcess/WebContextMenuProxy.cpp
253     UIProcess/WebCookieManagerProxy.cpp
254     UIProcess/WebCookieManagerProxyClient.cpp
255     UIProcess/WebDatabaseManagerProxy.cpp
256     UIProcess/WebDatabaseManagerProxyClient.cpp
257     UIProcess/WebDownloadClient.cpp
258     UIProcess/WebEditCommandProxy.cpp
259     UIProcess/WebFindClient.cpp
260     UIProcess/WebFormClient.cpp
261     UIProcess/WebFormSubmissionListenerProxy.cpp
262     UIProcess/WebFrameListenerProxy.cpp
263     UIProcess/WebFramePolicyListenerProxy.cpp
264     UIProcess/WebFrameProxy.cpp
265     UIProcess/WebFullScreenManagerProxy.cpp
266     UIProcess/WebGeolocationManagerProxy.cpp
267     UIProcess/WebGeolocationProvider.cpp
268     UIProcess/WebGrammarDetail.cpp
269     UIProcess/WebHistoryClient.cpp
270     UIProcess/WebIconDatabase.cpp
271     UIProcess/WebIconDatabaseClient.cpp
272     UIProcess/WebInspectorProxy.cpp
273     UIProcess/WebIntentData.cpp
274     UIProcess/WebKeyValueStorageManagerProxy.cpp
275
276     UIProcess/WebLoaderClient.cpp
277     UIProcess/WebMediaCacheManagerProxy.cpp
278     UIProcess/WebNavigationData.cpp
279     UIProcess/WebNetworkInfoManagerProxy.cpp
280     UIProcess/WebNetworkInfoProvider.cpp
281     UIProcess/WebOpenPanelResultListenerProxy.cpp
282     UIProcess/WebPageContextMenuClient.cpp
283     UIProcess/WebPageGroup.cpp
284     UIProcess/WebPageProxy.cpp
285     UIProcess/WebPolicyClient.cpp
286     UIProcess/WebPreferences.cpp
287     UIProcess/WebProcessProxy.cpp
288     UIProcess/WebResourceCacheManagerProxy.cpp
289     UIProcess/WebResourceLoadClient.cpp
290     UIProcess/WebTextChecker.cpp
291     UIProcess/WebTextCheckerClient.cpp
292     UIProcess/WebUIClient.cpp
293     UIProcess/WebVibrationProvider.cpp
294     UIProcess/WebVibrationProxy.cpp
295
296     UIProcess/API/C/WKApplicationCacheManager.cpp
297     UIProcess/API/C/WKAuthenticationChallenge.cpp
298     UIProcess/API/C/WKAuthenticationDecisionListener.cpp
299     UIProcess/API/C/WKBackForwardList.cpp
300     UIProcess/API/C/WKBackForwardListItem.cpp
301     UIProcess/API/C/WKBatteryManager.cpp
302     UIProcess/API/C/WKBatteryStatus.cpp
303     UIProcess/API/C/WKColorPickerResultListener.cpp
304     UIProcess/API/C/WKContext.cpp
305     UIProcess/API/C/WKCookieManager.cpp
306     UIProcess/API/C/WKCredential.cpp
307     UIProcess/API/C/WKDatabaseManager.cpp
308     UIProcess/API/C/WKDownload.cpp
309     UIProcess/API/C/WKFormSubmissionListener.cpp
310     UIProcess/API/C/WKFrame.cpp
311     UIProcess/API/C/WKFramePolicyListener.cpp
312     UIProcess/API/C/WKGeolocationManager.cpp
313     UIProcess/API/C/WKGeolocationPermissionRequest.cpp
314     UIProcess/API/C/WKGeolocationPosition.cpp
315     UIProcess/API/C/WKGrammarDetail.cpp
316     UIProcess/API/C/WKHitTestResult.cpp
317     UIProcess/API/C/WKIconDatabase.cpp
318     UIProcess/API/C/WKInspector.cpp
319     UIProcess/API/C/WKIntentData.cpp
320     UIProcess/API/C/WKIntentServiceInfo.cpp
321     UIProcess/API/C/WKKeyValueStorageManager.cpp
322     UIProcess/API/C/WKMediaCacheManager.cpp
323     UIProcess/API/C/WKNavigationData.cpp
324     UIProcess/API/C/WKNetworkInfo.cpp
325     UIProcess/API/C/WKNetworkInfoManager.cpp
326     UIProcess/API/C/WKNotification.cpp
327     UIProcess/API/C/WKNotificationManager.cpp
328     UIProcess/API/C/WKNotificationPermissionRequest.cpp
329     UIProcess/API/C/WKOpenPanelParameters.cpp
330     UIProcess/API/C/WKOpenPanelResultListener.cpp
331     UIProcess/API/C/WKPage.cpp
332     UIProcess/API/C/WKPageGroup.cpp
333     UIProcess/API/C/WKPluginSiteDataManager.cpp
334     UIProcess/API/C/WKPreferences.cpp
335     UIProcess/API/C/WKProtectionSpace.cpp
336     UIProcess/API/C/WKResourceCacheManager.cpp
337     UIProcess/API/C/WKTextChecker.cpp
338     UIProcess/API/C/WKVibration.cpp
339
340     UIProcess/Authentication/AuthenticationChallengeProxy.cpp
341     UIProcess/Authentication/AuthenticationDecisionListener.cpp
342     UIProcess/Authentication/WebCredential.cpp
343     UIProcess/Authentication/WebProtectionSpace.cpp
344
345     UIProcess/CoordinatedGraphics/CoordinatedBackingStore.cpp
346     UIProcess/CoordinatedGraphics/LayerTreeCoordinatorProxy.cpp
347     UIProcess/CoordinatedGraphics/LayerTreeRenderer.cpp
348     
349     UIProcess/Downloads/DownloadProxy.cpp
350
351     UIProcess/InspectorServer/WebInspectorServer.cpp
352     UIProcess/InspectorServer/WebSocketServer.cpp
353     UIProcess/InspectorServer/WebSocketServerConnection.cpp
354
355     UIProcess/Launcher/ProcessLauncher.cpp
356
357     UIProcess/Notifications/NotificationPermissionRequest.cpp
358     UIProcess/Notifications/NotificationPermissionRequestManagerProxy.cpp
359     UIProcess/Notifications/WebNotification.cpp
360     UIProcess/Notifications/WebNotificationManagerProxy.cpp
361     UIProcess/Notifications/WebNotificationProvider.cpp
362
363     UIProcess/Plugins/PluginInfoStore.cpp
364     UIProcess/Plugins/PluginProcessManager.cpp
365     UIProcess/Plugins/PluginProcessProxy.cpp
366     UIProcess/Plugins/WebPluginSiteDataManager.cpp
367
368     WebProcess/WebConnectionToUIProcess.cpp
369     WebProcess/WebProcess.cpp
370
371     WebProcess/ApplicationCache/WebApplicationCacheManager.cpp
372
373     WebProcess/Authentication/AuthenticationManager.cpp
374
375     WebProcess/Battery/WebBatteryManager.cpp
376
377     WebProcess/Cookies/WebCookieManager.cpp
378
379     WebProcess/Downloads/Download.cpp
380     WebProcess/Downloads/DownloadAuthenticationClient.cpp
381     WebProcess/Downloads/DownloadManager.cpp
382
383     WebProcess/FullScreen/WebFullScreenManager.cpp
384
385     WebProcess/Geolocation/GeolocationPermissionRequestManager.cpp
386     WebProcess/Geolocation/WebGeolocationManager.cpp
387
388     WebProcess/IconDatabase/WebIconDatabaseProxy.cpp
389
390     WebProcess/InjectedBundle/InjectedBundle.cpp
391     WebProcess/InjectedBundle/InjectedBundleBackForwardList.cpp
392     WebProcess/InjectedBundle/InjectedBundleBackForwardListItem.cpp
393     WebProcess/InjectedBundle/InjectedBundleClient.cpp
394     WebProcess/InjectedBundle/InjectedBundleDOMWindowExtension.cpp
395     WebProcess/InjectedBundle/InjectedBundleHitTestResult.cpp
396     WebProcess/InjectedBundle/InjectedBundleIntent.cpp
397     WebProcess/InjectedBundle/InjectedBundleIntentRequest.cpp
398     WebProcess/InjectedBundle/InjectedBundleNavigationAction.cpp
399     WebProcess/InjectedBundle/InjectedBundlePageDiagnosticLoggingClient.cpp
400     WebProcess/InjectedBundle/InjectedBundlePageContextMenuClient.cpp
401     WebProcess/InjectedBundle/InjectedBundlePageEditorClient.cpp
402     WebProcess/InjectedBundle/InjectedBundlePageFormClient.cpp
403     WebProcess/InjectedBundle/InjectedBundlePageFullScreenClient.cpp
404     WebProcess/InjectedBundle/InjectedBundlePageLoaderClient.cpp
405     WebProcess/InjectedBundle/InjectedBundlePagePolicyClient.cpp
406     WebProcess/InjectedBundle/InjectedBundlePageResourceLoadClient.cpp
407     WebProcess/InjectedBundle/InjectedBundlePageUIClient.cpp
408     WebProcess/InjectedBundle/InjectedBundleScriptWorld.cpp
409
410     WebProcess/InjectedBundle/API/c/WKBundle.cpp
411     WebProcess/InjectedBundle/API/c/WKBundleBackForwardList.cpp
412     WebProcess/InjectedBundle/API/c/WKBundleBackForwardListItem.cpp
413     WebProcess/InjectedBundle/API/c/WKBundleDOMWindowExtension.cpp
414     WebProcess/InjectedBundle/API/c/WKBundleFrame.cpp
415     WebProcess/InjectedBundle/API/c/WKBundleHitTestResult.cpp
416     WebProcess/InjectedBundle/API/c/WKBundleInspector.cpp
417     WebProcess/InjectedBundle/API/c/WKBundleIntent.cpp
418     WebProcess/InjectedBundle/API/c/WKBundleIntentRequest.cpp
419     WebProcess/InjectedBundle/API/c/WKBundleNavigationAction.cpp
420     WebProcess/InjectedBundle/API/c/WKBundleNodeHandle.cpp
421     WebProcess/InjectedBundle/API/c/WKBundlePage.cpp
422     WebProcess/InjectedBundle/API/c/WKBundlePageGroup.cpp
423     WebProcess/InjectedBundle/API/c/WKBundlePageOverlay.cpp
424     WebProcess/InjectedBundle/API/c/WKBundleRangeHandle.cpp
425     WebProcess/InjectedBundle/API/c/WKBundleScriptWorld.cpp
426
427     WebProcess/InjectedBundle/DOM/InjectedBundleNodeHandle.cpp
428     WebProcess/InjectedBundle/DOM/InjectedBundleRangeHandle.cpp
429
430     WebProcess/KeyValueStorage/WebKeyValueStorageManager.cpp
431
432     WebProcess/MediaCache/WebMediaCacheManager.cpp
433
434     WebProcess/NetworkInfo/WebNetworkInfoManager.cpp
435
436     WebProcess/Notifications/NotificationPermissionRequestManager.cpp
437     WebProcess/Notifications/WebNotificationManager.cpp
438
439     WebProcess/Plugins/Plugin.cpp
440     WebProcess/Plugins/PluginProcessConnection.cpp
441     WebProcess/Plugins/PluginProcessConnectionManager.cpp
442     WebProcess/Plugins/PluginProxy.cpp
443     WebProcess/Plugins/PluginView.cpp
444
445     WebProcess/Plugins/Netscape/JSNPMethod.cpp
446     WebProcess/Plugins/Netscape/JSNPObject.cpp
447     WebProcess/Plugins/Netscape/NPJSObject.cpp
448     WebProcess/Plugins/Netscape/NPRuntimeObjectMap.cpp
449     WebProcess/Plugins/Netscape/NPRuntimeUtilities.cpp
450     WebProcess/Plugins/Netscape/NetscapeBrowserFuncs.cpp
451     WebProcess/Plugins/Netscape/NetscapePlugin.cpp
452     WebProcess/Plugins/Netscape/NetscapePluginNone.cpp
453     WebProcess/Plugins/Netscape/NetscapePluginStream.cpp
454
455     WebProcess/ResourceCache/WebResourceCacheManager.cpp
456
457     WebProcess/WebCoreSupport/WebBatteryClient.cpp
458     WebProcess/WebCoreSupport/WebChromeClient.cpp
459     WebProcess/WebCoreSupport/WebColorChooser.cpp
460     WebProcess/WebCoreSupport/WebContextMenuClient.cpp
461     WebProcess/WebCoreSupport/WebDatabaseManager.cpp
462     WebProcess/WebCoreSupport/WebDragClient.cpp
463     WebProcess/WebCoreSupport/WebEditorClient.cpp
464     WebProcess/WebCoreSupport/WebFrameLoaderClient.cpp
465     WebProcess/WebCoreSupport/WebGeolocationClient.cpp
466     WebProcess/WebCoreSupport/WebInspectorClient.cpp
467     WebProcess/WebCoreSupport/WebInspectorFrontendClient.cpp
468     WebProcess/WebCoreSupport/WebNetworkInfoClient.cpp
469     WebProcess/WebCoreSupport/WebNotificationClient.cpp
470     WebProcess/WebCoreSupport/WebPlatformStrategies.cpp
471     WebProcess/WebCoreSupport/WebPopupMenu.cpp
472     WebProcess/WebCoreSupport/WebSearchPopupMenu.cpp
473     WebProcess/WebCoreSupport/WebVibrationClient.cpp
474
475     WebProcess/WebPage/DecoderAdapter.cpp
476     WebProcess/WebPage/DrawingArea.cpp
477     WebProcess/WebPage/DrawingAreaImpl.cpp
478     WebProcess/WebPage/EncoderAdapter.cpp
479     WebProcess/WebPage/EventDispatcher.cpp
480     WebProcess/WebPage/FindController.cpp
481
482     WebProcess/WebPage/AreaAllocator.cpp
483     WebProcess/WebPage/LayerTreeHost.cpp
484     WebProcess/WebPage/PageOverlay.cpp
485     WebProcess/WebPage/TapHighlightController.cpp
486     WebProcess/WebPage/UpdateAtlas.cpp
487     WebProcess/WebPage/WebBackForwardListProxy.cpp
488     WebProcess/WebPage/WebContextMenu.cpp
489     WebProcess/WebPage/WebFrame.cpp
490     WebProcess/WebPage/WebInspector.cpp
491     WebProcess/WebPage/WebOpenPanelResultListener.cpp
492     WebProcess/WebPage/WebPage.cpp
493     WebProcess/WebPage/WebPageGroupProxy.cpp
494     WebProcess/WebPage/WebUndoStep.cpp
495
496     WebProcess/WebPage/CoordinatedGraphics/CoordinatedGraphicsLayer.cpp
497     WebProcess/WebPage/CoordinatedGraphics/CoordinatedTile.cpp
498     WebProcess/WebPage/CoordinatedGraphics/LayerTreeCoordinator.cpp
499 )
500
501 SET(WebKit2_MESSAGES_IN_FILES
502     PluginProcess/PluginControllerProxy.messages.in
503     PluginProcess/PluginProcess.messages.in
504     PluginProcess/WebProcessConnection.messages.in
505
506     Shared/WebConnection.messages.in
507
508     Shared/Plugins/NPObjectMessageReceiver.messages.in
509
510     UIProcess/DrawingAreaProxy.messages.in
511     UIProcess/WebApplicationCacheManagerProxy.messages.in
512     UIProcess/WebBatteryManagerProxy.messages.in
513     UIProcess/WebContext.messages.in
514     UIProcess/WebCookieManagerProxy.messages.in
515     UIProcess/WebDatabaseManagerProxy.messages.in
516     UIProcess/WebFullScreenManagerProxy.messages.in
517     UIProcess/WebGeolocationManagerProxy.messages.in
518     UIProcess/WebIconDatabase.messages.in
519     UIProcess/WebInspectorProxy.messages.in
520     UIProcess/WebKeyValueStorageManagerProxy.messages.in
521     UIProcess/WebMediaCacheManagerProxy.messages.in
522     UIProcess/WebNetworkInfoManagerProxy.messages.in
523     UIProcess/WebPageProxy.messages.in
524     UIProcess/WebProcessProxy.messages.in
525     UIProcess/WebResourceCacheManagerProxy.messages.in
526     UIProcess/WebVibrationProxy.messages.in
527
528
529     UIProcess/CoordinatedGraphics/LayerTreeCoordinatorProxy.messages.in
530     
531     UIProcess/Downloads/DownloadProxy.messages.in
532
533     UIProcess/Notifications/WebNotificationManagerProxy.messages.in
534
535     UIProcess/Plugins/PluginProcessProxy.messages.in
536
537     WebProcess/WebProcess.messages.in
538
539     WebProcess/ApplicationCache/WebApplicationCacheManager.messages.in
540
541     WebProcess/Authentication/AuthenticationManager.messages.in
542
543     WebProcess/Battery/WebBatteryManager.messages.in
544
545     WebProcess/Cookies/WebCookieManager.messages.in
546
547     WebProcess/FullScreen/WebFullScreenManager.messages.in
548
549     WebProcess/Geolocation/WebGeolocationManager.messages.in
550
551     WebProcess/IconDatabase/WebIconDatabaseProxy.messages.in
552
553     WebProcess/KeyValueStorage/WebKeyValueStorageManager.messages.in
554
555     WebProcess/MediaCache/WebMediaCacheManager.messages.in
556
557     WebProcess/NetworkInfo/WebNetworkInfoManager.messages.in
558
559     WebProcess/Notifications/WebNotificationManager.messages.in
560
561     WebProcess/Plugins/PluginProcessConnection.messages.in
562     WebProcess/Plugins/PluginProxy.messages.in
563
564     WebProcess/ResourceCache/WebResourceCacheManager.messages.in
565
566     WebProcess/WebCoreSupport/WebDatabaseManager.messages.in
567
568     WebProcess/WebPage/DrawingArea.messages.in
569     WebProcess/WebPage/EventDispatcher.messages.in
570     WebProcess/WebPage/WebInspector.messages.in
571     WebProcess/WebPage/WebPage.messages.in
572     WebProcess/WebPage/WebPageGroupProxy.messages.in
573
574     WebProcess/WebPage/CoordinatedGraphics/LayerTreeCoordinator.messages.in
575 )
576
577 SET(WebProcess_EXECUTABLE_NAME WebProcess)
578
579 SET(WebProcess_LIBRARIES
580     ${JavaScriptCore_LIBRARY_NAME}
581     ${WebCore_LIBRARY_NAME}
582     ${WebKit2_LIBRARY_NAME}
583 )
584
585 SET(WebKit2_LIBRARIES
586     ${WebCore_LIBRARY_NAME}
587 )
588
589 WEBKIT_INCLUDE_CONFIG_FILES_IF_EXISTS()
590
591 # Create JavaScript C++ code given an IDL input
592 FOREACH (_file ${WebKit2_MESSAGES_IN_FILES})
593     GET_FILENAME_COMPONENT (_name ${_file} NAME_WE)
594     ADD_CUSTOM_COMMAND(
595         OUTPUT ${DERIVED_SOURCES_WEBKIT2_DIR}/${_name}MessageReceiver.cpp ${DERIVED_SOURCES_WEBKIT2_DIR}/${_name}Messages.h
596         MAIN_DEPENDENCY ${_file}
597         DEPENDS ${WEBKIT2_DIR}/Scripts/webkit2/__init__.py
598                 ${WEBKIT2_DIR}/Scripts/webkit2/messages.py
599                 ${WEBKIT2_DIR}/Scripts/webkit2/model.py
600                 ${WEBKIT2_DIR}/Scripts/webkit2/parser.py
601         COMMAND ${PYTHON_EXECUTABLE} ${WEBKIT2_DIR}/Scripts/generate-message-receiver.py ${_file} > ${DERIVED_SOURCES_WEBKIT2_DIR}/${_name}MessageReceiver.cpp
602         COMMAND ${PYTHON_EXECUTABLE} ${WEBKIT2_DIR}/Scripts/generate-messages-header.py ${_file} > ${DERIVED_SOURCES_WEBKIT2_DIR}/${_name}Messages.h
603         WORKING_DIRECTORY ${WEBKIT2_DIR}
604         VERBATIM)
605
606     LIST(APPEND WebKit2_SOURCES ${DERIVED_SOURCES_WEBKIT2_DIR}/${_name}MessageReceiver.cpp)
607 ENDFOREACH ()
608
609 ADD_DEFINITIONS(-DBUILDING_WEBKIT)
610 INCLUDE_DIRECTORIES(${WebKit2_INCLUDE_DIRECTORIES})
611 ADD_LIBRARY(${WebKit2_LIBRARY_NAME} ${WebKit2_LIBRARY_TYPE} ${WebKit2_SOURCES})
612
613 ADD_DEPENDENCIES(${WebKit2_LIBRARY_NAME} ${WebCore_LIBRARY_NAME})
614 ADD_DEPENDENCIES(${WebKit2_LIBRARY_NAME} ${ForwardingHeaders_NAME})
615 ADD_DEPENDENCIES(${WebKit2_LIBRARY_NAME} ${ForwardingNetworkHeaders_NAME})
616 TARGET_LINK_LIBRARIES(${WebKit2_LIBRARY_NAME} ${WebKit2_LIBRARIES})
617 SET_TARGET_PROPERTIES(${WebKit2_LIBRARY_NAME} PROPERTIES FOLDER "WebKit")
618 SET_TARGET_PROPERTIES(${WebKit2_LIBRARY_NAME} PROPERTIES LINK_INTERFACE_LIBRARIES "")
619
620 ADD_EXECUTABLE(${WebProcess_EXECUTABLE_NAME} ${WebProcess_SOURCES})
621 TARGET_LINK_LIBRARIES(${WebProcess_EXECUTABLE_NAME} ${WebProcess_LIBRARIES})
622 SET_TARGET_PROPERTIES(${WebProcess_EXECUTABLE_NAME} PROPERTIES FOLDER "WebKit")
623
624 SET_TARGET_PROPERTIES(${WebKit2_LIBRARY_NAME} PROPERTIES VERSION ${PROJECT_VERSION} SOVERSION ${PROJECT_VERSION_MAJOR})
625
626 INSTALL(TARGETS ${WebKit2_LIBRARY_NAME} DESTINATION "${LIB_INSTALL_DIR}")
627 INSTALL(TARGETS ${WebProcess_EXECUTABLE_NAME} DESTINATION "${EXEC_INSTALL_DIR}")