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