WebKit has a broken module in Mac Catalyst
Created attachment 458964 [details] Patch
Comment on attachment 458964 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=458964&action=review > Source/WebKit/ChangeLog:4 > + https://bugs.webkit.org/show_bug.cgi?id=240175 Is there a radar for this already? Please post the link (no title) to the bug, and also add it to ChangeLog if so. I'll leave reviewing the actual change to experts.
Comment on attachment 458964 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=458964&action=review > Source/WebKit/Configurations/WebKit.xcconfig:35 > +MODULEMAP_FILE = $(MODULEMAP_FILE_$(WK_COCOA_TOUCH)_$(WK_IS_CATALYST)); > +MODULEMAP_FILE_cocoatouch_NO = Modules/iOS.modulemap; > +MODULEMAP_FILE_cocoatouch_YES = Modules/MacCatalyst.modulemap; > +MODULEMAP_FILE__NO = Modules/OSX.modulemap; This is fine, though I think usually when we want to make this distinction we fall back to WK_PLATFORM_NAME instead (but, I admit, that would involve a lot more duplication).
Created attachment 458970 [details] Patch
rdar://92703419
(In reply to Alexey Proskuryakov from comment #2) > Is there a radar for this already? Please post the link (no title) to the > bug, and also add it to ChangeLog if so. Yep, I was wondering how to associate the two! It's rdar://92703419 and I added it to the change log as well.
(In reply to Tim Horton from comment #3) > Comment on attachment 458964 [details] > Patch > > View in context: > https://bugs.webkit.org/attachment.cgi?id=458964&action=review > > > Source/WebKit/Configurations/WebKit.xcconfig:35 > > +MODULEMAP_FILE = $(MODULEMAP_FILE_$(WK_COCOA_TOUCH)_$(WK_IS_CATALYST)); > > +MODULEMAP_FILE_cocoatouch_NO = Modules/iOS.modulemap; > > +MODULEMAP_FILE_cocoatouch_YES = Modules/MacCatalyst.modulemap; > > +MODULEMAP_FILE__NO = Modules/OSX.modulemap; > > This is fine, though I think usually when we want to make this distinction > we fall back to WK_PLATFORM_NAME instead (but, I admit, that would involve a > lot more duplication). Yeah, I couldn't decide which way was less gross. Let me know if you change your mind.
Committed r293984 (250421@main): <https://commits.webkit.org/250421@main> All reviewed patches have been landed. Closing bug and clearing flags on attachment 458970 [details].