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

Kevin Ollivier kevino at theolliviers.com
Fri Nov 4 08:48:00 PDT 2011

Hi Darin,

On Nov 2, 2011, at 4:42 PM, Darin Adler wrote:

> On Nov 2, 2011, at 4:09 PM, Mark Rowe wrote:
>> There are a few related goals here that I'm aware of:
>> a) Separate WTF out of JavaScriptCore since it doesn't logically belong there, but was simply a convenient home for it.
>> b) Separate WebCore/platform out of WebCore to help avoid layering violations.
>> c) Rework the Mac build process so that we can eliminate forwarding headers and remove the duplication of .xcconfig files.
>> The process for addressing a) and b) will be similar:
>> 1) Move the relevant code from its current location to the new location.
>> 2) Create a new Xcode project that builds the desired output in the appropriate fashion. Update other build systems as is applicable.
>> 3) Apple starts including the new project in our build process.
> 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.



> -- Darin
> _______________________________________________
> webkit-dev mailing list
> webkit-dev at lists.webkit.org
> http://lists.webkit.org/mailman/listinfo.cgi/webkit-dev

More information about the webkit-dev mailing list