RESOLVED FIXED 213909
GameController.framework soft linking refactoring
https://bugs.webkit.org/show_bug.cgi?id=213909
Summary GameController.framework soft linking refactoring
Brady Eidson
Reported 2020-07-02 17:19:06 PDT
GameController.framework soft linking refactoring We'll soon need to use GC.framework in multiple places, so it's time to refactor it out into its own files. (Also add a soon-to-be-needed SPI header while I'm at it)
Attachments
Patch (13.68 KB, patch)
2020-07-02 17:20 PDT, Brady Eidson
thorton: review+
Patch for landing (13.40 KB, patch)
2020-07-02 17:28 PDT, Brady Eidson
no flags
Brady Eidson
Comment 1 2020-07-02 17:20:55 PDT
Tim Horton
Comment 2 2020-07-02 17:23:46 PDT
Comment on attachment 403420 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=403420&action=review > Source/WebCore/platform/gamepad/cocoa/GameControllerSPI.h:33 > +WTF_EXTERN_C_BEGIN This should include a fixme with a radar where you ask for the headers to be fixed. > Source/WebCore/platform/gamepad/cocoa/GameControllerSoftLink.mm:33 > +SOFT_LINK_FRAMEWORK_FOR_SOURCE(WebCore, GameController) I think you lost the optionality here?
Brady Eidson
Comment 3 2020-07-02 17:25:36 PDT
(In reply to Tim Horton from comment #2) > Comment on attachment 403420 [details] > Patch > > View in context: > https://bugs.webkit.org/attachment.cgi?id=403420&action=review > > > Source/WebCore/platform/gamepad/cocoa/GameControllerSPI.h:33 > > +WTF_EXTERN_C_BEGIN > > This should include a fixme with a radar where you ask for the headers to be > fixed. Sure. > > > Source/WebCore/platform/gamepad/cocoa/GameControllerSoftLink.mm:33 > > +SOFT_LINK_FRAMEWORK_FOR_SOURCE(WebCore, GameController) > > I think you lost the optionality here? Actually not - Using the Header/Source softlink for a Framework always has optionality. (You'll see that used in the next patch!
Brady Eidson
Comment 4 2020-07-02 17:28:02 PDT
Created attachment 403422 [details] Patch for landing
EWS
Comment 5 2020-07-02 18:05:40 PDT
Committed r263878: <https://trac.webkit.org/changeset/263878> All reviewed patches have been landed. Closing bug and clearing flags on attachment 403422 [details].
Radar WebKit Bug Importer
Comment 6 2020-07-02 18:06:20 PDT
Note You need to log in before you can comment on or make changes to this bug.