⚠ Archived content — this site is no longer maintained.   Current WebKit documentation is at docs.webkit.org.

Changeset 263829 in webkit


Ignore:
Timestamp:
Jul 1, 2020, 7:58:07 PM (6 years ago)
Author:
don.olmstead@sony.com
Message:

[CMake] Add WOFF2 targets
https://bugs.webkit.org/show_bug.cgi?id=213865

Reviewed by Fujii Hironori.

.:

Rework the Find module for WOFF2 to provide targets for libwoff2common and
libwoff2dec. Previously only libwoff2dec was specified in the find module. This
is because pkg-config works on that platform and because shared libraries are
supported. Neither is true for Windows so the module was expanded in anticipation
of support for WinCairo.

  • Source/cmake/FindWOFF2.cmake: Added.
  • Source/cmake/FindWOFF2Dec.cmake: Removed.
  • Source/cmake/OptionsGTK.cmake:
  • Source/cmake/OptionsWPE.cmake:

Source/WebCore:

Use the WOFF:: targets when USE_WOFF2 is set.

  • CMakeLists.txt:
Location:
trunk
Files:
1 added
1 deleted
5 edited

Legend:

Unmodified
Added
Removed
  • trunk/ChangeLog

    r263777 r263829  
     12020-07-01  Don Olmstead  <don.olmstead@sony.com>
     2
     3        [CMake] Add WOFF2 targets
     4        https://bugs.webkit.org/show_bug.cgi?id=213865
     5
     6        Reviewed by Fujii Hironori.
     7
     8        Rework the Find module for WOFF2 to provide targets for libwoff2common and
     9        libwoff2dec. Previously only libwoff2dec was specified in the find module. This
     10        is because pkg-config works on that platform and because shared libraries are
     11        supported. Neither is true for Windows so the module was expanded in anticipation
     12        of support for WinCairo.
     13
     14        * Source/cmake/FindWOFF2.cmake: Added.
     15        * Source/cmake/FindWOFF2Dec.cmake: Removed.
     16        * Source/cmake/OptionsGTK.cmake:
     17        * Source/cmake/OptionsWPE.cmake:
     18
    1192020-06-30  Andres Gonzalez  <andresg_22@apple.com>
    220
  • trunk/Source/WebCore/CMakeLists.txt

    r263403 r263829  
    15511551
    15521552if (USE_WOFF2)
    1553   list(APPEND WebCore_PRIVATE_INCLUDE_DIRECTORIES "${WOFF2DEC_INCLUDE_DIRS}")
    1554   list(APPEND WebCore_LIBRARIES "${WOFF2DEC_LIBRARIES}")
     1553  list(APPEND WebCore_LIBRARIES WOFF2::dec)
    15551554endif ()
    15561555
  • trunk/Source/WebCore/ChangeLog

    r263823 r263829  
     12020-07-01  Don Olmstead  <don.olmstead@sony.com>
     2
     3        [CMake] Add WOFF2 targets
     4        https://bugs.webkit.org/show_bug.cgi?id=213865
     5
     6        Reviewed by Fujii Hironori.
     7
     8        Use the WOFF:: targets when USE_WOFF2 is set.
     9
     10        * CMakeLists.txt:
     11
    1122020-07-01  Chris Fleizach  <cfleizach@apple.com>
    213
  • trunk/Source/cmake/OptionsGTK.cmake

    r263501 r263829  
    413413
    414414if (USE_WOFF2)
    415     find_package(WOFF2Dec 1.0.2)
    416     if (NOT WOFF2DEC_FOUND)
     415    find_package(WOFF2 1.0.2 COMPONENTS dec)
     416    if (NOT WOFF2_FOUND)
    417417       message(FATAL_ERROR "libwoff2dec is needed for USE_WOFF2.")
    418418    endif ()
  • trunk/Source/cmake/OptionsWPE.cmake

    r261462 r263829  
    144144
    145145if (USE_WOFF2)
    146     find_package(WOFF2Dec 1.0.2)
    147     if (NOT WOFF2DEC_FOUND)
     146    find_package(WOFF2 1.0.2 COMPONENTS dec)
     147    if (NOT WOFF2_FOUND)
    148148        message(FATAL_ERROR "liwoff2dec is needed for USE_WOFF2.")
    149149    endif ()
Note: See TracChangeset for help on using the changeset viewer.