RESOLVED FIXED 72710
[CMake] Add possibility to overwrite WEBKIT_PORT_DIR in platform specific files
https://bugs.webkit.org/show_bug.cgi?id=72710
Summary [CMake] Add possibility to overwrite WEBKIT_PORT_DIR in platform specific files
Patrick R. Gansterer
Reported 2011-11-18 03:26:16 PST
[CMake] Add possibility to overwrite WEBKIT_PORT_DIR in platform specific files
Attachments
Patch (2.26 KB, patch)
2011-11-18 03:27 PST, Patrick R. Gansterer
no flags
Patrick R. Gansterer
Comment 1 2011-11-18 03:27:12 PST
Brent Fulgham
Comment 2 2011-11-18 09:09:19 PST
Comment on attachment 115778 [details] Patch I'm not sure I understand the change. Is the goal to move the declaration of the WEBKIT_PORT_DIR to a higher level so that more cmake files may make use of it? Because prior to this change, it looks like only the WebKit directory has access to this declaration: the others (WebKit2, JavaScriptCore, etc.) would have to add the declaration locally if they wanted to use it. But I'm not sure how this changes adds the possibility to overwrite the term for platform-specific files.
Patrick R. Gansterer
Comment 3 2011-11-18 09:10:41 PST
(In reply to comment #2) > (From update of attachment 115778 [details]) > I'm not sure I understand the change. Is the goal to move the declaration of the WEBKIT_PORT_DIR to a higher level so that more cmake files may make use of it? Because prior to this change, it looks like only the WebKit directory has access to this declaration: the others (WebKit2, JavaScriptCore, etc.) would have to add the declaration locally if they wanted to use it. > > But I'm not sure how this changes adds the possibility to overwrite the term for platform-specific files. Its moved before the include(Options$PORT}). In OptionsWinApple.cmake is then a SET(WEBKIT_PORT_DIR win), wich will overwrite the default of WinApple
Brent Fulgham
Comment 4 2011-11-18 09:12:03 PST
Comment on attachment 115778 [details] Patch Looks great.
WebKit Review Bot
Comment 5 2011-11-18 09:49:28 PST
Comment on attachment 115778 [details] Patch Clearing flags on attachment: 115778 Committed r100785: <http://trac.webkit.org/changeset/100785>
WebKit Review Bot
Comment 6 2011-11-18 09:49:32 PST
All reviewed patches have been landed. Closing bug.
Note You need to log in before you can comment on or make changes to this bug.