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. 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
_______________________________________________ webkit-dev mailing list webkit-dev@lists.webkit.org http://lists.webkit.org/mailman/listinfo.cgi/webkit-dev