[webkit-changes] [WebKit/WebKit] 62267f: Use libwpe process management API

Don Olmstead noreply at github.com
Mon Sep 26 19:51:30 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 62267f96ba7e53d7e24bd14cd7a56cf54fcd8b1c
      https://github.com/WebKit/WebKit/commit/62267f96ba7e53d7e24bd14cd7a56cf54fcd8b1c
  Author: Don Olmstead <don.olmstead at sony.com>
  Date:   2022-09-26 (Mon, 26 Sep 2022)

  Changed paths:
    M Source/WebKit/PlatformPlayStation.cmake
    M Source/WebKit/PlatformWPE.cmake
    M Source/WebKit/SourcesWPE.txt
    M Source/WebKit/UIProcess/Launcher/glib/ProcessLauncherGLib.cpp
    A Source/WebKit/UIProcess/Launcher/glib/ProcessProviderGLib.cpp
    A Source/WebKit/UIProcess/Launcher/libwpe/ProcessProviderLibWPE.cpp
    A Source/WebKit/UIProcess/Launcher/libwpe/ProcessProviderLibWPE.h
    M Source/WebKit/UIProcess/Launcher/playstation/ProcessLauncherPlayStation.cpp
    A Source/WebKit/UIProcess/Launcher/playstation/ProcessProviderPlayStation.cpp
    M Source/cmake/OptionsPlayStation.cmake
    M Tools/MiniBrowser/playstation/main.cpp
    M Tools/TestWebKitAPI/PlatformPlayStation.cmake
    M Tools/TestWebKitAPI/Tests/WebKit/ReloadPageAfterCrash.cpp

  Log Message:
  -----------
  Use libwpe process management API
https://bugs.webkit.org/show_bug.cgi?id=241862

Reviewed by Adrian Perez de Castro and Michael Catanzaro.

The 1.14 release of libWPE added in a process management API. Add
support in WebKit to manage processes through it. On the PlayStation
side it is enabled if the WPE backend is present. For WPE it is enabled
if libWPE supports the API and the bubblewrap sandbox is not used.

The original patch came from Igalia implementing the process API in its
WPE Android port. From there it was modified to be a general libWPE
port implementation and to support a PlayStation path.

* Source/WebKit/PlatformPlayStation.cmake:
* Source/WebKit/PlatformWPE.cmake:
* Source/WebKit/SourcesWPE.txt:
* Source/WebKit/UIProcess/Launcher/glib/ProcessLauncherGLib.cpp:
* Source/WebKit/UIProcess/Launcher/glib/ProcessProviderGLib.cpp: Added.
* Source/WebKit/UIProcess/Launcher/libwpe/ProcessProviderLibWPE.cpp: Added.
* Source/WebKit/UIProcess/Launcher/libwpe/ProcessProviderLibWPE.h: Added.
* Source/WebKit/UIProcess/Launcher/playstation/ProcessLauncherPlayStation.cpp:
* Source/WebKit/UIProcess/Launcher/playstation/ProcessProviderPlayStation.cpp: Added.
* Source/cmake/OptionsPlayStation.cmake:
* Tools/MiniBrowser/playstation/main.cpp:
* Tools/TestWebKitAPI/PlatformPlayStation.cmake:
* Tools/TestWebKitAPI/Tests/WebKit/ReloadPageAfterCrash.cpp:

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




More information about the webkit-changes mailing list