Changeset 238913 in webkit


Ignore:
Timestamp:
Dec 5, 2018, 3:25:47 PM (7 years ago)
Author:
don.olmstead@sony.com
Message:

[PlayStation] Enable WebCore
https://bugs.webkit.org/show_bug.cgi?id=192384

Reviewed by Brent Fulgham.

.:

Adds CMake options for building WebCore on PlayStation.

  • Source/cmake/FindLibPSL.cmake:
  • Source/cmake/FindNghttp2.cmake: Copied from Source/cmake/FindWPE.cmake.
  • Source/cmake/FindPixman.cmake: Added.
  • Source/cmake/FindWPE.cmake:
  • Source/cmake/OptionsPlayStation.cmake:

Source/WebCore:

Implements WebCore for the PlayStation platform.

  • PlatformPlayStation.cmake: Added.
  • loader/cache/CachedResourceLoader.cpp:
  • platform/generic/KeyedDecoderGeneric.cpp: Added.

(WebCore::KeyedDecoder::decoder):
(WebCore::KeyedDecoderGeneric::KeyedDecoderGeneric):
(WebCore::KeyedDecoderGeneric::~KeyedDecoderGeneric):
(WebCore::KeyedDecoderGeneric::decodeBytes):
(WebCore::KeyedDecoderGeneric::decodeBool):
(WebCore::KeyedDecoderGeneric::decodeUInt32):
(WebCore::KeyedDecoderGeneric::decodeUInt64):
(WebCore::KeyedDecoderGeneric::decodeInt32):
(WebCore::KeyedDecoderGeneric::decodeInt64):
(WebCore::KeyedDecoderGeneric::decodeFloat):
(WebCore::KeyedDecoderGeneric::decodeDouble):
(WebCore::KeyedDecoderGeneric::decodeString):
(WebCore::KeyedDecoderGeneric::beginObject):
(WebCore::KeyedDecoderGeneric::endObject):
(WebCore::KeyedDecoderGeneric::beginArray):
(WebCore::KeyedDecoderGeneric::beginArrayElement):
(WebCore::KeyedDecoderGeneric::endArrayElement):
(WebCore::KeyedDecoderGeneric::endArray):

  • platform/generic/KeyedDecoderGeneric.h: Added.
  • platform/generic/KeyedEncoderGeneric.cpp: Added.

(WebCore::KeyedEncoder::encoder):
(WebCore::KeyedEncoderGeneric::KeyedEncoderGeneric):
(WebCore::KeyedEncoderGeneric::~KeyedEncoderGeneric):
(WebCore::KeyedEncoderGeneric::encodeBytes):
(WebCore::KeyedEncoderGeneric::encodeBool):
(WebCore::KeyedEncoderGeneric::encodeUInt32):
(WebCore::KeyedEncoderGeneric::encodeUInt64):
(WebCore::KeyedEncoderGeneric::encodeInt32):
(WebCore::KeyedEncoderGeneric::encodeInt64):
(WebCore::KeyedEncoderGeneric::encodeFloat):
(WebCore::KeyedEncoderGeneric::encodeDouble):
(WebCore::KeyedEncoderGeneric::encodeString):
(WebCore::KeyedEncoderGeneric::beginObject):
(WebCore::KeyedEncoderGeneric::endObject):
(WebCore::KeyedEncoderGeneric::beginArray):
(WebCore::KeyedEncoderGeneric::beginArrayElement):
(WebCore::KeyedEncoderGeneric::endArrayElement):
(WebCore::KeyedEncoderGeneric::endArray):
(WebCore::KeyedEncoderGeneric::finishEncoding):

  • platform/generic/KeyedEncoderGeneric.h: Added.
  • platform/network/curl/NetworkStorageSessionCurl.cpp:

(WebCore::defaultCookieJarPath):

  • platform/network/playstation/CurlSSLHandlePlayStation.cpp: Added.

(WebCore::getCACertPathEnv):
(WebCore::CurlSSLHandle::platformInitialize):

  • platform/network/playstation/NetworkStateNotifierPlayStation.cpp: Added.

