2010-06-09 Leandro Pereira <leandro@profusion.mobi>
[WebKit-https.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}/acessibility/efl"
14   "${WEBKIT_DIR}/efl/WebCoreSupport"
15   "${WEBKIT_DIR}/efl/ewk"
16 )
17
18 LIST(APPEND WebCore_SOURCES
19   accessibility/efl/AccessibilityObjectEfl.cpp
20   page/efl/DragControllerEfl.cpp
21   page/efl/EventHandlerEfl.cpp
22   page/efl/FrameEfl.cpp
23   platform/efl/ClipboardEfl.cpp
24   platform/efl/ContextMenuEfl.cpp
25   platform/efl/ContextMenuItemEfl.cpp
26   platform/efl/CursorEfl.cpp
27   platform/efl/DragDataEfl.cpp
28   platform/efl/DragImageEfl.cpp
29   platform/efl/EventLoopEfl.cpp
30   platform/efl/FileChooserEfl.cpp
31   platform/efl/FileSystemEfl.cpp
32   platform/efl/KURLEfl.cpp
33   platform/efl/Language.cpp
34   platform/efl/LocalizedStringsEfl.cpp
35   platform/efl/LoggingEfl.cpp
36   platform/efl/MIMETypeRegistryEfl.cpp
37   platform/efl/PasteboardEfl.cpp
38   platform/efl/PlatformKeyboardEventEfl.cpp
39   platform/efl/PlatformMouseEventEfl.cpp
40   platform/efl/PlatformScreenEfl.cpp
41   platform/efl/PlatformWheelEventEfl.cpp
42   platform/efl/PopupMenuEfl.cpp
43   platform/efl/RenderThemeEfl.cpp
44   platform/efl/ScrollViewEfl.cpp
45   platform/efl/ScrollbarEfl.cpp
46   platform/efl/ScrollbarThemeEfl.cpp
47   platform/efl/SearchPopupMenuEfl.cpp
48   platform/efl/SharedBufferEfl.cpp
49   platform/efl/SharedTimerEfl.cpp
50   platform/efl/SoundEfl.cpp
51   platform/efl/SystemTimeEfl.cpp
52   platform/efl/TemporaryLinkStubs.cpp
53   platform/efl/WidgetEfl.cpp
54   platform/graphics/efl/FloatRectEfl.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 )
63
64 IF (WTF_PLATFORM_CAIRO)
65   LIST(APPEND WebCore_INCLUDE_DIRECTORIES
66     "${WEBCORE_DIR}/platform/graphics/cairo"
67   )
68   LIST(APPEND WebCore_SOURCES
69     platform/graphics/cairo/FontCacheCairo.cpp
70     platform/graphics/cairo/FontCairo.cpp
71     platform/graphics/cairo/FontCustomPlatformData.cpp
72     platform/graphics/cairo/FontPlatformDataCairo.cpp
73     platform/graphics/cairo/GlyphPageTreeNodeCairo.cpp
74     platform/graphics/cairo/GradientCairo.cpp
75     platform/graphics/cairo/GraphicsContextCairo.cpp
76     platform/graphics/cairo/ImageBufferCairo.cpp
77     platform/graphics/cairo/ImageCairo.cpp
78     platform/graphics/cairo/PathCairo.cpp
79     platform/graphics/cairo/PatternCairo.cpp
80     platform/graphics/cairo/SimpleFontDataCairo.cpp
81     platform/graphics/cairo/TransformationMatrixCairo.cpp
82
83     platform/image-decoders/cairo/ImageDecoderCairo.cpp
84   )
85 ENDIF ()
86
87 IF (WTF_USE_SOUP)
88   LIST(APPEND WebCore_INCLUDE_DIRECTORIES
89     "${WEBCORE_DIR}/platform/network/soup"
90   )
91   LIST(APPEND WebCore_SOURCES
92     platform/network/soup/CookieJarSoup.cpp
93     platform/network/soup/GOwnPtrSoup.cpp
94     platform/network/soup/ResourceHandleSoup.cpp
95     platform/network/soup/ResourceRequestSoup.cpp
96     platform/network/soup/ResourceResponseSoup.cpp
97   )
98 ENDIF ()
99
100 IF (WTF_USE_ICU_UNICODE)
101   LIST(APPEND WebCore_SOURCES
102     editing/SmartReplaceICU.cpp
103     platform/text/TextEncodingDetectorICU.cpp
104     platform/text/TextBreakIteratorICU.cpp
105     platform/text/TextCodecICU.cpp
106   )
107 ENDIF ()
108
109 LIST(APPEND WebCore_LIBRARIES
110   ${Cairo_LIBRARIES}
111   ${ECORE_X_LIBRARIES}
112   ${EFLDEPS_LIBRARIES}
113   ${EVAS_LIBRARIES}
114   ${Freetype_LIBRARIES}
115   ${GDK_LIBRARIES}
116   ${Glib_LIBRARIES}
117   ${GTK_LIBRARIES}
118   ${ICU_LIBRARIES}
119   ${LIBSOUP24_LIBRARIES}
120   ${LIBXML2_LIBRARIES}
121   ${LIBXSLT_LIBRARIES}
122   ${Pango_LIBRARIES}
123   ${SQLITE_LIBRARIES}
124 )
125
126 LIST(APPEND WebCore_INCLUDE_DIRECTORIES
127   ${Cairo_INCLUDE_DIRS}
128   ${ECORE_X_INCLUDE_DIRS}
129   ${EFLDEPS_INCLUDE_DIRS}
130   ${EVAS_INCLUDE_DIRS}
131   ${Freetype_INCLUDE_DIRS}
132   ${GDK_INCLUDE_DIRS}
133   ${Glib_INCLUDE_DIRS}
134   ${GTK_INCLUDE_DIRS}
135   ${ICU_INCLUDE_DIRS}
136   ${LIBSOUP24_INCLUDE_DIRS}
137   ${LIBXML2_INCLUDE_DIRS}
138   ${LIBXSLT_INCLUDE_DIRS}
139   ${Pango_INCLUDE_DIRS}
140   ${SQLITE_INCLUDE_DIRS}
141 )