Home | History | Annotate | Download | only in WebCore
      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   "${DERIVED_SOURCES_DIR}"
     17 )
     18 
     19 LIST(APPEND WebCore_SOURCES
     20   accessibility/efl/AccessibilityObjectEfl.cpp
     21   bindings/js/ScriptControllerEfl.cpp
     22   page/efl/DragControllerEfl.cpp
     23   page/efl/EventHandlerEfl.cpp
     24   page/efl/FrameEfl.cpp
     25   platform/efl/ClipboardEfl.cpp
     26   platform/efl/ContextMenuEfl.cpp
     27   platform/efl/ContextMenuItemEfl.cpp
     28   platform/efl/CursorEfl.cpp
     29   platform/efl/DragDataEfl.cpp
     30   platform/efl/DragImageEfl.cpp
     31   platform/efl/EventLoopEfl.cpp
     32   platform/efl/FileChooserEfl.cpp
     33   platform/efl/FileSystemEfl.cpp
     34   platform/efl/KURLEfl.cpp
     35   platform/efl/LanguageEfl.cpp
     36   platform/efl/LocalizedStringsEfl.cpp
     37   platform/efl/LoggingEfl.cpp
     38   platform/efl/MIMETypeRegistryEfl.cpp
     39   platform/efl/PasteboardEfl.cpp
     40   platform/efl/PlatformKeyboardEventEfl.cpp
     41   platform/efl/PlatformMouseEventEfl.cpp
     42   platform/efl/PlatformScreenEfl.cpp
     43   platform/efl/PlatformTouchEventEfl.cpp
     44   platform/efl/PlatformTouchPointEfl.cpp
     45   platform/efl/PlatformWheelEventEfl.cpp
     46   platform/efl/PopupMenuEfl.cpp
     47   platform/efl/RenderThemeEfl.cpp
     48   platform/efl/ScrollViewEfl.cpp
     49   platform/efl/ScrollbarEfl.cpp
     50   platform/efl/ScrollbarThemeEfl.cpp
     51   platform/efl/SearchPopupMenuEfl.cpp
     52   platform/efl/SharedBufferEfl.cpp
     53   platform/efl/SharedTimerEfl.cpp
     54   platform/efl/SoundEfl.cpp
     55   platform/efl/SystemTimeEfl.cpp
     56   platform/efl/TemporaryLinkStubs.cpp
     57   platform/efl/WidgetEfl.cpp
     58   platform/graphics/ImageSource.cpp
     59   platform/graphics/efl/FontEfl.cpp
     60   platform/graphics/efl/IconEfl.cpp
     61   platform/graphics/efl/ImageEfl.cpp
     62   platform/graphics/efl/IntPointEfl.cpp
     63   platform/graphics/efl/IntRectEfl.cpp
     64   platform/image-decoders/ImageDecoder.cpp
     65   platform/image-decoders/bmp/BMPImageDecoder.cpp
     66   platform/image-decoders/bmp/BMPImageReader.cpp
     67   platform/image-decoders/gif/GIFImageDecoder.cpp
     68   platform/image-decoders/gif/GIFImageReader.cpp
     69   platform/image-decoders/ico/ICOImageDecoder.cpp
     70   platform/image-decoders/jpeg/JPEGImageDecoder.cpp
     71   platform/image-decoders/png/PNGImageDecoder.cpp
     72   platform/image-decoders/webp/WEBPImageDecoder.cpp
     73   platform/posix/FileSystemPOSIX.cpp
     74   platform/text/efl/TextBreakIteratorInternalICUEfl.cpp
     75   plugins/PluginDataNone.cpp
     76 )
     77 
     78 IF (WTF_USE_CAIRO)
     79   LIST(APPEND WebCore_INCLUDE_DIRECTORIES
     80     "${WEBCORE_DIR}/platform/graphics/cairo"
     81   )
     82   LIST(APPEND WebCore_SOURCES
     83     platform/graphics/cairo/CairoUtilities.cpp
     84     platform/graphics/cairo/ContextShadowCairo.cpp
     85     platform/graphics/cairo/FontCairo.cpp
     86     platform/graphics/cairo/GradientCairo.cpp
     87     platform/graphics/cairo/GraphicsContextCairo.cpp
     88     platform/graphics/cairo/ImageBufferCairo.cpp
     89     platform/graphics/cairo/ImageCairo.cpp
     90     platform/graphics/cairo/OwnPtrCairo.cpp
     91     platform/graphics/cairo/PathCairo.cpp
     92     platform/graphics/cairo/PatternCairo.cpp
     93     platform/graphics/cairo/PlatformContextCairo.cpp
     94     platform/graphics/cairo/PlatformPathCairo.cpp
     95     platform/graphics/cairo/RefPtrCairo.cpp
     96     platform/graphics/cairo/TransformationMatrixCairo.cpp
     97 
     98     platform/image-decoders/cairo/ImageDecoderCairo.cpp
     99   )
    100 
    101   IF (WTF_USE_FREETYPE)
    102     LIST(APPEND WebCore_INCLUDE_DIRECTORIES
    103       "${WEBCORE_DIR}/platform/graphics/freetype"
    104     )
    105     LIST(APPEND WebCore_SOURCES
    106       platform/graphics/WOFFFileFormat.cpp
    107       platform/graphics/freetype/FontCacheFreeType.cpp
    108       platform/graphics/freetype/FontCustomPlatformDataFreeType.cpp
    109       platform/graphics/freetype/FontPlatformDataFreeType.cpp
    110       platform/graphics/freetype/GlyphPageTreeNodeFreeType.cpp
    111       platform/graphics/freetype/SimpleFontDataFreeType.cpp
    112     )
    113   ENDIF ()
    114 
    115   IF (WTF_USE_PANGO)
    116     LIST(APPEND WebCore_INCLUDE_DIRECTORIES
    117       "${WEBCORE_DIR}/platform/graphics/pango"
    118       ${Pango_INCLUDE_DIRS}
    119     )
    120     LIST(APPEND WebCore_SOURCES
    121       platform/graphics/pango/FontCachePango.cpp
    122       platform/graphics/pango/FontCustomPlatformDataPango.cpp
    123       platform/graphics/pango/FontPlatformDataPango.cpp
    124       platform/graphics/pango/GlyphPageTreeNodePango.cpp
    125       platform/graphics/pango/SimpleFontDataPango.cpp
    126     )
    127     LIST(APPEND WebCore_LIBRARIES
    128       ${Pango_LIBRARIES}
    129     )
    130   ENDIF ()
    131 ENDIF ()
    132 
    133 IF (WTF_USE_SOUP)
    134   LIST(APPEND WebCore_INCLUDE_DIRECTORIES
    135     "${WEBCORE_DIR}/platform/network/soup"
    136     "${WEBCORE_DIR}/platform/network/soup/cache"
    137     "${WEBCORE_DIR}/platform/network/soup/cache/webkit"
    138   )
    139   LIST(APPEND WebCore_SOURCES
    140     platform/network/soup/CookieJarSoup.cpp
    141     platform/network/soup/GOwnPtrSoup.cpp
    142     platform/network/soup/ResourceHandleSoup.cpp
    143     platform/network/soup/ResourceRequestSoup.cpp
    144     platform/network/soup/ResourceResponseSoup.cpp
    145     platform/network/soup/SocketStreamHandleSoup.cpp
    146     platform/network/soup/SoupURIUtils.cpp
    147   )
    148 ENDIF ()
    149 
    150 IF (WTF_USE_CURL)
    151   LIST(APPEND WebCore_INCLUDE_DIRECTORIES
    152     "${WEBCORE_DIR}/platform/network/curl"
    153   )
    154   LIST(APPEND WebCore_SOURCES
    155     platform/network/curl/CookieJarCurl.cpp
    156     platform/network/curl/DNSCurl.cpp
    157     platform/network/curl/FormDataStreamCurl.cpp
    158     platform/network/curl/ResourceHandleCurl.cpp
    159     platform/network/curl/ResourceHandleManager.cpp
    160     platform/network/curl/SocketStreamHandleCurl.cpp
    161   )
    162 ENDIF ()
    163 
    164 IF (WTF_USE_ICU_UNICODE)
    165   LIST(APPEND WebCore_SOURCES
    166     editing/SmartReplaceICU.cpp
    167     platform/text/TextEncodingDetectorICU.cpp
    168     platform/text/TextBreakIteratorICU.cpp
    169     platform/text/TextCodecICU.cpp
    170   )
    171 ENDIF ()
    172 
    173 IF (ENABLE_GEOLOCATION)
    174   LIST(APPEND WebCore_SOURCES
    175     platform/efl/GeolocationServiceEfl.cpp
    176   )
    177 ENDIF()
    178 
    179 IF (ENABLE_VIDEO)
    180   LIST(APPEND WebCore_INCLUDE_DIRECTORIES
    181     "${WEBCORE_DIR}/platform/graphics/gstreamer"
    182   )
    183   LIST(APPEND WebCore_SOURCES
    184     platform/graphics/gstreamer/GOwnPtrGStreamer.cpp
    185     platform/graphics/gstreamer/GRefPtrGStreamer.cpp
    186     platform/graphics/gstreamer/GStreamerGWorld.cpp
    187     platform/graphics/gstreamer/ImageGStreamerCairo.cpp
    188     platform/graphics/gstreamer/MediaPlayerPrivateGStreamer.cpp
    189     platform/graphics/gstreamer/PlatformVideoWindowEfl.cpp
    190     platform/graphics/gstreamer/VideoSinkGStreamer.cpp
    191     platform/graphics/gstreamer/WebKitWebSourceGStreamer.cpp
    192   )
    193 ENDIF ()
    194 
    195 LIST(APPEND WebCore_LIBRARIES
    196   ${Cairo_LIBRARIES}
    197   ${ECORE_X_LIBRARIES}
    198   ${EFLDEPS_LIBRARIES}
    199   ${EVAS_LIBRARIES}
    200   ${Freetype_LIBRARIES}
    201   ${ICU_LIBRARIES}
    202   ${LIBXML2_LIBRARIES}
    203   ${LIBXSLT_LIBRARIES}
    204   ${SQLITE_LIBRARIES}
    205 )
    206 
    207 IF (WTF_USE_SOUP)
    208   LIST(APPEND WebCore_LIBRARIES
    209     ${LIBSOUP24_LIBRARIES}
    210   )
    211 ENDIF ()
    212 
    213 IF (WTF_USE_CURL)
    214   LIST(APPEND WebCore_LIBRARIES
    215     ${CURL_LIBRARIES}
    216   )
    217 ENDIF ()
    218 
    219 IF (ENABLE_VIDEO)
    220   LIST(APPEND WebCore_LIBRARIES
    221     ${GStreamer-App_LIBRARIES}
    222     ${GStreamer-Interfaces_LIBRARIES}
    223     ${GStreamer-Pbutils_LIBRARIES}
    224     ${GStreamer-Video_LIBRARIES}
    225   )
    226 ENDIF ()
    227 
    228 LIST(APPEND WebCore_INCLUDE_DIRECTORIES
    229   ${Cairo_INCLUDE_DIRS}
    230   ${ECORE_X_INCLUDE_DIRS}
    231   ${EFLDEPS_INCLUDE_DIRS}
    232   ${EVAS_INCLUDE_DIRS}
    233   ${Freetype_INCLUDE_DIRS}
    234   ${ICU_INCLUDE_DIRS}
    235   ${LIBXML2_INCLUDE_DIR}
    236   ${LIBXSLT_INCLUDE_DIRS}
    237   ${SQLITE_INCLUDE_DIRS}
    238 )
    239 
    240 IF (ENABLE_VIDEO)
    241   LIST(APPEND WebCore_INCLUDE_DIRECTORIES
    242     ${GStreamer-App_INCLUDE_DIRS}
    243     ${GStreamer-Interfaces_INCLUDE_DIRS}
    244     ${GStreamer-Pbutils_INCLUDE_DIRS}
    245     ${GStreamer-Video_INCLUDE_DIRS}
    246   )
    247 ENDIF ()
    248 
    249 
    250 IF (ENABLE_GLIB_SUPPORT)
    251   LIST(APPEND WebCore_LIBRARIES
    252     ${Glib_LIBRARIES}
    253   )
    254   LIST(APPEND WebCore_INCLUDE_DIRECTORIES
    255     ${Glib_INCLUDE_DIRS}
    256   )
    257 ENDIF ()
    258 
    259 IF (WTF_USE_SOUP)
    260   LIST(APPEND WebCore_INCLUDE_DIRECTORIES
    261     ${LIBSOUP24_INCLUDE_DIRS}
    262   )
    263 ENDIF ()
    264 
    265 IF (WTF_USE_CURL)
    266   LIST(APPEND WebCore_INCLUDE_DIRECTORIES
    267     ${CURL_INCLUDE_DIRS}
    268   )
    269 ENDIF ()
    270 
    271 ADD_DEFINITIONS(-DWTF_USE_CROSS_PLATFORM_CONTEXT_MENUS=1)
    272