[webkit-changes] [WebKit/WebKit] e2deac: Build fix: [WebKit] Avoid running "Generate Derive...

Elliott Williams noreply at github.com
Fri Jan 10 18:40:56 PST 2025


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: e2deac204edc265c3c3c86598a1fb73f24edbeb3
      https://github.com/WebKit/WebKit/commit/e2deac204edc265c3c3c86598a1fb73f24edbeb3
  Author: Elliott Williams <emw at apple.com>
  Date:   2025-01-10 (Fri, 10 Jan 2025)

  Changed paths:
    M Source/WebKit/Modules/iOS_Private.modulemap
    M Source/WebKit/WebKit.xcodeproj/project.pbxproj

  Log Message:
  -----------
  Build fix: [WebKit] Avoid running "Generate Derived Sources" in installhdrs phases
https://bugs.webkit.org/show_bug.cgi?id=285641
rdar://142713320

Unreviewed.

The added script phase that runs WebKit's modulemap through the
preprocessor was not passing a -target argument. So, the preprocessor
was using the default target, which caused ENABLE(IOS_TOUCH_EVENTS) to
be false for Catalyst. Fix by passing this argument.

To go a step further, inline the ENABLE(IOS_TOUCH_EVENTS) definition, so
that the modulemap doesn't depend on wtf/Platform.h at all. This avoids
an installhdrs dependency on WTF altogether.

* Source/WebKit/Modules/iOS_Private.modulemap:
* Source/WebKit/WebKit.xcodeproj/project.pbxproj:

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



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


More information about the webkit-changes mailing list