[webkit-changes] [WebKit/WebKit] 2c0eb7: [CMake] Centralize USE_WOFF2 option

Don Olmstead noreply at github.com
Fri Feb 9 09:38:34 PST 2024


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 2c0eb789a8806259d6264c949b27fbabb62a2a1a
      https://github.com/WebKit/WebKit/commit/2c0eb789a8806259d6264c949b27fbabb62a2a1a
  Author: Don Olmstead <don.olmstead at sony.com>
  Date:   2024-02-09 (Fri, 09 Feb 2024)

  Changed paths:
    M Source/WebCore/CMakeLists.txt
    M Source/cmake/OptionsGTK.cmake
    M Source/cmake/OptionsPlayStation.cmake
    M Source/cmake/OptionsWPE.cmake
    M Source/cmake/OptionsWin.cmake
    M Source/cmake/WebKitFeatures.cmake
    M Tools/Scripts/webkitperl/FeatureList.pm

  Log Message:
  -----------
  [CMake] Centralize USE_WOFF2 option
https://bugs.webkit.org/show_bug.cgi?id=269031

Reviewed by Michael Catanzaro.

The `USE_WOFF2` option is common to almost all CMake ports so move the option
into `WebKitFeatures.cmake` and provide a flag in `FeatureList.pm`. Set the
default value for all CMake ports. Modify the `find_package` logic so its the
same across all ports.

PlayStation port uses WOFF2 support within FreeType so turn it `OFF`.

* Source/WebCore/CMakeLists.txt:
* Source/cmake/OptionsGTK.cmake:
* Source/cmake/OptionsPlayStation.cmake:
* Source/cmake/OptionsWPE.cmake:
* Source/cmake/OptionsWin.cmake:
* Source/cmake/WebKitFeatures.cmake:
* Tools/Scripts/webkitperl/FeatureList.pm:

Canonical link: https://commits.webkit.org/274370@main




More information about the webkit-changes mailing list