Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 640a415ed0ad5c0fb529ec752bc7600a7ca35beb
      
https://github.com/WebKit/WebKit/commit/640a415ed0ad5c0fb529ec752bc7600a7ca35beb
  Author: Lauro Moura <[email protected]>
  Date:   2026-05-05 (Tue, 05 May 2026)

  Changed paths:
    M Source/cmake/WebKitHeaderMap.cmake

  Log Message:
  -----------
  REGRESSION(312588@main) [WPE][CMake] clang build broken with new hmap support 
due to missing wpe/wpe-platform.h entry
https://bugs.webkit.org/show_bug.cgi?id=314075

Unreviewed build fix.

generate-header-map generates header entries as basenames, while in
some places we might include headers from nested directories. For
example, in GLib public headers like wpe/wpe-platform.h. As the original
include path was removed, it may cause compilation errors.

A previous iteration of this patch modified the script to recursively
walk the include paths and add the subdirectory-prefixed keys to the
map, but after feedback, a more aligned approach would be exporting
these public headers as forwarding headers, like we do for other groups
of headers like WebCore and WebKit's own headers.

While we discuss the long-term fix, let's disable this feature by
default for WPE and GTK ports for now. It can still be enabled by
passing `-DUSE_HEADER_MAPS=ON` to CMake.

* Source/cmake/WebKitHeaderMap.cmake:

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



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

Reply via email to