Bug 138802

Summary: [iOS] Libdispatch, Dyld, IOKit, Mach, NSPointerFunctions, MobileGestalt SPI are not available in public SDK
Product: WebKit Reporter: Daniel Bates <dbates>
Component: WebCore Misc.Assignee: Daniel Bates <dbates>
Status: RESOLVED FIXED    
Severity: Normal CC: aestes, ddkilzer
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: iPhone / iPad   
OS: iOS 8.1   
Bug Depends on: 138760    
Bug Blocks: 136487    
Attachments:
Description Flags
Patch ddkilzer: review+

Description Daniel Bates 2014-11-17 12:06:22 PST
The iOS WebKit port makes use of the private headers from the libdispatch, dyld, IOKit, mach, Foundation and MobileGestalt frameworks. Towards building the port using the public SDK, we should forward declare the applicable SPI from these frameworks.
Comment 1 Daniel Bates 2014-11-17 12:14:19 PST
Created attachment 241730 [details]
Patch
Comment 2 David Kilzer (:ddkilzer) 2014-11-17 13:42:57 PST
Comment on attachment 241730 [details]
Patch

View in context: https://bugs.webkit.org/attachment.cgi?id=241730&action=review

r=me

> Source/WebCore/ChangeLog:10
> +        that forward declares applicable libdispatch, dyld, IOKit, mach, Foundation, MobileGestalt SPI

Nit:  I think "forward declare" should be singular here.
Comment 3 Daniel Bates 2014-11-17 13:54:52 PST
(In reply to comment #2)
> > Source/WebCore/ChangeLog:10
> > +        that forward declares applicable libdispatch, dyld, IOKit, mach, Foundation, MobileGestalt SPI
> 
> Nit:  I think "forward declare" should be singular here.

Will fix before landing.
Comment 4 Daniel Bates 2014-11-17 13:58:58 PST
Committed r176232: <http://trac.webkit.org/changeset/176232>
Comment 5 Daniel Bates 2014-11-17 14:36:20 PST
Reverted r176232 for reason:

Broke the Mac build. Will investigate offline.

Committed r176234: <http://trac.webkit.org/changeset/176234>
Comment 6 Daniel Bates 2014-11-18 10:05:52 PST
Committed r176265: <http://trac.webkit.org/changeset/176265>