Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 1c0131ffaa33a8c7813a9c306d593b73d2b2cbc2
      
https://github.com/WebKit/WebKit/commit/1c0131ffaa33a8c7813a9c306d593b73d2b2cbc2
  Author: Adrian Taylor <[email protected]>
  Date:   2026-05-13 (Wed, 13 May 2026)

  Changed paths:
    M Source/WebKit/CMakeLists.txt
    A Source/cmake/linux-modulemaps/glib.modulemap
    A Source/cmake/linux-modulemaps/libsoup.modulemap
    A Source/cmake/linux-modulemaps/vfs-overlay.yaml.in

  Log Message:
  -----------
  [Swift GTK] Add VFS and other options for Swift import
https://bugs.webkit.org/show_bug.cgi?id=314393

Reviewed by Richard Robinson.

cmake WebKit builds do not yet support full Swift/C++ interoperability. Although
the Swift demo logo uses this feature, it intentionally does not attempt to
import the full complexity of WebKit's C++ APIs into Swift. To move further with
Swift in WebKit on cmake platforms (for example to enable the Swift Back Forward
List) we need to do that.

This change provides various options to the Swift compiler to enable it to cope
with importing WebKit's C++ APIs on cmake platforms. It's one of several
changes gradually being raised as PRs, but is probably the most substantial.

In particular:
- we provide modulemap files for libsoup and glib (this is the major part of
  this change)
- we define the various EXPORT macros
- we define NODELETE

These changes are likely fairly particular to GTK builds - future changes will
make them more flexible and adaptable to other cmake platforms.

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



To unsubscribe from these emails, change your notification settings at 
https://github.com/WebKit/WebKit/settings/notifications

Reply via email to