Changeset 251215 in webkit


Ignore:
Timestamp:
Oct 16, 2019 3:49:31 PM (5 years ago)
Author:
dino@apple.com
Message:

Add Swift modulemap for WebKit Private APIs
https://bugs.webkit.org/show_bug.cgi?id=203059

Reviewed by Tim Horton.

Provide a Swift modulemap for WebKit_Private, and
ensure WKPreferencesPrivate.h is exposed.

Renamed OSX.modulemap to macOS.modulemap while here.

  • Configurations/WebKit.xcconfig:
  • Modules/iOS.private.modulemap: Added.
  • Modules/macOS.modulemap: Renamed from Source/WebKit/Modules/OSX.modulemap.
  • Modules/macOS.private.modulemap: Added.
  • Shared/API/Cocoa/WebKitPrivate.h: Include WKPreferencesPrivate.h.
Location:
trunk/Source/WebKit
Files:
2 added
3 edited
1 moved

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebKit/ChangeLog

    r251213 r251215  
     12019-10-16  Dean Jackson  <dino@apple.com>
     2
     3        Add Swift modulemap for WebKit Private APIs
     4        https://bugs.webkit.org/show_bug.cgi?id=203059
     5
     6        Reviewed by Tim Horton.
     7
     8        Provide a Swift modulemap for WebKit_Private, and
     9        ensure WKPreferencesPrivate.h is exposed.
     10
     11        Renamed OSX.modulemap to macOS.modulemap while here.
     12
     13        * Configurations/WebKit.xcconfig:
     14        * Modules/iOS.private.modulemap: Added.
     15        * Modules/macOS.modulemap: Renamed from Source/WebKit/Modules/OSX.modulemap.
     16        * Modules/macOS.private.modulemap: Added.
     17        * Shared/API/Cocoa/WebKitPrivate.h: Include WKPreferencesPrivate.h.
     18
    1192019-10-16  John Wilander  <wilander@apple.com>
    220
  • trunk/Source/WebKit/Configurations/WebKit.xcconfig

    r249208 r251215  
    3131MODULEMAP_FILE = $(MODULEMAP_FILE_$(WK_COCOA_TOUCH));
    3232MODULEMAP_FILE_cocoatouch = Modules/iOS.modulemap;
    33 MODULEMAP_FILE_ = Modules/OSX.modulemap;
     33MODULEMAP_FILE_ = Modules/macOS.modulemap;
     34MODULEMAP_PRIVATE_FILE = $(MODULEMAP_PRIVATE_FILE_$(WK_COCOA_TOUCH));
     35MODULEMAP_PRIVATE_FILE_cocoatouch = Modules/iOS.private.modulemap;
     36MODULEMAP_PRIVATE_FILE_ = Modules/macOS.private.modulemap;
    3437
    3538INSTALL_PATH = $(WEBKIT_FRAMEWORKS_DIR);
  • trunk/Source/WebKit/Shared/API/Cocoa/WebKitPrivate.h

    r224238 r251215  
    2626#import <WebKit/WKHistoryDelegatePrivate.h>
    2727#import <WebKit/WKNavigationPrivate.h>
     28#import <WebKit/WKPreferencesPrivate.h>
    2829#import <WebKit/WKProcessPoolPrivate.h>
    2930#import <WebKit/WKUIDelegatePrivate.h>
Note: See TracChangeset for help on using the changeset viewer.