(WebCore::NetworkStateNotifier::updateStateWithoutNotifying):
(WebCore::NetworkStateNotifier::startObserving):

  • platform/playstation/EventLoopPlayStation.cpp: Added.

(WebCore::EventLoop::cycle):

  • platform/playstation/MIMETypeRegistryPlayStation.cpp: Added.

(WebCore::MIMETypeRegistry::getMIMETypeForExtension):
(WebCore::MIMETypeRegistry::isApplicationPluginMIMEType):
(WebCore::MIMETypeRegistry::getPreferredExtensionForMIMEType):

  • platform/playstation/PlatformScreenPlayStation.cpp: Added.

(WebCore::screenDepth):
(WebCore::screenDepthPerComponent):
(WebCore::screenIsMonochrome):
(WebCore::screenHasInvertedColors):
(WebCore::screenRect):
(WebCore::screenAvailableRect):
(WebCore::screenSupportsExtendedColor):

  • platform/playstation/ScrollbarThemePlayStation.cpp: Added.

(WebCore::ScrollbarTheme::nativeTheme):
(WebCore::ScrollbarThemePlayStation::scrollbarThickness):
(WebCore::ScrollbarThemePlayStation::hasButtons):
(WebCore::ScrollbarThemePlayStation::hasThumb):
(WebCore::ScrollbarThemePlayStation::backButtonRect):
(WebCore::ScrollbarThemePlayStation::forwardButtonRect):
(WebCore::ScrollbarThemePlayStation::trackRect):
(WebCore::ScrollbarThemePlayStation::paintTrackBackground):
(WebCore::ScrollbarThemePlayStation::paintThumb):

  • platform/playstation/ScrollbarThemePlayStation.h: Added.
  • platform/playstation/UserAgentPlayStation.cpp: Added.

(WebCore::standardUserAgent):
(WebCore::standardUserAgentForURL):

  • rendering/RenderThemePlayStation.cpp: Added.

(WebCore::RenderTheme::singleton):
(WebCore::RenderThemePlayStation::updateCachedSystemFontDescription const):

  • rendering/RenderThemePlayStation.h: Added.

Source/WebCore/PAL:

Implements PAL for the PlayStation platform.

  • pal/PlatformPlayStation.cmake: Added.
Location:
trunk
Files:
19 added
8 edited
1 copied

Legend:

