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