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