[webkit-dev] WebCore/platform standalone library

Carlos Garcia Campos carlosgc at webkit.org
Thu Mar 19 00:29:53 PDT 2015

El mié, 18-03-2015 a las 21:43 -0700, Myles C. Maxfield escribió:
> Hello, all,
> I’d like to announce that I intend to create a standalone static library from the current contents of WebCore/platform over the coming months. This will involve creating a “Platform" top-level directory and moving source files into it, one by one. 


> There are a few reasons for this:
> 1. Enforcing the layering between Platform and WebCore. Moving Platform into its own target/directory can guarantee that nothing inside it knows about anything in WebCore.
> 2. Being able to test code in the Platform directory with TestWebKitAPI (without exporting Platform symbols from the WebCore library)
> 3. Managing conceptual complexity.
> Does anyone have any thoughts or feedback?

This has always been blocked by the existing layering violations, what
are your plans for that? I guess we will have WebCore/platform and
Platform at the same time for a while until all layering violations are

See the tracking bug:

But there are more, I wrote a script to get the list of violations, it's
in Tools/Scripts/check-for-platform-layering-violations

> Thanks,
> Myles
> _______________________________________________
> webkit-dev mailing list
> webkit-dev at lists.webkit.org
> https://lists.webkit.org/mailman/listinfo/webkit-dev

More information about the webkit-dev mailing list