Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: c73cb00c98f8d703a63b8826e2ee38ebcd506bfc
      
https://github.com/WebKit/WebKit/commit/c73cb00c98f8d703a63b8826e2ee38ebcd506bfc
  Author: Adrian Perez de Castro <[email protected]>
  Date:   2024-11-10 (Sun, 10 Nov 2024)

  Changed paths:
    M Source/WTF/wtf/PlatformJSCOnly.cmake
    M Source/WTF/wtf/glib/GRefPtr.h
    M Source/WTF/wtf/glib/Sandbox.cpp
    M Tools/TestWebKitAPI/PlatformJSCOnly.cmake

  Log Message:
  -----------
  [JSCOnly] Building fails with EVENT_LOOP_TYPE=GLib
https://bugs.webkit.org/show_bug.cgi?id=282847

Reviewed by Yusuke Suzuki.

Apply the minimum set of changes that allow building JSCOnly again with
EVENT_LOOP_TYPE=GLib. This mainly boils down adding missing headers,
sources and compile options for the different targets.

* Source/WTF/wtf/PlatformJSCOnly.cmake: List missing sources, building
  with GLib now needs FileSystemPOSIX.cpp and UniStdExtrasUnix.cpp as
  well; list WTF public glib-related headers needed for the JSCOnly
  build.
* Source/WTF/wtf/glib/GRefPtr.h: Remove unneeded forward declaration for
  g_object_ref_sink(), which caused issues when building JSCOnly.
* Source/WTF/wtf/glib/Sandbox.cpp:
  (WTF::sandboxedUserRuntimeDirectory): Define a base directory for the
  JSCOnly port, which was missing.
* Tools/TestWebKitAPI/PlatformJSCOnly.cmake: List the GLib include
  directories to let the compiler find the headers.

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



To unsubscribe from these emails, change your notification settings at 
https://github.com/WebKit/WebKit/settings/notifications
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to