<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugs.webkit.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.4.1"
          urlbase="https://bugs.webkit.org/"
          
          maintainer="admin@webkit.org"
>

    <bug>
          <bug_id>319352</bug_id>
          
          <creation_ts>2026-07-13 22:11:05 -0700</creation_ts>
          <short_desc>[CMake] Fix build against recent internal SDKs</short_desc>
          <delta_ts>2026-07-13 23:34:48 -0700</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>WebKit</product>
          <component>CMake</component>
          <version>WebKit Nightly Build</version>
          <rep_platform>Unspecified</rep_platform>
          <op_sys>Unspecified</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords>InRadar</keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="zak ridouh">zakr</reporter>
          <assigned_to name="zak ridouh">zakr</assigned_to>
          <cc>webkit-bug-importer</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>2230039</commentid>
    <comment_count>0</comment_count>
    <who name="zak ridouh">zakr</who>
    <bug_when>2026-07-13 22:11:05 -0700</bug_when>
    <thetext>Four independent build breaks surface when building the Mac CMake port
against the internal macOS 27 SDK, where WebKitAdditions turns on feature
flags that the CMake build wasn&apos;t fully wired up for:

- OptionsCocoa.cmake: the empty AppleFeatures.h stub was placed on -isystem
  for internal-SDK builds too, shadowing the SDK&apos;s real header and tripping
  #warning-as-error in MediaExperience&apos;s MXFeatureFlags.h. Guard the stub with
  NOT USE_APPLE_INTERNAL_SDK, matching the sibling availability-overlay block.

- Headers.cmake: add GPUProcess/graphics/Model/ModelTypes.h to
  WebKit_PROJECT_HEADERS so &lt;WebKit/ModelTypes.h&gt; resolves via the header map,
  alongside its already-listed siblings Float3.h and Float4x4.h.

- CMakeLists.txt: expose TextGranularity.h through the WebCore_Private Swift
  module map so WKTextSelectionController.swift can name WebCore.TextGranularity.

- PlatformMac.cmake: add the companion Swift files of the AppKit-gestures unit
  (WebPageProxy.swift, Logger+Extras.swift, WKAppKitGestureController.swift,
  IntRectCG.swift, FloatRectCG.swift). WKTextSelectionController.swift was added
  without them, so the WebKit.swiftmodule emit-module failed on missing members.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2230040</commentid>
    <comment_count>1</comment_count>
    <who name="Radar WebKit Bug Importer">webkit-bug-importer</who>
    <bug_when>2026-07-13 22:11:11 -0700</bug_when>
    <thetext>&lt;rdar://problem/182164452&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2230041</commentid>
    <comment_count>2</comment_count>
    <who name="zak ridouh">zakr</who>
    <bug_when>2026-07-13 22:14:52 -0700</bug_when>
    <thetext>Pull request: https://github.com/WebKit/WebKit/pull/69346</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2230077</commentid>
    <comment_count>3</comment_count>
    <who name="EWS">ews-feeder</who>
    <bug_when>2026-07-13 23:34:46 -0700</bug_when>
    <thetext>Committed 317128@main (4bcd765a466a): &lt;https://commits.webkit.org/317128@main&gt;

Reviewed commits have been landed. Closing PR #69346 and removing active labels.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>