Changeset 268367 in webkit


Ignore:
Timestamp:
Oct 12, 2020 1:16:32 PM (4 years ago)
Author:
aestes@apple.com
Message:

[macCatalyst] Enable WKPDFView
https://bugs.webkit.org/show_bug.cgi?id=217403
<rdar://problem/48217791>

Reviewed by Tim Horton.

Source/WebKit:

  • Configurations/WebKit.xcconfig: Linked PDFKit.framework when building for the Catalyst

variant on Big Sur or later.

Source/WTF:

  • wtf/PlatformEnableCocoa.h: Enabled WKPDFView when building for the Catalyst variant on

Big Sur or later.

Location:
trunk/Source
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WTF/ChangeLog

    r268362 r268367  
     12020-10-12  Andy Estes  <aestes@apple.com>
     2
     3        [macCatalyst] Enable WKPDFView
     4        https://bugs.webkit.org/show_bug.cgi?id=217403
     5        <rdar://problem/48217791>
     6
     7        Reviewed by Tim Horton.
     8
     9        * wtf/PlatformEnableCocoa.h: Enabled WKPDFView when building for the Catalyst variant on
     10        Big Sur or later.
     11
    1122020-10-12  Michael Catanzaro  <mcatanzaro@gnome.org>
    213
  • trunk/Source/WTF/wtf/PlatformEnableCocoa.h

    r267288 r268367  
    607607#endif
    608608
    609 #if !defined(ENABLE_WKPDFVIEW) && PLATFORM(IOS)
     609#if !defined(ENABLE_WKPDFVIEW) && (PLATFORM(IOS) || (PLATFORM(MACCATALYST) && __IPHONE_OS_VERSION_MIN_REQUIRED >= 140000))
    610610#define ENABLE_WKPDFVIEW 1
    611611#endif
  • trunk/Source/WebKit/ChangeLog

    r268363 r268367  
     12020-10-12  Andy Estes  <aestes@apple.com>
     2
     3        [macCatalyst] Enable WKPDFView
     4        https://bugs.webkit.org/show_bug.cgi?id=217403
     5        <rdar://problem/48217791>
     6
     7        Reviewed by Tim Horton.
     8
     9        * Configurations/WebKit.xcconfig: Linked PDFKit.framework when building for the Catalyst
     10        variant on Big Sur or later.
     11
    1122020-10-12  Youenn Fablet  <youenn@apple.com>
    213
  • trunk/Source/WebKit/Configurations/WebKit.xcconfig

    r268086 r268367  
    9898WK_PDFKIT_LDFLAGS_iphonesimulator = $(WK_PDFKIT_LDFLAGS_iphoneos);
    9999WK_PDFKIT_LDFLAGS_iphonesimulator[sdk=iphone*11.*] = ;
     100WK_PDFKIT_LDFLAGS_maccatalyst = $(WK_PDFKIT_LDFLAGS_maccatalyst$(WK_MACOS_1100));
     101WK_PDFKIT_LDFLAGS_maccatalyst_SINCE_1100 = $(WK_PDFKIT_LDFLAGS_iphoneos);
    100102
    101103WK_SAFE_BROWSING_LDFLAGS = $(WK_SAFE_BROWSING_LDFLAGS_$(WK_PLATFORM_NAME));
Note: See TracChangeset for help on using the changeset viewer.