OSDN Git Service

Fix for FBO offset when drawing with alpha
[android-x86/external-webkit.git] / WebCore / CMakeListsEfl.txt
1 LIST(APPEND WebCore_LINK_FLAGS
2     ${ECORE_X_LDFLAGS}
3     ${EFLDEPS_LDFLAGS}
4 )
5
6 LIST(APPEND WebCore_INCLUDE_DIRECTORIES
7   "${JAVASCRIPTCORE_DIR}/wtf/gobject"
8   "${JAVASCRIPTCORE_DIR}/wtf/text"
9   "${WEBCORE_DIR}/platform/efl"
10   "${WEBCORE_DIR}/platform/text/efl"
11   "${WEBCORE_DIR}/platform/graphics/efl"
12   "${WEBCORE_DIR}/page/efl"
13   "${WEBCORE_DIR}/accessibility/efl"
14   "${WEBKIT_DIR}/efl/WebCoreSupport"
15   "${WEBKIT_DIR}/efl/ewk"
16 )
17
18 LIST(APPEND WebCore_SOURCES
19   accessibility/efl/AccessibilityObjectEfl.cpp
20   bindings/js/ScriptControllerEfl.cpp
21   page/efl/DragControllerEfl.cpp
22   page/efl/EventHandlerEfl.cpp
23   page/efl/FrameEfl.cpp
24   platform/efl/ClipboardEfl.cpp
25   platform/efl/ContextMenuEfl.cpp
26   platform/efl/ContextMenuItemEfl.cpp
27   platform/efl/CursorEfl.cpp
28   platform/efl/DragDataEfl.cpp
29   platform/efl/DragImageEfl.cpp
30   platform/efl/EventLoopEfl.cpp
31   platform/efl/FileChooserEfl.cpp
32   platform/efl/FileSystemEfl.cpp
33   platform/efl/KURLEfl.cpp
34   platform/efl/LanguageEfl.cpp
35   platform/efl/LocalizedStringsEfl.cpp
36   platform/efl/LoggingEfl.cpp
37   platform/efl/MIMETypeRegistryEfl.cpp
38   platform/efl/PasteboardEfl.cpp
39   platform/efl/PlatformKeyboardEventEfl.cpp
40   platform/efl/PlatformMouseEventEfl.cpp
41   platform/efl/PlatformScreenEfl.cpp
42   platform/efl/PlatformWheelEventEfl.cpp
43   platform/efl/PopupMenuEfl.cpp
44   platform/efl/RenderThemeEfl.cpp
45   platform/efl/ScrollViewEfl.cpp
46   platform/efl/ScrollbarEfl.cpp
47   platform/efl/ScrollbarThemeEfl.cpp
48   platform/efl/SearchPopupMenuEfl.cpp
49   platform/efl/SharedBufferEfl.cpp
50   platform/efl/SharedTimerEfl.cpp
51   platform/efl/SoundEfl.cpp
52   platform/efl/SystemTimeEfl.cpp
53   platform/efl/TemporaryLinkStubs.cpp
54   platform/efl/WidgetEfl.cpp
55   platform/graphics/efl/FontEfl.cpp
56   platform/graphics/efl/IconEfl.cpp
57   platform/graphics/efl/ImageEfl.cpp
58   platform/graphics/efl/IntPointEfl.cpp
59   platform/graphics/efl/IntRectEfl.cpp
60   platform/posix/FileSystemPOSIX.cpp
61   platform/text/efl/TextBreakIteratorInternalICUEfl.cpp
62   plugins/PluginDataNone.cpp
63 )
64
65 IF (WTF_PLATFORM_CAIRO)
66   LIST(APPEND WebCore_INCLUDE_DIRECTORIES
67     "${WEBCORE_DIR}/platform/graphics/cairo"
68   )
69   LIST(APPEND WebCore_SOURCES
70     platform/graphics/cairo/CairoUtilities.cpp
71     platform/graphics/cairo/ContextShadowCairo.cpp
72     platform/graphics/cairo/FontCairo.cpp
73     platform/graphics/cairo/GradientCairo.cpp
74     platform/graphics/cairo/GraphicsContextCairo.cpp
75     platform/graphics/cairo/ImageBufferCairo.cpp
76     platform/graphics/cairo/ImageCairo.cpp
77     platform/graphics/cairo/OwnPtrCairo.cpp
78     platform/graphics/cairo/PathCairo.cpp
79     platform/graphics/cairo/PatternCairo.cpp
80     platform/graphics/cairo/RefPtrCairo.cpp
81     platform/graphics/cairo/TransformationMatrixCairo.cpp
82
83     platform/image-decoders/cairo/ImageDecoderCairo.cpp
84   )
85
86   IF (WTF_USE_FREETYPE)
87     LIST(APPEND WebCore_INCLUDE_DIRECTORIES
88       "${WEBCORE_DIR}/platform/graphics/freetype"
89     )
90     LIST(APPEND WebCore_SOURCES
91       platform/graphics/freetype/FontCacheFreeType.cpp
92       platform/graphics/freetype/FontCustomPlatformDataFreeType.cpp
93       platform/graphics/freetype/FontPlatformDataFreeType.cpp
94       platform/graphics/freetype/GlyphPageTreeNodeFreeType.cpp
95       platform/graphics/freetype/SimpleFontDataFreeType.cpp
96     )
97   ENDIF ()
98
99   IF (WTF_USE_PANGO)
100     LIST(APPEND WebCore_INCLUDE_DIRECTORIES
101       "${WEBCORE_DIR}/platform/graphics/pango"
102       ${Pango_INCLUDE_DIRS}
103     )
104     LIST(APPEND WebCore_SOURCES
105       platform/graphics/pango/FontCachePango.cpp
106       platform/graphics/pango/FontCustomPlatformDataPango.cpp
107       platform/graphics/pango/FontPlatformDataPango.cpp
108       platform/graphics/pango/GlyphPageTreeNodePango.cpp
109       platform/graphics/pango/SimpleFontDataPango.cpp
110     )
111     LIST(APPEND WebCore_LIBRARIES
112       ${Pango_LIBRARIES}
113     )
114   ENDIF ()
115 ENDIF ()
116
117 IF (WTF_USE_SOUP)
118   LIST(APPEND WebCore_INCLUDE_DIRECTORIES
119     "${WEBCORE_DIR}/platform/network/soup"
120     "${WEBCORE_DIR}/platform/network/soup/cache"
121     "${WEBCORE_DIR}/platform/network/soup/cache/webkit"
122   )
123   LIST(APPEND WebCore_SOURCES
124     platform/network/soup/CookieJarSoup.cpp
125     platform/network/soup/GOwnPtrSoup.cpp
126     platform/network/soup/ResourceHandleSoup.cpp
127     platform/network/soup/ResourceRequestSoup.cpp
128     platform/network/soup/ResourceResponseSoup.cpp
129     platform/network/soup/SocketStreamHandleSoup.cpp
130     platform/network/soup/SoupURIUtils.cpp
131
132     platform/network/soup/cache/soup-directory-input-stream.c
133     platform/network/soup/cache/soup-http-input-stream.c
134     platform/network/soup/cache/soup-request-data.c
135     platform/network/soup/cache/soup-request-file.c
136     platform/network/soup/cache/soup-request-http.c
137     platform/network/soup/cache/soup-request.c
138     platform/network/soup/cache/soup-requester.c
139
140     platform/network/soup/cache/webkit/soup-cache.c
141   )
142 ENDIF ()
143
144 IF (WTF_USE_CURL)
145   LIST(APPEND WebCore_INCLUDE_DIRECTORIES
146     "${WEBCORE_DIR}/platform/network/curl"
147   )
148   LIST(APPEND WebCore_SOURCES
149     platform/network/curl/CookieJarCurl.cpp
150     platform/network/curl/DNSCurl.cpp
151     platform/network/curl/FormDataStreamCurl.cpp
152     platform/network/curl/ResourceHandleCurl.cpp
153     platform/network/curl/ResourceHandleManager.cpp
154     platform/network/curl/SocketStreamHandleCurl.cpp
155   )
156 ENDIF ()
157
158 IF (WTF_USE_ICU_UNICODE)
159   LIST(APPEND WebCore_SOURCES
160     editing/SmartReplaceICU.cpp
161     platform/text/TextEncodingDetectorICU.cpp
162     platform/text/TextBreakIteratorICU.cpp
163     platform/text/TextCodecICU.cpp
164   )
165 ENDIF ()
166
167 IF (ENABLE_VIDEO)
168   LIST(APPEND WebCore_INCLUDE_DIRECTORIES
169     "${WEBCORE_DIR}/platform/graphics/gstreamer"
170   )
171   LIST(APPEND WebCore_SOURCES
172     platform/graphics/gstreamer/DataSourceGStreamer.cpp
173     platform/graphics/gstreamer/GOwnPtrGStreamer.cpp
174     platform/graphics/gstreamer/GStreamerGWorld.cpp
175     platform/graphics/gstreamer/ImageGStreamerCairo.cpp
176     platform/graphics/gstreamer/MediaPlayerPrivateGStreamer.cpp
177     platform/graphics/gstreamer/PlatformVideoWindowEfl.cpp
178     platform/graphics/gstreamer/VideoSinkGStreamer.cpp
179     platform/graphics/gstreamer/WebKitWebSourceGStreamer.cpp
180   )
181 ENDIF ()
182
183 LIST(APPEND WebCore_LIBRARIES
184   ${Cairo_LIBRARIES}
185   ${ECORE_X_LIBRARIES}
186   ${EFLDEPS_LIBRARIES}
187   ${EVAS_LIBRARIES}
188   ${Freetype_LIBRARIES}
189   ${ICU_LIBRARIES}
190   ${LIBXML2_LIBRARIES}
191   ${LIBXSLT_LIBRARIES}
192   ${SQLITE_LIBRARIES}
193 )
194
195 IF (WTF_USE_SOUP)
196   LIST(APPEND WebCore_LIBRARIES
197     ${LIBSOUP24_LIBRARIES}
198   )
199 ENDIF ()
200
201 IF (WTF_USE_CURL)
202   LIST(APPEND WebCore_LIBRARIES
203     ${CURL_LIBRARIES}
204   )
205 ENDIF ()
206
207 IF (ENABLE_VIDEO)
208   LIST(APPEND WebCore_LIBRARIES
209     ${GStreamer-App_LIBRARIES}
210     ${GStreamer-Interfaces_LIBRARIES}
211     ${GStreamer-Pbutils_LIBRARIES}
212     ${GStreamer-Video_LIBRARIES}
213   )
214 ENDIF ()
215
216 LIST(APPEND WebCore_INCLUDE_DIRECTORIES
217   ${Cairo_INCLUDE_DIRS}
218   ${ECORE_X_INCLUDE_DIRS}
219   ${EFLDEPS_INCLUDE_DIRS}
220   ${EVAS_INCLUDE_DIRS}
221   ${Freetype_INCLUDE_DIRS}
222   ${ICU_INCLUDE_DIRS}
223   ${LIBXML2_INCLUDE_DIR}
224   ${LIBXSLT_INCLUDE_DIRS}
225   ${SQLITE_INCLUDE_DIRS}
226 )
227
228 IF (ENABLE_VIDEO)
229   LIST(APPEND WebCore_INCLUDE_DIRECTORIES
230     ${GStreamer-App_INCLUDE_DIRS}
231     ${GStreamer-Interfaces_INCLUDE_DIRS}
232     ${GStreamer-Pbutils_INCLUDE_DIRS}
233     ${GStreamer-Video_INCLUDE_DIRS}
234   )
235 ENDIF ()
236
237
238 IF (ENABLE_GLIB_SUPPORT)
239   LIST(APPEND WebCore_LIBRARIES
240     ${GDK_LIBRARIES}
241     ${Glib_LIBRARIES}
242   )
243   LIST(APPEND WebCore_INCLUDE_DIRECTORIES
244     ${GDK_INCLUDE_DIRS}
245     ${Glib_INCLUDE_DIRS}
246   )
247 ENDIF ()
248
249 IF (WTF_USE_SOUP)
250   LIST(APPEND WebCore_INCLUDE_DIRECTORIES
251     ${LIBSOUP24_INCLUDE_DIRS}
252   )
253 ENDIF ()
254
255 IF (WTF_USE_CURL)
256   LIST(APPEND WebCore_INCLUDE_DIRECTORIES
257     ${CURL_INCLUDE_DIRS}
258   )
259 ENDIF ()