[webkit-changes] [WebKit/WebKit] 6f3176: [CMake] Centralize USE_LCMS option

Don Olmstead noreply at github.com
Thu Feb 8 17:23:07 PST 2024


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 6f31760639683d3f79253fc06ca49988fc352e5f
      https://github.com/WebKit/WebKit/commit/6f31760639683d3f79253fc06ca49988fc352e5f
  Author: Don Olmstead <don.olmstead at sony.com>
  Date:   2024-02-08 (Thu, 08 Feb 2024)

  Changed paths:
    M Source/WebCore/PlatformPlayStation.cmake
    M Source/WebKit/WebProcess/EntryPoint/playstation/WebProcessMain.cpp
    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
    M Tools/TestWebKitAPI/playstation/main.cpp

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

Reviewed by Michael Catanzaro.

The `USE_LCMS` option is common to all CMake ports so move the definition 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 for
all ports. Add additional PlayStation code for loading the module.

* Source/WebCore/PlatformPlayStation.cmake:
* Source/WebKit/WebProcess/EntryPoint/playstation/WebProcessMain.cpp:
* 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:
* Tools/TestWebKitAPI/playstation/main.cpp:

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




More information about the webkit-changes mailing list