Unmodified
Added
Removed
  • trunk/ChangeLog

    r238853 r238913  
     12018-12-05  Don Olmstead  <don.olmstead@sony.com>
     2
     3        [PlayStation] Enable WebCore
     4        https://bugs.webkit.org/show_bug.cgi?id=192384
     5
     6        Reviewed by Brent Fulgham.
     7
     8        Adds CMake options for building WebCore on PlayStation.
     9
     10        * Source/cmake/FindLibPSL.cmake:
     11        * Source/cmake/FindNghttp2.cmake: Copied from Source/cmake/FindWPE.cmake.
     12        * Source/cmake/FindPixman.cmake: Added.
     13        * Source/cmake/FindWPE.cmake:
     14        * Source/cmake/OptionsPlayStation.cmake:
     15
    1162018-12-04  Carlos Eduardo Ramalho  <cadubentzen@gmail.com>
    217
  • trunk/Source/WebCore/ChangeLog

    r238912 r238913  
     12018-12-05  Don Olmstead  <don.olmstead@sony.com>
     2
     3        [PlayStation] Enable WebCore
     4        https://bugs.webkit.org/show_bug.cgi?id=192384
     5
     6        Reviewed by Brent Fulgham.
     7
     8        Implements WebCore for the PlayStation platform.
     9
     10        * PlatformPlayStation.cmake: Added.
     11        * loader/cache/CachedResourceLoader.cpp:
     12        * platform/generic/KeyedDecoderGeneric.cpp: Added.
     13        (WebCore::KeyedDecoder::decoder):
     14        (WebCore::KeyedDecoderGeneric::KeyedDecoderGeneric):
     15        (WebCore::KeyedDecoderGeneric::~KeyedDecoderGeneric):
     16        (WebCore::KeyedDecoderGeneric::decodeBytes):
     17        (WebCore::KeyedDecoderGeneric::decodeBool):
     18        (WebCore::KeyedDecoderGeneric::decodeUInt32):
     19        (WebCore::KeyedDecoderGeneric::decodeUInt64):
     20        (WebCore::KeyedDecoderGeneric::decodeInt32):
     21        (WebCore::KeyedDecoderGeneric::decodeInt64):
     22        (WebCore::KeyedDecoderGeneric::decodeFloat):
     23        (WebCore::KeyedDecoderGeneric::decodeDouble):
     24        (WebCore::KeyedDecoderGeneric::decodeString):
     25        (WebCore::KeyedDecoderGeneric::beginObject):
     26        (WebCore::KeyedDecoderGeneric::endObject):
     27        (WebCore::KeyedDecoderGeneric::beginArray):
     28        (WebCore::KeyedDecoderGeneric::beginArrayElement):
     29        (WebCore::KeyedDecoderGeneric::endArrayElement):
     30        (WebCore::KeyedDecoderGeneric::endArray):
     31        * platform/generic/KeyedDecoderGeneric.h: Added.
     32        * platform/generic/KeyedEncoderGeneric.cpp: Added.
     33        (WebCore::KeyedEncoder::encoder):
     34        (WebCore::KeyedEncoderGeneric::KeyedEncoderGeneric):
     35        (WebCore::KeyedEncoderGeneric::~KeyedEncoderGeneric):
     36        (WebCore::KeyedEncoderGeneric::encodeBytes):
     37        (WebCore::KeyedEncoderGeneric::encodeBool):
     38        (WebCore::KeyedEncoderGeneric::encodeUInt32):
     39        (WebCore::KeyedEncoderGeneric::encodeUInt64):
     40        (WebCore::KeyedEncoderGeneric::encodeInt32):
     41        (WebCore::KeyedEncoderGeneric::encodeInt64):
     42        (WebCore::KeyedEncoderGeneric::encodeFloat):
     43        (WebCore::KeyedEncoderGeneric::encodeDouble):
     44        (WebCore::KeyedEncoderGeneric::encodeString):
     45        (WebCore::KeyedEncoderGeneric::beginObject):
     46        (WebCore::KeyedEncoderGeneric::endObject):
     47        (WebCore::KeyedEncoderGeneric::beginArray):
     48        (WebCore::KeyedEncoderGeneric::beginArrayElement):
     49        (WebCore::KeyedEncoderGeneric::endArrayElement):
     50        (WebCore::KeyedEncoderGeneric::endArray):
     51        (WebCore::KeyedEncoderGeneric::finishEncoding):
     52        * platform/generic/KeyedEncoderGeneric.h: Added.
     53        * platform/network/curl/NetworkStorageSessionCurl.cpp:
     54        (WebCore::defaultCookieJarPath):
     55        * platform/network/playstation/CurlSSLHandlePlayStation.cpp: Added.
     56        (WebCore::getCACertPathEnv):
     57        (WebCore::CurlSSLHandle::platformInitialize):
     58        * platform/network/playstation/NetworkStateNotifierPlayStation.cpp: Added.
     59        (WebCore::NetworkStateNotifier::updateStateWithoutNotifying):
     60        (WebCore::NetworkStateNotifier::startObserving):
     61        * platform/playstation/EventLoopPlayStation.cpp: Added.
     62        (WebCore::EventLoop::cycle):
     63        * platform/playstation/MIMETypeRegistryPlayStation.cpp: Added.
     64        (WebCore::MIMETypeRegistry::getMIMETypeForExtension):
     65        (WebCore::MIMETypeRegistry::isApplicationPluginMIMEType):
     66        (WebCore::MIMETypeRegistry::getPreferredExtensionForMIMEType):
     67        * platform/playstation/PlatformScreenPlayStation.cpp: Added.
     68        (WebCore::screenDepth):
     69        (WebCore::screenDepthPerComponent):
     70        (WebCore::screenIsMonochrome):
     71        (WebCore::screenHasInvertedColors):
     72        (WebCore::screenRect):
     73        (WebCore::screenAvailableRect):
     74        (WebCore::screenSupportsExtendedColor):
     75        * platform/playstation/ScrollbarThemePlayStation.cpp: Added.
     76        (WebCore::ScrollbarTheme::nativeTheme):
     77        (WebCore::ScrollbarThemePlayStation::scrollbarThickness):
     78        (WebCore::ScrollbarThemePlayStation::hasButtons):
     79        (WebCore::ScrollbarThemePlayStation::hasThumb):
     80        (WebCore::ScrollbarThemePlayStation::backButtonRect):
     81        (WebCore::ScrollbarThemePlayStation::forwardButtonRect):
     82        (WebCore::ScrollbarThemePlayStation::trackRect):
     83        (WebCore::ScrollbarThemePlayStation::paintTrackBackground):
     84        (WebCore::ScrollbarThemePlayStation::paintThumb):
     85        * platform/playstation/ScrollbarThemePlayStation.h: Added.
     86        * platform/playstation/UserAgentPlayStation.cpp: Added.
     87        (WebCore::standardUserAgent):
     88        (WebCore::standardUserAgentForURL):
     89        * rendering/RenderThemePlayStation.cpp: Added.
     90        (WebCore::RenderTheme::singleton):
     91        (WebCore::RenderThemePlayStation::updateCachedSystemFontDescription const):
     92        * rendering/RenderThemePlayStation.h: Added.
     93
    1942018-12-05  Ryosuke Niwa  <rniwa@webkit.org>
    295
  • trunk/Source/WebCore/PAL/ChangeLog

    r238791 r238913  
     12018-12-05  Don Olmstead  <don.olmstead@sony.com>
     2
     3        [PlayStation] Enable WebCore
     4        https://bugs.webkit.org/show_bug.cgi?id=192384
     5
     6        Reviewed by Brent Fulgham.
     7
     8        Implements PAL for the PlayStation platform.
     9
     10        * pal/PlatformPlayStation.cmake: Added.
     11
    1122018-12-02  Zalan Bujtas  <zalan@apple.com>
    213
  • trunk/Source/WebCore/loader/cache/CachedResourceLoader.cpp

    r236927 r238913  
    4242#include "ContentExtensionRule.h"
    4343#include "ContentSecurityPolicy.h"
     44#include "CrossOriginAccessControl.h"
    4445#include "DOMWindow.h"
    4546#include "DiagnosticLoggingClient.h"
  • trunk/Source/WebCore/platform/network/curl/NetworkStorageSessionCurl.cpp

    r238771 r238913  
    5252        return cookieJarPath;
    5353
     54#if PLATFORM(WIN)
    5455    return FileSystem::pathByAppendingComponent(FileSystem::localUserSpecificStorageDirectory(), defaultFileName);
     56#else
     57    // FIXME: https://bugs.webkit.org/show_bug.cgi?id=192417
     58    return defaultFileName;
     59#endif
    5560}
    5661
  • trunk/Source/cmake/FindLibPSL.cmake

    r237118 r238913  
    5555endif ()
    5656
    57 if ("${LibPSL_FIND_VERSION}" VERSION_GREATER "${LIBPSL_VERSION}")
    58     message(FATAL_ERROR "Required version (" ${LibPSL_FIND_VERSION} ") is higher than found version (" ${LIBPSL_VERSION} ")")
    59 endif ()
    60 
    6157include(FindPackageHandleStandardArgs)
    62 find_package_handle_standard_args(LIBPSL REQUIRED_VARS LIBPSL_INCLUDE_DIRS LIBPSL_LIBRARIES)
     58find_package_handle_standard_args(LibPSL REQUIRED_VARS LIBPSL_INCLUDE_DIRS LIBPSL_LIBRARIES
     59                                         VERSION_VAR LIBPSL_VERSION)
    6360
    6461mark_as_advanced(
  • trunk/Source/cmake/FindNghttp2.cmake

    r238912 r238913  
    1 # - Try to find WPE.
    2 # Once done, this will define
     1# - Try to find nghttp2
     2# This module defines the following variables:
    33#
    4 WPE_FOUND - system has WPE.
    5 WPE_INCLUDE_DIRS - the WPE include directories
    6 WPE_LIBRARIES - link these to use WPE.
     4NGHTTP2_FOUND - nghttp2 was found
     5NGHTTP2_INCLUDE_DIRS - the nghttp2 include directories
     6NGHTTP2_LIBRARIES - link these to use nghttp2
    77#
    8 # Copyright (C) 2016 Igalia S.L.
     8# Copyright (C) 2018 Sony Interactive Entertainment Inc.
    99#
    1010# Redistribution and use in source and binary forms, with or without
     
    3030
    3131find_package(PkgConfig)
    32 pkg_check_modules(PC_WPE QUIET wpe-0.2)
     32pkg_check_modules(PC_NGHTTP2 QUIET nghttp2)
    3333
    34 find_path(WPE_INCLUDE_DIRS
    35     NAMES wpe/wpe.h
    36     HINTS ${PC_WPE_INCLUDEDIR} ${PC_WPE_INCLUDE_DIRS}
     34find_path(NGHTTP2_INCLUDE_DIRS
     35    NAMES nghttp2.h
     36    HINTS ${PC_NGHTTP2_INCLUDEDIR}
     37          ${PC_NGHTTP2_INCLUDE_DIRS}
     38    PATH_SUFFIXES nghttp2
    3739)
    3840
    39 find_library(WPE_LIBRARIES
    40     NAMES wpe-0.2
    41     HINTS ${PC_WPE_LIBDIR} ${PC_WPE_LIBRARY_DIRS}
     41find_library(NGHTTP2_LIBRARIES
     42    NAMES nghttp2
     43    HINTS ${PC_NGHTTP2_LIBDIR}
     44          ${PC_NGHTTP2_LIBRARY_DIRS}
    4245)
    4346
    44 mark_as_advanced(WPE_INCLUDE_DIRS WPE_LIBRARIES)
     47if (NGHTTP2_INCLUDE_DIRS)
     48    if (EXISTS "${NGHTTP2_INCLUDE_DIRS}/nghttp2ver.h")
     49        file(READ "${NGHTTP2_INCLUDE_DIRS}/nghttp2ver.h" _nghttp2_version_content)
     50
     51        string(REGEX MATCH "#define +NGHTTP2_VERSION +\"([0-9]+\.[0-9]+\.[0-9]+)\"" _dummy "${_nghttp2_version_content}")
     52        set(NGHTTP2_VERSION "${CMAKE_MATCH_1}")
     53    endif ()
     54endif ()
    4555
    4656include(FindPackageHandleStandardArgs)
    47 find_package_handle_standard_args(WPE REQUIRED_VARS WPE_INCLUDE_DIRS WPE_LIBRARIES)
     57find_package_handle_standard_args(Nghttp2 REQUIRED_VARS NGHTTP2_INCLUDE_DIRS NGHTTP2_LIBRARIES
     58                                          VERSION_VAR NGHTTP2_VERSION)
     59
     60mark_as_advanced(
     61    NGHTTP2_INCLUDE_DIRS
     62    NGHTTP2_LIBRARIES
     63)
  • trunk/Source/cmake/FindWPE.cmake

    r235116 r238913  
    3838
    3939find_library(WPE_LIBRARIES
    40     NAMES wpe-0.2
     40    NAMES wpe-0.2 wpe
    4141    HINTS ${PC_WPE_LIBDIR} ${PC_WPE_LIBRARY_DIRS}
    4242)
  • trunk/Source/cmake/OptionsPlayStation.cmake

    r237621 r238913  
    1212# Disable Remote Inspector until implementation lands
    1313WEBKIT_OPTION_DEFAULT_PORT_VALUE(ENABLE_REMOTE_INSPECTOR PRIVATE OFF)
     14
     15# Enabled features
     16WEBKIT_OPTION_DEFAULT_PORT_VALUE(ENABLE_ASYNC_SCROLLING PRIVATE ON)
     17WEBKIT_OPTION_DEFAULT_PORT_VALUE(ENABLE_SMOOTH_SCROLLING PRIVATE ON)
     18
     19# Experimental features
     20WEBKIT_OPTION_DEFAULT_PORT_VALUE(ENABLE_APPLICATION_MANIFEST PRIVATE ${ENABLE_EXPERIMENTAL_FEATURES})
     21WEBKIT_OPTION_DEFAULT_PORT_VALUE(ENABLE_CSS_PAINTING_API PRIVATE ${ENABLE_EXPERIMENTAL_FEATURES})
     22WEBKIT_OPTION_DEFAULT_PORT_VALUE(ENABLE_FILTERS_LEVEL_2 PRIVATE ${ENABLE_EXPERIMENTAL_FEATURES})
     23WEBKIT_OPTION_DEFAULT_PORT_VALUE(ENABLE_SERVICE_WORKER PRIVATE ${ENABLE_EXPERIMENTAL_FEATURES})
     24WEBKIT_OPTION_DEFAULT_PORT_VALUE(ENABLE_VARIATION_FONTS PRIVATE ${ENABLE_EXPERIMENTAL_FEATURES})
     25WEBKIT_OPTION_DEFAULT_PORT_VALUE(ENABLE_WEBGL PRIVATE ${ENABLE_EXPERIMENTAL_FEATURES})
     26
     27# Features to investigate
     28#
     29# Features that are temporarily turned off because an implementation is not
     30# present at this time
     31WEBKIT_OPTION_DEFAULT_PORT_VALUE(ENABLE_GAMEPAD PRIVATE OFF)
     32WEBKIT_OPTION_DEFAULT_PORT_VALUE(ENABLE_WEB_AUDIO PRIVATE OFF)
     33
     34# No support planned
     35WEBKIT_OPTION_DEFAULT_PORT_VALUE(ENABLE_FTPDIR PRIVATE OFF)
     36WEBKIT_OPTION_DEFAULT_PORT_VALUE(ENABLE_GEOLOCATION PRIVATE OFF)
     37WEBKIT_OPTION_DEFAULT_PORT_VALUE(ENABLE_ICONDATABASE PRIVATE OFF)
     38WEBKIT_OPTION_DEFAULT_PORT_VALUE(ENABLE_LEGACY_CUSTOM_PROTOCOL_MANAGER PRIVATE OFF)
     39WEBKIT_OPTION_DEFAULT_PORT_VALUE(ENABLE_MATHML PRIVATE OFF)
     40WEBKIT_OPTION_DEFAULT_PORT_VALUE(ENABLE_METER_ELEMENT PRIVATE OFF)
     41WEBKIT_OPTION_DEFAULT_PORT_VALUE(ENABLE_NETSCAPE_PLUGIN_API PRIVATE OFF)
     42WEBKIT_OPTION_DEFAULT_PORT_VALUE(ENABLE_NOTIFICATIONS PRIVATE OFF)
     43WEBKIT_OPTION_DEFAULT_PORT_VALUE(ENABLE_SVG_FONTS PRIVATE OFF)
     44WEBKIT_OPTION_DEFAULT_PORT_VALUE(ENABLE_USERSELECT_ALL PRIVATE OFF)
     45WEBKIT_OPTION_DEFAULT_PORT_VALUE(ENABLE_USER_MESSAGE_HANDLERS PRIVATE OFF)
     46WEBKIT_OPTION_DEFAULT_PORT_VALUE(ENABLE_WEB_CRYPTO PRIVATE OFF)
     47WEBKIT_OPTION_DEFAULT_PORT_VALUE(ENABLE_XSLT PRIVATE OFF)
    1448
    1549WEBKIT_OPTION_END()
     
    3973find_library(POSIX_COMPATABILITY_LIBRARY posixex)
    4074
     75find_package(Cairo REQUIRED)
     76find_package(CURL REQUIRED)
     77find_package(EGL REQUIRED)
     78find_package(Fontconfig REQUIRED)
     79find_package(Freetype REQUIRED)
     80find_package(HarfBuzz REQUIRED)
     81find_package(ICU REQUIRED)
     82find_package(JPEG REQUIRED)
     83find_package(LibPSL REQUIRED)
     84find_package(LibXml2 REQUIRED)
     85find_package(Nghttp2 REQUIRED)
     86find_package(OpenSSL REQUIRED)
     87find_package(Pixman REQUIRED)
     88find_package(PNG REQUIRED)
     89find_package(Sqlite REQUIRED)
    4190find_package(Threads REQUIRED)
    42 find_package(ICU REQUIRED)
     91find_package(WebP REQUIRED)
     92find_package(WPE REQUIRED)
     93find_package(ZLIB REQUIRED)
     94
     95# Emulate what pkg-config would do with statically compiled libraries
     96# FIXME: https://bugs.webkit.org/show_bug.cgi?id=192410
     97list(APPEND CAIRO_LIBRARIES ${PIXMAN_LIBRARIES})
     98list(APPEND CURL_LIBRARIES ${NGHTTP2_LIBRARIES})
     99
     100# Temporarily turn off Accessibility support
     101SET_AND_EXPOSE_TO_BUILD(HAVE_ACCESSIBILITY OFF)
     102
     103SET_AND_EXPOSE_TO_BUILD(HAVE_PTHREAD_SETNAME_NP ON)
    43104
    44105SET_AND_EXPOSE_TO_BUILD(USE_EXPORT_MACROS ON)
    45 SET_AND_EXPOSE_TO_BUILD(HAVE_PTHREAD_SETNAME_NP ON)
     106
     107SET_AND_EXPOSE_TO_BUILD(USE_CAIRO ON)
     108SET_AND_EXPOSE_TO_BUILD(USE_CURL ON)
     109SET_AND_EXPOSE_TO_BUILD(USE_FREETYPE ON)
     110SET_AND_EXPOSE_TO_BUILD(USE_HARFBUZZ ON)
     111SET_AND_EXPOSE_TO_BUILD(USE_LIBWPE ON)
     112
     113# Rendering options
     114SET_AND_EXPOSE_TO_BUILD(ENABLE_GRAPHICS_CONTEXT_3D ON)
     115SET_AND_EXPOSE_TO_BUILD(USE_COORDINATED_GRAPHICS ON)
     116SET_AND_EXPOSE_TO_BUILD(USE_COORDINATED_GRAPHICS_THREADED ON)
     117SET_AND_EXPOSE_TO_BUILD(USE_EGL ON)
     118SET_AND_EXPOSE_TO_BUILD(USE_NICOSIA TRUE)
     119SET_AND_EXPOSE_TO_BUILD(USE_OPENGL_ES ON)
     120SET_AND_EXPOSE_TO_BUILD(USE_TEXTURE_MAPPER ON)
     121SET_AND_EXPOSE_TO_BUILD(USE_TEXTURE_MAPPER_GL ON)
     122SET_AND_EXPOSE_TO_BUILD(USE_TILED_BACKING_STORE ON)
     123SET_AND_EXPOSE_TO_BUILD(USE_UNIX_DOMAIN_SOCKETS ON)
    46124
    47125set(WTF_LIBRARY_TYPE STATIC)
    48126set(JavaScriptCore_LIBRARY_TYPE SHARED)
     127set(WebCore_LIBRARY_TYPE STATIC)
    49128
    50129set(ENABLE_API_TESTS ON)
    51 set(ENABLE_WEBCORE OFF)
     130set(ENABLE_WEBCORE ON)
    52131set(ENABLE_WEBKIT OFF)
    53132set(ENABLE_WEBKIT_LEGACY OFF)
Note: See TracChangeset for help on using the changeset viewer.