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