Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 7bd21a5a9b960ae84aa66df1c8d0f6aa3d989a0c
https://github.com/WebKit/WebKit/commit/7bd21a5a9b960ae84aa66df1c8d0f6aa3d989a0c
Author: Simon Pena <[email protected]>
Date: 2025-08-12 (Tue, 12 Aug 2025)
Changed paths:
M Source/JavaScriptCore/GLib.cmake
M Source/JavaScriptCore/PlatformJSCOnly.cmake
A Source/JavaScriptCore/javascriptcoreglib.pc.in
M Source/WTF/wtf/Platform.h
M Source/WTF/wtf/PlatformJSCOnly.cmake
M Source/cmake/OptionsJSCOnly.cmake
Log Message:
-----------
[JSC][GLib] Add support to enable the GLib API when building JSCOnly
https://bugs.webkit.org/show_bug.cgi?id=296991
Reviewed by Adrian Perez de Castro.
This updates the JSCOnly build so that it can optionally include the
GLib API, in the same way used by the WPE and GTK ports.
* Source/JavaScriptCore/GLib.cmake: add FRAMEWORK_HEADERS_DIR and
DERIVED_SOURCES_DIR like the GTK and WPE ports do.
* Source/JavaScriptCore/PlatformJSCOnly.cmake:
* Source/JavaScriptCore/PlatformJSCOnly.cmake: support building with the
JSC GLib API by including the GLib cmake, set library output name and
install PackageConfig file and headers.
* Source/JavaScriptCore/javascriptcoreglib.pc.in: Added.
* Source/WTF/wtf/Platform.h: Guard GLIB versions under USE(GLIB) so they
also apply when building JSC with the GLib API.
* Source/WTF/wtf/PlatformJSCOnly.cmake: add additionally required
headers when building with the GLib API.
* Source/cmake/OptionsJSCOnly.cmake: Define ENABLE_JSC_GLIB_API as a
port option. Set the GLib event loop type and expose required build
definitions and installation paths.
Canonical link: https://commits.webkit.org/298565@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