[webkit-changes] [WebKit/WebKit] 3e53dd: Switch CoreTelephony.framework to use delay-init l...

Commit Queue noreply at github.com
Tue Apr 2 10:43:34 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 3e53dd942f96f2a13275beadcdcf0ea2f517b58f
      https://github.com/WebKit/WebKit/commit/3e53dd942f96f2a13275beadcdcf0ea2f517b58f
  Author: David Kilzer <ddkilzer at apple.com>
  Date:   2024-04-02 (Tue, 02 Apr 2024)

  Changed paths:
    M Source/WTF/wtf/PlatformHave.h
    M Source/WebCore/PAL/pal/cocoa/CoreTelephonySoftLink.h
    M Source/WebCore/PAL/pal/cocoa/CoreTelephonySoftLink.mm
    M Source/WebKit/Configurations/WebKit.xcconfig
    M Source/WebKit/UIProcess/Cocoa/CoreTelephonyUtilities.mm
    M Tools/TestWebKitAPI/Configurations/TestWebKitAPILibrary.xcconfig
    M Tools/TestWebKitAPI/Tests/ios/KeyboardInputTestsIOS.mm

  Log Message:
  -----------
  Switch CoreTelephony.framework to use delay-init linking
https://bugs.webkit.org/show_bug.cgi?id=271936
<rdar://125661316>

Reviewed by Elliott Williams and Wenson Hsieh.

* Source/WTF/wtf/PlatformHave.h:
(HAVE_DELAY_INIT_LINKING): Add.
- Define macro for platforms that support delay-init linking.
* Source/WebCore/PAL/pal/cocoa/CoreTelephonySoftLink.h:
* Source/WebCore/PAL/pal/cocoa/CoreTelephonySoftLink.mm:
- Comment out soft-linking macros when using delay-init linking.
* Source/WebKit/Configurations/WebKit.xcconfig:
(OTHER_LDFLAGS):
(OTHER_LDFLAGS_DELAY_INIT): Add.
- Add linker flag for delay-init of CoreTelephony.framework.
* Source/WebKit/UIProcess/Cocoa/CoreTelephonyUtilities.mm:
(WebKit::shouldAllowAutoFillForCellularIdentifiers):
- Update source code for use with delay-init linking.
* Tools/TestWebKitAPI/Configurations/TestWebKitAPILibrary.xcconfig:
(OTHER_LDFLAGS): Add.
(OTHER_LDFLAGS_DELAY_INIT): Add.
- Add linker flag for delay-init of CoreTelephony.framework.
* Tools/TestWebKitAPI/Tests/ios/KeyboardInputTestsIOS.mm:
(TestWebKitAPI::TEST(KeyboardInputTests, DeviceEIDAndIMEIAutoFill)):
- Update source code for use with delay-init linking.

Canonical link: https://commits.webkit.org/276947@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