RESOLVED FIXED 76163
Make the new WTF module build on Qt
https://bugs.webkit.org/show_bug.cgi?id=76163
Summary Make the new WTF module build on Qt
Simon Hausmann
Reported 2012-01-12 03:17:01 PST
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
Attachments
Patch (21.33 KB, patch)
2012-01-12 06:55 PST, Simon Hausmann
no flags
Patch (21.33 KB, patch)
2012-01-12 07:04 PST, Simon Hausmann
no flags
Simon Hausmann
Comment 1 2012-01-12 06:55:46 PST
Simon Hausmann
Comment 2 2012-01-12 06:57:47 PST
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?
Tor Arne Vestbø
Comment 3 2012-01-12 07:02:29 PST
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
Simon Hausmann
Comment 4 2012-01-12 07:04:24 PST
(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.
Simon Hausmann
Comment 5 2012-01-12 07:04:51 PST
Simon Hausmann
Comment 6 2012-01-12 07:22:25 PST
Adam Barth
Comment 7 2012-01-12 12:28:58 PST
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.
Eric Seidel (no email)
Comment 8 2012-01-12 12:43:17 PST
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.
Note You need to log in before you can comment on or make changes to this bug.