Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: f557e873a21c6dce2a29d32dd1e029639d1f2e76
      
https://github.com/WebKit/WebKit/commit/f557e873a21c6dce2a29d32dd1e029639d1f2e76
  Author: Pascoe <[email protected]>
  Date:   2026-04-13 (Mon, 13 Apr 2026)

  Changed paths:
    M Source/WebGPU/CMakeLists.txt
    M Source/WebGPU/WGSL/CMakeLists.txt
    A Source/WebGPU/WebGPU/CMakeLists.txt

  Log Message:
  -----------
  [CMake] Fix WebGPU build for Mac
https://bugs.webkit.org/show_bug.cgi?id=312031
rdar://174587148

Reviewed by BJ Burg and Mike Wyrzykowski.

Source/WebGPU/WebGPU/CMakeLists.txt is a new file that compiles 33 WebGPU
Objective-C++ sources and the WGSL compiler sources into a shared framework,
linking Metal, IOSurface, CoreFoundation, CoreVideo, Foundation, and
QuartzCore. ARC is enabled and public headers (WebGPU.h, WebGPUExt.h) are
copied to the build directory for downstream consumers.

The WGSL generator is updated to produce both TypeDeclarations.h and
TypeOverloads.h, and IOValidator.cpp is added to the wgslc source list.
The top-level WebGPU CMakeLists.txt conditionally includes the WebGPU
subdirectory on Apple platforms.

* Source/WebGPU/CMakeLists.txt:
* Source/WebGPU/WGSL/CMakeLists.txt:
* Source/WebGPU/WebGPU/CMakeLists.txt: Added.

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



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

Reply via email to