Fixed a problem that image is reduced when use drag operation.
[framework/web/webkit-efl.git] / Source / WebKit2 / CMakeLists.txt
1 SET(WebKit2StaticForDebug_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/Plugins"
12     "${WEBKIT2_DIR}/Shared/Plugins/Netscape"
13     "${WEBKIT2_DIR}/Shared/Plugins/Netscape/x11"
14     "${WEBKIT2_DIR}/UIProcess"
15     "${WEBKIT2_DIR}/UIProcess/API"
16     "${WEBKIT2_DIR}/UIProcess/API/C"
17     "${WEBKIT2_DIR}/UIProcess/API/cpp"
18     "${WEBKIT2_DIR}/UIProcess/Authentication"
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/LayerTreeCoordinator"
47     "${WEBCORE_DIR}"
48     "${WEBCORE_DIR}/Modules/battery"
49     "${WEBCORE_DIR}/Modules/intents"
50     "${WEBCORE_DIR}/Modules/networkinfo"
51     "${WEBCORE_DIR}/Modules/vibration"
52     "${WEBCORE_DIR}/accessibility"
53     "${WEBCORE_DIR}/bindings/js"
54     "${WEBCORE_DIR}/bindings"
55     "${WEBCORE_DIR}/bridge"
56     "${WEBCORE_DIR}/bridge/jsc"
57     "${WEBCORE_DIR}/css"
58     "${WEBCORE_DIR}/dom"
59     "${WEBCORE_DIR}/editing"
60     "${WEBCORE_DIR}/history"
61     "${WEBCORE_DIR}/html"
62     "${WEBCORE_DIR}/html/shadow"
63     "${WEBCORE_DIR}/html/track"
64     "${WEBCORE_DIR}/inspector"
65     "${WEBCORE_DIR}/loader"
66     "${WEBCORE_DIR}/loader/archive"
67     "${WEBCORE_DIR}/loader/icon"
68     "${WEBCORE_DIR}/loader/cache"
69     "${WEBCORE_DIR}/page"
70     "${WEBCORE_DIR}/page/animation"
71     "${WEBCORE_DIR}/platform"
72     "${WEBCORE_DIR}/platform/animation"
73     "${WEBCORE_DIR}/platform/audio"
74     "${WEBCORE_DIR}/platform/graphics"
75     "${WEBCORE_DIR}/platform/graphics/filters"
76     "${WEBCORE_DIR}/platform/graphics/opengl"
77     "${WEBCORE_DIR}/platform/graphics/texmap"
78     "${WEBCORE_DIR}/platform/graphics/harfbuzz"
79     "${WEBCORE_DIR}/platform/graphics/harfbuzz/ng"
80     "${WEBCORE_DIR}/platform/graphics/transforms"
81     "${WEBCORE_DIR}/platform/gtk"
82     "${WEBCORE_DIR}/platform/network"
83     "${WEBCORE_DIR}/platform/sql"
84     "${WEBCORE_DIR}/platform/text"
85     "${WEBCORE_DIR}/plugins"
86     "${WEBCORE_DIR}/rendering"
87     "${WEBCORE_DIR}/rendering/style"
88     "${WEBCORE_DIR}/storage"
89     "${WEBCORE_DIR}/svg"
90     "${WEBCORE_DIR}/svg/graphics"
91     "${WEBCORE_DIR}/svg/properties"
92     "${JAVASCRIPTCORE_DIR}"
93     "${JAVASCRIPTCORE_DIR}/ForwardingHeaders"
94     "${JAVASCRIPTCORE_DIR}/API"
95     "${JAVASCRIPTCORE_DIR}/assembler"
96     "${JAVASCRIPTCORE_DIR}/bytecode"
97     "${JAVASCRIPTCORE_DIR}/bytecompiler"
98     "${JAVASCRIPTCORE_DIR}/collector/handles"
99     "${JAVASCRIPTCORE_DIR}/dfg"
100     "${JAVASCRIPTCORE_DIR}/disassembler"
101     "${JAVASCRIPTCORE_DIR}/heap"
102     "${JAVASCRIPTCORE_DIR}/interpreter"
103     "${JAVASCRIPTCORE_DIR}/jit"
104     "${JAVASCRIPTCORE_DIR}/llint"
105     "${JAVASCRIPTCORE_DIR}/parser"
106     "${JAVASCRIPTCORE_DIR}/profiler"
107     "${JAVASCRIPTCORE_DIR}/runtime"
108     "${WTF_DIR}"
109     "${WTF_DIR}/wtf"
110     "${DERIVED_SOURCES_DIR}"
111     "${DERIVED_SOURCES_DIR}/ForwardingHeaders"
112     "${DERIVED_SOURCES_WEBCORE_DIR}"
113     "${DERIVED_SOURCES_WEBKIT2_DIR}"
114     "${DERIVED_SOURCES_WEBKIT2_DIR}/include"
115     "${CMAKE_BINARY_DIR}"
116     "${CMAKE_SOURCE_DIR}/Source"
117 )
118
119 SET(WebKit2_INCLUDE_DIRECTORIES
120     ${WebKit2StaticForDebug_INCLUDE_DIRECTORIES}
121 )
122
123 SET(WebKit2StaticForDebug_SOURCES
124     Platform/Logging.cpp
125     Platform/Module.cpp
126     Platform/WorkQueue.cpp
127
128     Platform/CoreIPC/ArgumentCoders.cpp
129     Platform/CoreIPC/ArgumentDecoder.cpp
130     Platform/CoreIPC/ArgumentEncoder.cpp
131     Platform/CoreIPC/Attachment.cpp
132     Platform/CoreIPC/BinarySemaphore.cpp
133     Platform/CoreIPC/Connection.cpp
134     Platform/CoreIPC/DataReference.cpp
135
136     PluginProcess/PluginControllerProxy.cpp
137     PluginProcess/PluginCreationParameters.cpp
138     PluginProcess/PluginProcess.cpp
139     PluginProcess/WebProcessConnection.cpp
140
141     Shared/APIClientTraits.cpp
142     Shared/APIObject.cpp
143     Shared/ChildProcess.cpp
144     Shared/DictionaryPopupInfo.cpp
145     Shared/EditorState.cpp
146     Shared/FontInfo.cpp
147     Shared/ImmutableArray.cpp
148     Shared/ImmutableDictionary.cpp
149     Shared/IntentData.cpp
150     Shared/IntentServiceInfo.cpp
151     Shared/MutableArray.cpp
152     Shared/MutableDictionary.cpp
153     Shared/OriginAndDatabases.cpp
154     Shared/PlatformPopupMenuData.cpp
155     Shared/PrintInfo.cpp
156     Shared/SecurityOriginData.cpp
157     Shared/SessionState.cpp
158     Shared/ShareableBitmap.cpp
159     Shared/ShareableSurface.cpp
160     Shared/StatisticsData.cpp
161     Shared/SurfaceUpdateInfo.cpp
162     Shared/UpdateInfo.cpp
163     Shared/VisitedLinkTable.cpp
164     Shared/WebBackForwardListItem.cpp
165     Shared/WebBatteryStatus.cpp
166     Shared/WebConnection.cpp
167     Shared/WebConnectionClient.cpp
168     Shared/WebContextMenuItem.cpp
169     Shared/WebContextMenuItemData.cpp
170     Shared/WebCoreArgumentCoders.cpp
171     Shared/WebError.cpp
172     Shared/WebEvent.cpp
173     Shared/WebEventConversion.cpp
174     Shared/WebGeolocationPosition.cpp
175     Shared/WebGestureEvent.cpp
176     Shared/WebGraphicsContext.cpp
177     Shared/WebHitTestResult.cpp
178     Shared/WebImage.cpp
179     Shared/WebIntentData.cpp
180     Shared/WebIntentServiceInfo.cpp
181     Shared/WebKeyboardEvent.cpp
182     Shared/WebLayerTreeInfo.cpp
183     Shared/WebMemorySampler.cpp
184     Shared/WebMouseEvent.cpp
185     Shared/WebNetworkInfo.cpp
186     Shared/WebOpenPanelParameters.cpp
187     Shared/WebPageCreationParameters.cpp
188     Shared/WebPageGroupData.cpp
189     Shared/WebPlatformTouchPoint.cpp
190     Shared/WebPopupItem.cpp
191     Shared/WebPreferencesStore.cpp
192     Shared/WebProcessCreationParameters.cpp
193     Shared/WebRenderLayer.cpp
194     Shared/WebRenderObject.cpp
195     Shared/WebTouchEvent.cpp
196     Shared/WebURLRequest.cpp
197     Shared/WebURLResponse.cpp
198     Shared/WebWheelEvent.cpp
199
200     Shared/API/c/WKArray.cpp
201     Shared/API/c/WKCertificateInfo.cpp
202     Shared/API/c/WKConnectionRef.cpp
203     Shared/API/c/WKContextMenuItem.cpp
204     Shared/API/c/WKData.cpp
205     Shared/API/c/WKDictionary.cpp
206     Shared/API/c/WKError.cpp
207     Shared/API/c/WKGeometry.cpp
208     Shared/API/c/WKGraphicsContext.cpp
209     Shared/API/c/WKImage.cpp
210     Shared/API/c/WKMutableArray.cpp
211     Shared/API/c/WKMutableDictionary.cpp
212     Shared/API/c/WKNumber.cpp
213     Shared/API/c/WKRenderLayer.cpp
214     Shared/API/c/WKRenderObject.cpp
215     Shared/API/c/WKSecurityOrigin.cpp
216     Shared/API/c/WKSerializedScriptValue.cpp
217     Shared/API/c/WKString.cpp
218     Shared/API/c/WKType.cpp
219     Shared/API/c/WKURL.cpp
220     Shared/API/c/WKURLRequest.cpp
221     Shared/API/c/WKURLResponse.cpp
222     Shared/API/c/WKUserContentURLPattern.cpp
223
224     Shared/CoordinatedGraphics/CoordinatedGraphicsArgumentCoders.cpp
225
226     Shared/Plugins/NPIdentifierData.cpp
227     Shared/Plugins/NPObjectMessageReceiver.cpp
228     Shared/Plugins/NPObjectProxy.cpp
229     Shared/Plugins/NPRemoteObjectMap.cpp
230     Shared/Plugins/NPVariantData.cpp
231     Shared/Plugins/PluginModuleInfo.cpp
232     Shared/Plugins/PluginProcessCreationParameters.cpp
233
234     Shared/Plugins/Netscape/NetscapePluginModule.cpp
235     Shared/Plugins/Netscape/NetscapePluginModuleNone.cpp
236
237     UIProcess/BackingStore.cpp
238     UIProcess/DrawingAreaProxy.cpp
239     UIProcess/DrawingAreaProxyImpl.cpp
240     UIProcess/FindIndicator.cpp
241     UIProcess/GeolocationPermissionRequestManagerProxy.cpp
242     UIProcess/GeolocationPermissionRequestProxy.cpp
243     UIProcess/LayerTreeCoordinatorProxy.cpp
244     UIProcess/ResponsivenessTimer.cpp
245     UIProcess/VisitedLinkProvider.cpp
246     UIProcess/WebApplicationCacheManagerProxy.cpp
247     UIProcess/WebBackForwardList.cpp
248     UIProcess/WebBatteryManagerProxy.cpp
249     UIProcess/WebBatteryProvider.cpp
250     UIProcess/WebColorChooserProxy.cpp
251     UIProcess/WebColorPickerResultListenerProxy.cpp
252     UIProcess/WebConnectionToWebProcess.cpp
253     UIProcess/WebContext.cpp
254     UIProcess/WebContextConnectionClient.cpp
255     UIProcess/WebContextInjectedBundleClient.cpp
256     UIProcess/WebContextMenuProxy.cpp
257     UIProcess/WebCookieManagerProxy.cpp
258     UIProcess/WebCookieManagerProxyClient.cpp
259     UIProcess/WebDatabaseManagerProxy.cpp
260     UIProcess/WebDatabaseManagerProxyClient.cpp
261     UIProcess/WebDownloadClient.cpp
262     UIProcess/WebEditCommandProxy.cpp
263     UIProcess/WebFindClient.cpp
264     UIProcess/WebFormClient.cpp
265     UIProcess/WebFormSubmissionListenerProxy.cpp
266     UIProcess/WebFrameListenerProxy.cpp
267     UIProcess/WebFramePolicyListenerProxy.cpp
268     UIProcess/WebFrameProxy.cpp
269     UIProcess/WebFullScreenManagerProxy.cpp
270     UIProcess/WebGeolocationManagerProxy.cpp
271     UIProcess/WebGeolocationProvider.cpp
272     UIProcess/WebGrammarDetail.cpp
273     UIProcess/WebHistoryClient.cpp
274     UIProcess/WebIconDatabase.cpp
275     UIProcess/WebIconDatabaseClient.cpp
276     UIProcess/WebInspectorProxy.cpp
277     UIProcess/WebKeyValueStorageManagerProxy.cpp
278     UIProcess/WebLayerTreeRenderer.cpp
279     UIProcess/WebLoaderClient.cpp
280     UIProcess/WebMediaCacheManagerProxy.cpp
281     UIProcess/WebNavigationData.cpp
282     UIProcess/WebNetworkInfoManagerProxy.cpp
283     UIProcess/WebNetworkInfoProvider.cpp
284     UIProcess/WebOpenPanelResultListenerProxy.cpp
285     UIProcess/WebPageContextMenuClient.cpp
286     UIProcess/WebPageGroup.cpp
287     UIProcess/WebPageProxy.cpp
288     UIProcess/WebPolicyClient.cpp
289     UIProcess/WebPreferences.cpp
290     UIProcess/WebProcessProxy.cpp
291     UIProcess/WebResourceCacheManagerProxy.cpp
292     UIProcess/WebResourceLoadClient.cpp
293     UIProcess/WebTextChecker.cpp
294     UIProcess/WebTextCheckerClient.cpp
295     UIProcess/WebUIClient.cpp
296     UIProcess/WebVibrationProvider.cpp
297     UIProcess/WebVibrationProxy.cpp
298
299     UIProcess/API/C/WKApplicationCacheManager.cpp
300     UIProcess/API/C/WKAuthenticationChallenge.cpp
301     UIProcess/API/C/WKAuthenticationDecisionListener.cpp
302     UIProcess/API/C/WKBackForwardList.cpp
303     UIProcess/API/C/WKBackForwardListItem.cpp
304     UIProcess/API/C/WKBatteryManager.cpp
305     UIProcess/API/C/WKBatteryStatus.cpp
306     UIProcess/API/C/WKColorPickerResultListener.cpp
307     UIProcess/API/C/WKContext.cpp
308     UIProcess/API/C/WKCookieManager.cpp
309     UIProcess/API/C/WKCredential.cpp
310     UIProcess/API/C/WKDatabaseManager.cpp
311     UIProcess/API/C/WKDownload.cpp
312     UIProcess/API/C/WKFormSubmissionListener.cpp
313     UIProcess/API/C/WKFrame.cpp
314     UIProcess/API/C/WKFramePolicyListener.cpp
315     UIProcess/API/C/WKGeolocationManager.cpp
316     UIProcess/API/C/WKGeolocationPermissionRequest.cpp
317     UIProcess/API/C/WKGeolocationPosition.cpp
318     UIProcess/API/C/WKGrammarDetail.cpp
319     UIProcess/API/C/WKHitTestResult.cpp
320     UIProcess/API/C/WKIconDatabase.cpp
321     UIProcess/API/C/WKInspector.cpp
322     UIProcess/API/C/WKIntentData.cpp
323     UIProcess/API/C/WKIntentServiceInfo.cpp
324     UIProcess/API/C/WKKeyValueStorageManager.cpp
325     UIProcess/API/C/WKMediaCacheManager.cpp
326     UIProcess/API/C/WKNavigationData.cpp
327     UIProcess/API/C/WKNetworkInfo.cpp
328     UIProcess/API/C/WKNetworkInfoManager.cpp
329     UIProcess/API/C/WKNotification.cpp
330     UIProcess/API/C/WKNotificationManager.cpp
331     UIProcess/API/C/WKNotificationPermissionRequest.cpp
332     UIProcess/API/C/WKOpenPanelParameters.cpp
333     UIProcess/API/C/WKOpenPanelResultListener.cpp
334     UIProcess/API/C/WKPage.cpp
335     UIProcess/API/C/WKPageGroup.cpp
336     UIProcess/API/C/WKPluginSiteDataManager.cpp
337     UIProcess/API/C/WKPreferences.cpp
338     UIProcess/API/C/WKProtectionSpace.cpp
339     UIProcess/API/C/WKResourceCacheManager.cpp
340     UIProcess/API/C/WKTextChecker.cpp
341     UIProcess/API/C/WKVibration.cpp
342
343     UIProcess/Authentication/AuthenticationChallengeProxy.cpp
344     UIProcess/Authentication/AuthenticationDecisionListener.cpp
345     UIProcess/Authentication/WebCredential.cpp
346     UIProcess/Authentication/WebProtectionSpace.cpp
347
348     UIProcess/Downloads/DownloadProxy.cpp
349
350     UIProcess/InspectorServer/WebInspectorServer.cpp
351     UIProcess/InspectorServer/WebSocketServer.cpp
352     UIProcess/InspectorServer/WebSocketServerConnection.cpp
353
354     UIProcess/Launcher/ProcessLauncher.cpp
355     UIProcess/Launcher/ThreadLauncher.cpp
356
357     UIProcess/Notifications/NotificationPermissionRequest.cpp
358     UIProcess/Notifications/NotificationPermissionRequestManagerProxy.cpp
359     UIProcess/Notifications/WebNotification.cpp
360     UIProcess/Notifications/WebNotificationManagerProxy.cpp
361     UIProcess/Notifications/WebNotificationProvider.cpp
362
363     UIProcess/Plugins/PluginInfoStore.cpp
364     UIProcess/Plugins/PluginProcessManager.cpp
365     UIProcess/Plugins/PluginProcessProxy.cpp
366     UIProcess/Plugins/WebPluginSiteDataManager.cpp
367
368     WebProcess/WebConnectionToUIProcess.cpp
369     WebProcess/WebProcess.cpp
370
371     WebProcess/ApplicationCache/WebApplicationCacheManager.cpp
372
373     WebProcess/Authentication/AuthenticationManager.cpp
374
375     WebProcess/Battery/WebBatteryManager.cpp
376
377     WebProcess/Cookies/WebCookieManager.cpp
378
379     WebProcess/Downloads/Download.cpp
380     WebProcess/Downloads/DownloadAuthenticationClient.cpp
381     WebProcess/Downloads/DownloadManager.cpp
382
383     WebProcess/FullScreen/WebFullScreenManager.cpp
384
385     WebProcess/Geolocation/GeolocationPermissionRequestManager.cpp
386     WebProcess/Geolocation/WebGeolocationManager.cpp
387
388     WebProcess/IconDatabase/WebIconDatabaseProxy.cpp
389
390     WebProcess/InjectedBundle/InjectedBundle.cpp
391     WebProcess/InjectedBundle/InjectedBundleBackForwardList.cpp
392     WebProcess/InjectedBundle/InjectedBundleBackForwardListItem.cpp
393     WebProcess/InjectedBundle/InjectedBundleClient.cpp
394     WebProcess/InjectedBundle/InjectedBundleDOMWindowExtension.cpp
395     WebProcess/InjectedBundle/InjectedBundleHitTestResult.cpp
396     WebProcess/InjectedBundle/InjectedBundleIntentRequest.cpp
397     WebProcess/InjectedBundle/InjectedBundleNavigationAction.cpp
398     WebProcess/InjectedBundle/InjectedBundlePageDiagnosticLoggingClient.cpp
399     WebProcess/InjectedBundle/InjectedBundlePageContextMenuClient.cpp
400     WebProcess/InjectedBundle/InjectedBundlePageEditorClient.cpp
401     WebProcess/InjectedBundle/InjectedBundlePageFormClient.cpp
402     WebProcess/InjectedBundle/InjectedBundlePageFullScreenClient.cpp
403     WebProcess/InjectedBundle/InjectedBundlePageLoaderClient.cpp
404     WebProcess/InjectedBundle/InjectedBundlePagePolicyClient.cpp
405     WebProcess/InjectedBundle/InjectedBundlePageResourceLoadClient.cpp
406     WebProcess/InjectedBundle/InjectedBundlePageUIClient.cpp
407     WebProcess/InjectedBundle/InjectedBundleScriptWorld.cpp
408
409     WebProcess/InjectedBundle/API/c/WKBundle.cpp
410     WebProcess/InjectedBundle/API/c/WKBundleBackForwardList.cpp
411     WebProcess/InjectedBundle/API/c/WKBundleBackForwardListItem.cpp
412     WebProcess/InjectedBundle/API/c/WKBundleDOMWindowExtension.cpp
413     WebProcess/InjectedBundle/API/c/WKBundleFrame.cpp
414     WebProcess/InjectedBundle/API/c/WKBundleHitTestResult.cpp
415     WebProcess/InjectedBundle/API/c/WKBundleInspector.cpp
416     WebProcess/InjectedBundle/API/c/WKBundleIntentRequest.cpp
417     WebProcess/InjectedBundle/API/c/WKBundleNavigationAction.cpp
418     WebProcess/InjectedBundle/API/c/WKBundleNodeHandle.cpp
419     WebProcess/InjectedBundle/API/c/WKBundlePage.cpp
420     WebProcess/InjectedBundle/API/c/WKBundlePageGroup.cpp
421     WebProcess/InjectedBundle/API/c/WKBundlePageOverlay.cpp
422     WebProcess/InjectedBundle/API/c/WKBundleRangeHandle.cpp
423     WebProcess/InjectedBundle/API/c/WKBundleScriptWorld.cpp
424
425     WebProcess/InjectedBundle/DOM/InjectedBundleNodeHandle.cpp
426     WebProcess/InjectedBundle/DOM/InjectedBundleRangeHandle.cpp
427
428     WebProcess/KeyValueStorage/WebKeyValueStorageManager.cpp
429
430     WebProcess/MediaCache/WebMediaCacheManager.cpp
431
432     WebProcess/NetworkInfo/WebNetworkInfoManager.cpp
433
434     WebProcess/Notifications/NotificationPermissionRequestManager.cpp
435     WebProcess/Notifications/WebNotificationManager.cpp
436
437     WebProcess/Plugins/Plugin.cpp
438     WebProcess/Plugins/PluginProcessConnection.cpp
439     WebProcess/Plugins/PluginProcessConnectionManager.cpp
440     WebProcess/Plugins/PluginProxy.cpp
441     WebProcess/Plugins/PluginView.cpp
442
443     WebProcess/Plugins/Netscape/JSNPMethod.cpp
444     WebProcess/Plugins/Netscape/JSNPObject.cpp
445     WebProcess/Plugins/Netscape/NPJSObject.cpp
446     WebProcess/Plugins/Netscape/NPRuntimeObjectMap.cpp
447     WebProcess/Plugins/Netscape/NPRuntimeUtilities.cpp
448     WebProcess/Plugins/Netscape/NetscapeBrowserFuncs.cpp
449     WebProcess/Plugins/Netscape/NetscapePlugin.cpp
450     WebProcess/Plugins/Netscape/NetscapePluginNone.cpp
451     WebProcess/Plugins/Netscape/NetscapePluginStream.cpp
452
453     WebProcess/ResourceCache/WebResourceCacheManager.cpp
454
455     WebProcess/WebCoreSupport/WebBatteryClient.cpp
456     WebProcess/WebCoreSupport/WebChromeClient.cpp
457     WebProcess/WebCoreSupport/WebColorChooser.cpp
458     WebProcess/WebCoreSupport/WebContextMenuClient.cpp
459     WebProcess/WebCoreSupport/WebDatabaseManager.cpp
460     WebProcess/WebCoreSupport/WebDragClient.cpp
461     WebProcess/WebCoreSupport/WebEditorClient.cpp
462     WebProcess/WebCoreSupport/WebFrameLoaderClient.cpp
463     WebProcess/WebCoreSupport/WebGeolocationClient.cpp
464     WebProcess/WebCoreSupport/WebInspectorClient.cpp
465     WebProcess/WebCoreSupport/WebInspectorFrontendClient.cpp
466     WebProcess/WebCoreSupport/WebNetworkInfoClient.cpp
467     WebProcess/WebCoreSupport/WebNotificationClient.cpp
468     WebProcess/WebCoreSupport/WebPlatformStrategies.cpp
469     WebProcess/WebCoreSupport/WebPopupMenu.cpp
470     WebProcess/WebCoreSupport/WebSearchPopupMenu.cpp
471     WebProcess/WebCoreSupport/WebVibrationClient.cpp
472
473     WebProcess/WebPage/DecoderAdapter.cpp
474     WebProcess/WebPage/DrawingArea.cpp
475     WebProcess/WebPage/DrawingAreaImpl.cpp
476     WebProcess/WebPage/EncoderAdapter.cpp
477     WebProcess/WebPage/EventDispatcher.cpp
478     WebProcess/WebPage/FindController.cpp
479     WebProcess/WebPage/LayerTreeCoordinator/LayerTreeCoordinator.cpp
480     WebProcess/WebPage/LayerTreeCoordinator/WebGraphicsLayer.cpp
481     WebProcess/WebPage/LayerTreeHost.cpp
482     WebProcess/WebPage/PageOverlay.cpp
483     WebProcess/WebPage/TapHighlightController.cpp
484     WebProcess/WebPage/TiledBackingStoreRemoteTile.cpp
485     WebProcess/WebPage/UpdateAtlas.cpp
486     WebProcess/WebPage/WebBackForwardListProxy.cpp
487     WebProcess/WebPage/WebContextMenu.cpp
488     WebProcess/WebPage/WebFrame.cpp
489     WebProcess/WebPage/WebInspector.cpp
490     WebProcess/WebPage/WebOpenPanelResultListener.cpp
491     WebProcess/WebPage/WebPage.cpp
492     WebProcess/WebPage/WebPageGroupProxy.cpp
493     WebProcess/WebPage/WebUndoStep.cpp
494 )
495
496 SET(WebKit2StaticForDebug_MESSAGES_IN_FILES
497     PluginProcess/PluginControllerProxy.messages.in
498     PluginProcess/PluginProcess.messages.in
499     PluginProcess/WebProcessConnection.messages.in
500
501     Shared/Plugins/NPObjectMessageReceiver.messages.in
502
503     UIProcess/DrawingAreaProxy.messages.in
504     UIProcess/LayerTreeCoordinatorProxy.messages.in
505     UIProcess/WebApplicationCacheManagerProxy.messages.in
506     UIProcess/WebBatteryManagerProxy.messages.in
507     UIProcess/WebContext.messages.in
508     UIProcess/WebCookieManagerProxy.messages.in
509     UIProcess/WebDatabaseManagerProxy.messages.in
510     UIProcess/WebFullScreenManagerProxy.messages.in
511     UIProcess/WebGeolocationManagerProxy.messages.in
512     UIProcess/WebIconDatabase.messages.in
513     UIProcess/WebInspectorProxy.messages.in
514     UIProcess/WebKeyValueStorageManagerProxy.messages.in
515     UIProcess/WebMediaCacheManagerProxy.messages.in
516     UIProcess/WebNetworkInfoManagerProxy.messages.in
517     UIProcess/WebPageProxy.messages.in
518     UIProcess/WebProcessProxy.messages.in
519
520
521     UIProcess/WebResourceCacheManagerProxy.messages.in
522     UIProcess/WebVibrationProxy.messages.in
523
524     UIProcess/Downloads/DownloadProxy.messages.in
525
526     UIProcess/Notifications/WebNotificationManagerProxy.messages.in
527
528     UIProcess/Plugins/PluginProcessProxy.messages.in
529
530     WebProcess/WebProcess.messages.in
531
532     WebProcess/ApplicationCache/WebApplicationCacheManager.messages.in
533
534     WebProcess/Authentication/AuthenticationManager.messages.in
535
536     WebProcess/Battery/WebBatteryManager.messages.in
537
538     WebProcess/Cookies/WebCookieManager.messages.in
539
540     WebProcess/FullScreen/WebFullScreenManager.messages.in
541
542     WebProcess/Geolocation/WebGeolocationManager.messages.in
543
544     WebProcess/IconDatabase/WebIconDatabaseProxy.messages.in
545
546     WebProcess/KeyValueStorage/WebKeyValueStorageManager.messages.in
547
548     WebProcess/MediaCache/WebMediaCacheManager.messages.in
549
550     WebProcess/NetworkInfo/WebNetworkInfoManager.messages.in
551
552     WebProcess/Notifications/WebNotificationManager.messages.in
553
554     WebProcess/Plugins/PluginProcessConnection.messages.in
555     WebProcess/Plugins/PluginProxy.messages.in
556
557     WebProcess/ResourceCache/WebResourceCacheManager.messages.in
558
559     WebProcess/WebCoreSupport/WebDatabaseManager.messages.in
560
561     WebProcess/WebPage/DrawingArea.messages.in
562     WebProcess/WebPage/EventDispatcher.messages.in
563     WebProcess/WebPage/LayerTreeCoordinator/LayerTreeCoordinator.messages.in
564     WebProcess/WebPage/WebInspector.messages.in
565     WebProcess/WebPage/WebPage.messages.in
566 )
567
568 SET(WebProcess_EXECUTABLE_NAME WebProcess)
569
570 SET(WebProcess_LIBRARIES
571     ${JavaScriptCore_LIBRARY_NAME}
572     ${WebCore_LIBRARY_NAME}
573     ${WebKit2_LIBRARY_NAME}
574 )
575
576 IF (ENABLE_PLUGIN_PROCESS)
577     ADD_DEFINITIONS(-DENABLE_PLUGIN_PROCESS=1)
578
579     SET (PluginProcess_EXECUTABLE_NAME PluginProcess)
580
581     LIST (APPEND WebKit2StaticForDebug_INCLUDE_DIRECTORIES
582         "${WEBKIT2_DIR}/PluginProcess"
583         "${WEBKIT2_DIR}/PluginProcess/efl"
584     )
585     LIST (APPEND WebKit2_INCLUDE_DIRECTORIES
586         "${WEBKIT2_DIR}/PluginProcess"
587         "${WEBKIT2_DIR}/PluginProcess/efl"
588     )
589
590     LIST (APPEND PluginProcess_SOURCES
591         efl/PluginMainEfl.cpp
592     )
593
594     SET(PluginProcess_LIBRARIES
595         ${JavaScriptCore_LIBRARY_NAME}
596         ${WebCore_LIBRARY_NAME}
597         ${WebKit2_LIBRARY_NAME}
598     )
599 ENDIF ()
600
601 IF (ENABLE_MEMORY_SAMPLER)
602     LIST(APPEND WebKit2StaticForDebug_SOURCES
603         Shared/efl/WebMemorySamplerEfl.cpp
604     )
605 ENDIF ()
606
607 SET(WebKit2StaticForDebug_LIBRARIES
608     ${WebCore_LIBRARY_NAME}
609 )
610
611 # FIXME : Because of building webkit on 32bit machine, we are using hacks.
612 #         For general build scripts, it should be refactored.
613 SET(WebKit2_LIBRARIES
614     "-Wl,--whole-archive"
615     ${WebKit2StaticForDebug_LIBRARY_NAME}
616     ${JavaScriptCore_LIBRARY_NAME}
617     "-Wl,--no-whole-archive -Wl,--no-keep-memory -Wl,--reduce-memory-overheads -Wl,--hash-size=31"
618 )
619
620 SET(WebKit2_FORWARDING_HEADERS_DIRECTORIES
621     Shared/API/c
622     UIProcess/API/C
623     UIProcess/API/cpp
624     WebProcess/InjectedBundle/API/c
625 )
626
627 WEBKIT_INCLUDE_CONFIG_FILES_IF_EXISTS()
628
629 WEBKIT_CREATE_FORWARDING_HEADERS(WebKit2 DIRECTORIES ${WebKit2_FORWARDING_HEADERS_DIRECTORIES})
630
631 # Create JavaScript C++ code given an IDL input
632 FOREACH (_file ${WebKit2StaticForDebug_MESSAGES_IN_FILES})
633     GET_FILENAME_COMPONENT (_name ${_file} NAME_WE)
634     ADD_CUSTOM_COMMAND(
635         OUTPUT ${DERIVED_SOURCES_WEBKIT2_DIR}/${_name}MessageReceiver.cpp ${DERIVED_SOURCES_WEBKIT2_DIR}/${_name}Messages.h
636         MAIN_DEPENDENCY ${_file}
637         COMMAND ${PYTHON_EXECUTABLE} ${WEBKIT2_DIR}/Scripts/generate-message-receiver.py ${_file} > ${DERIVED_SOURCES_WEBKIT2_DIR}/${_name}MessageReceiver.cpp
638         COMMAND ${PYTHON_EXECUTABLE} ${WEBKIT2_DIR}/Scripts/generate-messages-header.py ${_file} > ${DERIVED_SOURCES_WEBKIT2_DIR}/${_name}Messages.h
639         WORKING_DIRECTORY ${WEBKIT2_DIR}
640         VERBATIM)
641
642     LIST(APPEND WebKit2StaticForDebug_SOURCES ${DERIVED_SOURCES_WEBKIT2_DIR}/${_name}MessageReceiver.cpp)
643 ENDFOREACH ()
644
645 ADD_DEFINITIONS(-DBUILDING_WEBKIT)
646 INCLUDE_DIRECTORIES(${WebKit2StaticForDebug_INCLUDE_DIRECTORIES})
647 #ADD_LIBRARY(${WebKit2_LIBRARY_NAME} ${WebKit2_LIBRARY_TYPE} ${WebKit2_SOURCES})
648 IF (ENABLE_ALLINONE)
649     SET (IGNORE_LIST
650         Platform/efl/WorkQueueEfl.cpp
651
652         Shared/WebCoreArgumentCoders.cpp
653
654         UIProcess/API/C/WKPluginSiteDataManager.cpp
655         UIProcess/API/C/WKPage.cpp
656         UIProcess/API/efl/EwkViewImpl.cpp
657         UIProcess/API/efl/PageClientImpl.cpp
658         UIProcess/API/efl/tizen/ClipboardHelper.cpp
659         UIProcess/API/efl/tizen/OfflinePageSave.cpp
660         UIProcess/API/efl/tizen/SmartZoom.cpp
661         UIProcess/API/efl/tizen/Zoom.cpp
662         UIProcess/API/efl/ewk_util.cpp
663         UIProcess/API/efl/ewk_context_download_client.cpp
664         UIProcess/API/efl/ewk_view.cpp
665         UIProcess/DrawingAreaProxyImpl.cpp
666
667         WebProcess/InjectedBundle/DOM/InjectedBundleNodeHandle.cpp
668         WebProcess/Plugins/Netscape/JSNPMethod.cpp
669         WebProcess/Plugins/Netscape/NPJSObject.cpp
670         WebProcess/Plugins/Netscape/x11/NetscapePluginX11.cpp
671         WebProcess/MediaStream/UserMediaPermissionRequestManager.cpp
672         WebProcess/Notifications/NotificationPermissionRequestManager.cpp
673         WebProcess/WebPage/LayerTreeCoordinator/WebGraphicsLayer.cpp
674         WebProcess/WebCoreSupport/WebNotificationClient.cpp
675         WebProcess/WebPage/DrawingAreaImpl.cpp
676         WebProcess/WebPage/DrawingArea.cpp
677         WebProcess/WebPage/LayerTreeHost.cpp
678         WebProcess/WebPage/LayerTreeCoordinator/LayerTreeCoordinator.cpp
679         WebProcess/WebPage/TiledBackingStoreRemoteTile.cpp
680         WebProcess/WebPage/WebBackForwardListProxy.cpp
681         WebProcess/WebPage/efl/PixmapPoolEfl.cpp
682         WebProcess/WebPage/efl/TiledBackingStoreRemoteTileEfl.cpp
683         WebProcess/WebPage/efl/WebPageEfl.cpp
684         WebProcess/efl/WebProcessEfl.cpp
685         WebProcess/efl/WebProcessMainEfl.cpp
686         WebProcess/WebProcess.cpp
687
688         PluginProcess/WebProcessConnection.cpp
689     )
690
691     SET (ALLINONE_SOURCES)
692     FOREACH (_file ${WebKit2StaticForDebug_SOURCES})
693         GET_FILENAME_COMPONENT (_ext ${_file} EXT)
694
695         LIST (FIND IGNORE_LIST ${_file} RESULT)
696         IF (${_ext} STREQUAL ".cpp" AND RESULT EQUAL -1 AND NOT "${_file}" MATCHES "${DERIVED_SOURCES_WEBKIT2_DIR}")
697             SET(ALLINONESTR "${ALLINONESTR}\n#include \"${_file}\"")
698         ELSE ()
699             LIST (APPEND ALLINONE_SOURCES ${_file})
700         ENDIF ()
701     ENDFOREACH ()
702     FILE (WRITE ${DERIVED_SOURCES_WEBKIT2_DIR}/AllInOneEfl.cpp ${ALLINONESTR})
703     LIST (APPEND ALLINONE_SOURCES ${DERIVED_SOURCES_WEBKIT2_DIR}/AllInOneEfl.cpp)
704
705     ADD_LIBRARY(${WebKit2StaticForDebug_LIBRARY_NAME} ${WebKit2StaticForDebug_LIBRARY_TYPE} ${ALLINONE_SOURCES})
706     ADD_LIBRARY(${WebKit2_LIBRARY_NAME} ${WebKit2_LIBRARY_TYPE} ${WebKit2_SOURCES})
707 ELSE ()
708     ADD_LIBRARY(${WebKit2StaticForDebug_LIBRARY_NAME} ${WebKit2StaticForDebug_LIBRARY_TYPE} ${WebKit2StaticForDebug_SOURCES})
709     ADD_LIBRARY(${WebKit2_LIBRARY_NAME} ${WebKit2_LIBRARY_TYPE} ${WebKit2_SOURCES})
710 ENDIF ()
711
712 TARGET_LINK_LIBRARIES(${WebKit2StaticForDebug_LIBRARY_NAME} ${WebKit2StaticForDebug_LIBRARIES})
713
714 ADD_DEPENDENCIES(${WebKit2_LIBRARY_NAME} ${WebCore_LIBRARY_NAME})
715 ADD_DEPENDENCIES(${WebKit2_LIBRARY_NAME} ${ForwardingHeaders_NAME})
716 ADD_DEPENDENCIES(${WebKit2_LIBRARY_NAME} ${ForwardingNetworkHeaders_NAME})
717 ADD_DEPENDENCIES(${WebKit2StaticForDebug_LIBRARY_NAME} ${WebCore_LIBRARY_NAME})
718 ADD_DEPENDENCIES(${WebKit2StaticForDebug_LIBRARY_NAME} ${ForwardingHeaders_NAME})
719 ADD_DEPENDENCIES(${WebKit2StaticForDebug_LIBRARY_NAME} ${ForwardingNetworkHeaders_NAME})
720 ADD_DEPENDENCIES(${WebKit2_LIBRARY_NAME} ${WebKit2StaticForDebug_LIBRARY_NAME})
721 TARGET_LINK_LIBRARIES(${WebKit2_LIBRARY_NAME} ${WebKit2_LIBRARIES})
722 SET_TARGET_PROPERTIES(${WebKit2_LIBRARY_NAME} PROPERTIES FOLDER "WebKit")
723 SET_TARGET_PROPERTIES(${WebKit2_LIBRARY_NAME} PROPERTIES LINK_INTERFACE_LIBRARIES "")
724
725 ADD_EXECUTABLE(${WebProcess_EXECUTABLE_NAME} ${WebProcess_SOURCES})
726 TARGET_LINK_LIBRARIES(${WebProcess_EXECUTABLE_NAME} ${WebProcess_LIBRARIES})
727 SET_TARGET_PROPERTIES(${WebProcess_EXECUTABLE_NAME} PROPERTIES FOLDER "WebKit")
728
729 IF (ENABLE_PLUGIN_PROCESS)
730     ADD_EXECUTABLE(${PluginProcess_EXECUTABLE_NAME} ${PluginProcess_SOURCES})
731     TARGET_LINK_LIBRARIES(${PluginProcess_EXECUTABLE_NAME} ${PluginProcess_LIBRARIES})
732     SET_TARGET_PROPERTIES(${PluginProcess_EXECUTABLE_NAME} PROPERTIES FOLDER "WebKit")
733 ENDIF ()
734
735 SET_TARGET_PROPERTIES(${WebKit2_LIBRARY_NAME} PROPERTIES VERSION ${PROJECT_VERSION} SOVERSION ${PROJECT_VERSION_MAJOR})
736
737 INSTALL(TARGETS ${WebKit2_LIBRARY_NAME} DESTINATION "${LIB_INSTALL_DIR}")
738 INSTALL(TARGETS ${WebProcess_EXECUTABLE_NAME} DESTINATION "${EXEC_INSTALL_DIR}")
739
740 IF (ENABLE_PLUGIN_PROCESS)
741     INSTALL(TARGETS ${PluginProcess_EXECUTABLE_NAME} DESTINATION "${EXEC_INSTALL_DIR}")
742 ENDIF ()