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