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