Make the new WTF module build on Qt Having Source/WTF build with Qt will make it easier to move sources around. For Qt source references should be removed from Source/JavaScriptCore/wtf/wtf.pro and added to Source/WTF/WTF.pro
Created attachment 122232 [details] Patch
With this patch it should be possible to move files from the old WTF location to the new one without changing the Qt build system, due to the use of VPATH in WTF.pro. Files can be moved individually or in one big move, but each time qmake needs to be re-run on the bot for this to work :/. Either by touching the .pro/.pri file in the change or maybe through something else in the build system?
Comment on attachment 122232 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=122232&action=review nice. i think the move will be in one go, so a single force-clean should be fine > Source/WTF/WTF.pri:3 > +# and for targets that depend in some way on NEWWTF. WTF, not NEWWTF
(In reply to comment #3) > (From update of attachment 122232 [details]) > View in context: https://bugs.webkit.org/attachment.cgi?id=122232&action=review > > nice. i think the move will be in one go, so a single force-clean should be fine Ok. good. > > Source/WTF/WTF.pri:3 > > +# and for targets that depend in some way on NEWWTF. > > WTF, not NEWWTF Oops, fixing.
Created attachment 122235 [details] Patch
Committed r104825: <http://trac.webkit.org/changeset/104825>
Comment on attachment 122235 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=122235&action=review > Source/WTF/WTF.pro:13 > +VPATH += $$PWD/../JavaScriptCore/wtf I like this approach. @Eric: Can we do something similar for GTK? They've got the same sort of variable-controlling-the-base-directory feature in their build system.
We talked about doing this for all the ports. If it's easy to do for others, we definitely should. It makes the final move trivial.