Bug 212855 - WebKitLegacy: Link to framework stubs for watchOS and tvOS
Summary: WebKitLegacy: Link to framework stubs for watchOS and tvOS
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: Tools / Tests (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Jonathan Bedard
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2020-06-05 16:16 PDT by Jonathan Bedard
Modified: 2020-06-09 10:49 PDT (History)
5 users (show)

See Also:


Attachments
Patch (3.61 KB, patch)
2020-06-05 16:26 PDT, Jonathan Bedard
no flags Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Jonathan Bedard 2020-06-05 16:16:10 PDT
WebKitLegacy should link to framework stubs for watchOS and tvOS.
Comment 1 Radar WebKit Bug Importer 2020-06-05 16:16:29 PDT
<rdar://problem/64049486>
Comment 2 Jonathan Bedard 2020-06-05 16:26:19 PDT
Created attachment 401214 [details]
Patch
Comment 3 Tim Horton 2020-06-05 16:41:13 PDT
Comment on attachment 401214 [details]
Patch

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

> Source/WebKitLegacy/mac/Configurations/WebKitLegacy.xcconfig:42
> +FRAMEWORK_SEARCH_PATHS[sdk=embedded*] = $(BUILT_PRODUCTS_DIR) $(WK_PRIVATE_FRAMEWORKS_DIR);
> +FRAMEWORK_SEARCH_PATHS[sdk=macosx*] = $(WK_QUOTED_OVERRIDE_FRAMEWORKS_DIR) "$(UMBRELLA_FRAMEWORKS_DIR)";

I think you're changing macCatalyst here (macCatalyst being "Cocoa Touch" but also sdk=macosx* is the reason I removed all the SDK conditionals back in the day). Maybe it's OK?
Comment 4 Jonathan Bedard 2020-06-06 06:41:45 PDT
(In reply to Tim Horton from comment #3)
> Comment on attachment 401214 [details]
> Patch
> 
> View in context:
> https://bugs.webkit.org/attachment.cgi?id=401214&action=review
> 
> > Source/WebKitLegacy/mac/Configurations/WebKitLegacy.xcconfig:42
> > +FRAMEWORK_SEARCH_PATHS[sdk=embedded*] = $(BUILT_PRODUCTS_DIR) $(WK_PRIVATE_FRAMEWORKS_DIR);
> > +FRAMEWORK_SEARCH_PATHS[sdk=macosx*] = $(WK_QUOTED_OVERRIDE_FRAMEWORKS_DIR) "$(UMBRELLA_FRAMEWORKS_DIR)";
> 
> I think you're changing macCatalyst here (macCatalyst being "Cocoa Touch"
> but also sdk=macosx* is the reason I removed all the SDK conditionals back
> in the day). Maybe it's OK?

I plan on look at getting Catalyst building next. It seems to me that Catalyst should be using Mac framework stubs, although that's something we'll need to decide.
Comment 5 EWS 2020-06-06 06:53:44 PDT
Committed r262676: <https://trac.webkit.org/changeset/262676>

All reviewed patches have been landed. Closing bug and clearing flags on attachment 401214 [details].