Update selection handle position in Ref-Internet browser
[framework/web/webkit-efl.git] / Source / WebCore / PlatformTizen.cmake
1 LIST(APPEND WebCore_INCLUDE_DIRECTORIES
2     "${JAVASCRIPTCORE_DIR}/wtf/efl"
3     "${WEBCORE_DIR}/Modules/contenthandler"
4     "${WEBCORE_DIR}/page/efl/tizen"
5     "${WEBCORE_DIR}/platform/audio/gstreamer/tizen"
6     "${WEBCORE_DIR}/platform/efl/tizen"
7     "${WEBCORE_DIR}/platform/graphics/efl/tizen"
8     "${WEBCORE_DIR}/platform/graphics/gpu"
9     "${WEBCORE_DIR}/platform/graphics/gstreamer/tizen"
10     "${WEBCORE_DIR}/platform/graphics/opengl"
11     "${WEBCORE_DIR}/platform/graphics/texmap/tizen"
12     "${WEBCORE_DIR}/platform/mediastream/tizen"
13     ${ASM_INCLUDE_DIRS}
14     ${CAPI_INCLUDE_DIRS}
15     ${ELEMENTARY_INCLUDE_DIRS}
16     ${ENCHANT_INCLUDE_DIRS}
17     ${GLES_INCLUDE_DIRS}
18     ${GSTREAMER_AUDIO_INCLUDE_DIRS}
19     ${GSTREAMER_FFT_INCLUDE_DIRS}
20     ${LevelDB_INCLUDE_DIRS}
21     ${LevelDB-MemEnv_INCLUDE_DIRS}
22     ${Libavcodec_INCLUDE_DIR}
23     ${MMSOUND_INCLUDE_DIRS}
24     ${MM-Player_INCLUDE_DIRS}
25     ${OPENSSL_INCLUDE_DIRS}
26     ${Pmapi_INCLUDE_DIRS}
27     ${SESSION_INCLUDE_DIRS}
28     ${VConf_INCLUDE_DIRS}
29     ${feedback_INCLUDE_DIR}
30 )
31
32 LIST(APPEND WebCore_LIBRARIES
33     ${ASM_LIBRARIES}
34     ${CAPI_LIBRARIES}
35     ${ELEMENTARY_LIBRARIES}
36     ${ENCHANT_LIBRARIES}
37     ${GLES_LIBRARIES}
38     ${GSTREAMER_AUDIO_LIBRARIES}
39     ${GSTREAMER_FFT_LIBRARIES}
40     ${LevelDB_LIBRARIES}
41     ${LevelDB-MemEnv_LIBRARIES}
42     ${Libavcodec_LIBS}
43     ${MMSOUND_LIBRARIES}
44     ${MM-Player_LIBRARIES}
45     ${OPENSSL_LIBRARIES}
46     ${Pmapi_LIBRARIES}
47     ${SESSION_LIBRARIES}
48     ${VConf_LIBRARIES}
49 )
50
51 LIST(APPEND WebCore_USER_AGENT_STYLE_SHEETS
52     ${WEBCORE_DIR}/css/mediaControlsTizen.css
53     ${WEBCORE_DIR}/css/mediaControlsTizenFullscreenHorizontal.css
54     ${WEBCORE_DIR}/css/mediaControlsTizenFullscreenVertical.css
55 )
56
57 # Replace EFL port files with Tizen's.
58 LIST(REMOVE_ITEM WebCore_SOURCES
59     platform/efl/ClipboardEfl.cpp
60     platform/efl/DragDataEfl.cpp
61     platform/efl/DragImageEfl.cpp
62     platform/efl/LocalizedStringsEfl.cpp
63     platform/efl/NetworkInfoProviderEfl.cpp
64     platform/efl/PasteboardEfl.cpp
65     platform/efl/ScrollbarThemeEfl.cpp
66     platform/mediastream/gstreamer/MediaStreamCenterGStreamer.cpp
67     platform/network/soup/ResourceHandleSoup.cpp
68     platform/network/soup/SocketStreamHandleSoup.cpp
69 )
70
71 IF (WTF_USE_3D_GRAPHICS)
72     LIST(REMOVE_ITEM WebCore_SOURCES
73         platform/graphics/cairo/DrawingBufferCairo.cpp
74         platform/graphics/cairo/GLContext.cpp
75         platform/graphics/cairo/GraphicsContext3DCairo.cpp
76         platform/graphics/cairo/GraphicsContext3DPrivate.cpp
77         platform/graphics/opengl/Extensions3DOpenGL.cpp
78         platform/graphics/opengl/Extensions3DOpenGLCommon.cpp
79         platform/graphics/opengl/GraphicsContext3DOpenGL.cpp
80         platform/graphics/opengl/GraphicsContext3DOpenGLCommon.cpp
81     )
82 ENDIF ()
83
84 IF (WTF_USE_SKIA)
85     LIST(REMOVE_ITEM WebCore_SOURCES platform/graphics/efl/FontEfl.cpp)
86 ENDIF ()
87
88 # Begin to add tizen specific files.
89 LIST(APPEND WebCore_IDL_FILES
90     Modules/contenthandler/NavigatorRegisterContentHandler.idl
91
92     Modules/mediastream/BlobCallback.idl
93     Modules/mediastream/MediaStreamRecorder.idl
94
95     page/efl/tizen/External.idl
96 )
97
98 LIST(APPEND WebCore_SOURCES
99     Modules/contenthandler/NavigatorRegisterContentHandler.cpp
100     Modules/mediastream/MediaStreamRecorder.cpp
101
102     page/efl/tizen/External.cpp
103
104     platform/audio/ffmpeg/FFTFrameFFMPEG.cpp
105     platform/audio/gstreamer/FFTFrameGStreamer.cpp
106     platform/audio/gstreamer/tizen/AudioSessionManagerGStreamerTizen.cpp
107
108     platform/efl/tizen/AsyncFileSystemCallbacksTizen.cpp
109     platform/efl/tizen/AsyncFileSystemTizen.cpp
110     platform/efl/tizen/AsyncFileSystemTaskControllerTizen.cpp
111     platform/efl/tizen/AsyncFileWriterClientTizen.cpp
112     platform/efl/tizen/AsyncFileWriterTizen.cpp
113     platform/efl/tizen/ClipboardTizen.cpp
114     platform/efl/tizen/DataObjectTizen.cpp
115     platform/efl/tizen/DeviceMotionClientTizen.cpp
116     platform/efl/tizen/DeviceOrientationClientTizen.cpp
117     platform/efl/tizen/DeviceOrientationProviderTizen.cpp
118     platform/efl/tizen/DeviceMotionProviderTizen.cpp
119     platform/efl/tizen/DragDataTizen.cpp
120     platform/efl/tizen/DragImageTizen.cpp
121     platform/efl/tizen/FileSystemTizen.cpp
122     platform/efl/tizen/LocalizedStringsTizen.cpp
123     platform/efl/tizen/NetworkInfoProviderTizen.cpp
124     platform/efl/tizen/PasteboardTizen.cpp
125     platform/efl/tizen/ScrollbarThemeTizen.cpp
126     platform/efl/tizen/SSLKeyGeneratorTizen.cpp
127     platform/efl/tizen/SSLPrivateKeyStoreTizen.cpp
128     platform/efl/tizen/TizenLinkEffect.cpp
129     platform/efl/tizen/TizenProfiler.cpp
130     platform/efl/tizen/TizenExtensibleAPI.cpp
131
132     platform/graphics/efl/tizen/Canvas2DLayerTizen.cpp
133     platform/graphics/efl/tizen/Extensions3DTizen.cpp
134     platform/graphics/efl/tizen/GraphicsContext3D.cpp
135     platform/graphics/efl/tizen/GraphicsContext3DInternal.cpp
136     platform/graphics/efl/tizen/GraphicsContext3DOffscreen.cpp
137     platform/graphics/efl/tizen/SharedPlatformSurfaceTizen.cpp
138     platform/graphics/efl/tizen/TizenGraphicsContext3DEfl.cpp
139     platform/graphics/gpu/DrawingBuffer.cpp
140     platform/graphics/gpu/tizen/DrawingBufferTizen.cpp
141     platform/graphics/gstreamer/tizen/SharedVideoPlatformSurfaceTizen.cpp
142     platform/graphics/gstreamer/tizen/VideoLayerTizen.cpp
143     platform/graphics/gstreamer/tizen/WebKitCameraSourceGStreamerTizen.cpp
144     platform/graphics/surfaces/GraphicsSurface.cpp
145     platform/graphics/surfaces/tizen/GraphicsSurfaceTizen.cpp
146     platform/graphics/texmap/tizen/PlatformSurfaceTextureGL.cpp
147
148     platform/mediastream/tizen/LocalMediaServer.cpp
149     platform/mediastream/tizen/MediaRecorder.cpp
150     platform/mediastream/tizen/MediaRecorderPrivateImpl.cpp
151     platform/mediastream/tizen/MediaStreamCenterTizen.cpp
152     platform/mediastream/tizen/MediaStreamManager.cpp
153
154     platform/network/soup/tizen/ResourceHandleSoupTizen.cpp
155     platform/network/soup/tizen/SocketStreamHandleSoupTizen.cpp
156     platform/network/tizen/NetworkStateNotifierTizen.cpp
157
158     plugins/PluginPackage.cpp
159 )
160
161 IF (WTF_USE_TEXTURE_MAPPER)
162     LIST(APPEND WebCore_SOURCES
163         platform/graphics/texmap/GraphicsLayerTextureMapper.cpp
164         platform/graphics/texmap/TextureMapperCuller.cpp
165     )
166 ELSE ()
167     LIST(APPEND WebCore_SOURCES
168         platform/graphics/efl/GraphicsLayerEfl.cpp
169     )
170 ENDIF ()
171
172 IF (ENABLE_TOUCH_ADJUSTMENT)
173     LIST(APPEND WebCore_SOURCES
174         page/TouchAdjustment.cpp
175     )
176 ENDIF ()
177
178 INCLUDE_IF_EXISTS(${WEBCORE_DIR}/PlatformExperimental.cmake)
179
180 IF (NOT ENABLE_TIZEN_WEBKIT2_TILED_AC_SHARED_PLATFORM_SURFACE)
181     LIST(APPEND WebCore_SOURCES
182         platform/graphics/surfaces/efl/GraphicsSurfaceEfl.cpp
183     )
184 ENDIF ()
185
186 IF (ENABLE_ALLINONE)
187     LIST(APPEND WebCore_SOURCES
188         css/SVGCSSComputedStyleDeclaration.cpp
189         css/SVGCSSParser.cpp
190         css/SVGCSSStyleSelector.cpp
191
192         inspector/InspectorAllInOne.cpp
193
194         platform/graphics/SVGGlyph.cpp
195
196         rendering/PointerEventsHitRules.cpp
197         rendering/style/SVGRenderStyle.cpp
198         rendering/style/SVGRenderStyleDefs.cpp
199         rendering/svg/RenderSVGAllInOne.cpp
200
201         svg/SVGAllInOne.cpp
202         svg/animation/SMILTime.cpp
203         svg/animation/SMILTimeContainer.cpp
204         svg/animation/SVGSMILElement.cpp
205         svg/graphics/SVGImage.cpp
206         svg/graphics/SVGImageCache.cpp
207         svg/graphics/filters/SVGFEImage.cpp
208         svg/graphics/filters/SVGFilter.cpp
209         svg/graphics/filters/SVGFilterBuilder.cpp
210         svg/properties/SVGAttributeToPropertyMap.cpp
211         svg/properties/SVGPathSegListPropertyTearOff.cpp
212     )
213 ENDIF ()
214
215 IF (ENABLE_WEB_AUDIO)
216     SET(WEB_AUDIO_DIR ${CMAKE_INSTALL_PREFIX}/${DATA_INSTALL_DIR}/webaudio/resources)
217     FILE(GLOB WEB_AUDIO_DATA "${WEBCORE_DIR}/platform/audio/resources/*.wav")
218     INSTALL(FILES ${WEB_AUDIO_DATA} DESTINATION ${WEB_AUDIO_DIR})
219     ADD_DEFINITIONS(-DUNINSTALLED_AUDIO_RESOURCES_DIR="${WEBCORE_DIR}/platform/audio/resources")
220 ENDIF ()