[webkit-dev] Moving WTF out of JavaScriptCore (revisited)

Kevin Ollivier kevino at theolliviers.com
Fri Nov 4 10:57:12 PDT 2011

Hi Steve,

On Nov 4, 2011, at 9:12 AM, Steve Falkenburg wrote:

> On Nov 4, 2011, at 8:48 AM, Kevin Ollivier wrote:
>>> Step (2) here involves coming up with a good solution for export control in both the WTF and platform cases. Today we use an explicit .exp file for JavaScriptCore and WebCore on Mac and I believe a .def file in the Apple Windows WebKit port. So there might be a necessary first step of moving to a different export approach. And I know someone has been working on that.
>> If you guys want to go the route of finishing up the export macros work, let me know and I'll see what I can do. I probably can't devote a lot of time to it for the next week or two, but I'd like to see this fixed regardless of if it's used to move forward the WTF split, obviously, so I can put a higher priority on it if I know there are reviewers waiting to land things. :) 
>> FWIW, I did distinguish between JS and WTF symbol export macros in the work I've been doing, so the macros approach will support the split as-is.
> If WTF is to be a static library, there's no need to change anything in the .def file on Windows.
> .def files apply only to DLLs.

Yes, I know, just saying I'd be willing to help if they wanted to go the DLL route. Making it static would make life easier for me also by allowing us to remove the need for WTF symbol exports entirely, of course, so either way is a plus for me.



> FWIW, WTF is already a static library in Apple's Windows port, just self-contained inside the JavaScriptCore project. See: http://trac.webkit.org/browser/trunk/Source/JavaScriptCore/JavaScriptCore.vcproj/WTF/WTF.vcproj
> -steve

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-dev/attachments/20111104/acfd5341/attachment.html>

More information about the webkit-dev mailing list