[webkit-dev] Exporting symbols (was Re: Common build system (was Re: WebKit Wishes))

Maciej Stachowiak mjs at apple.com
Mon Feb 4 09:19:38 PST 2013


On Feb 4, 2013, at 12:17 AM, Jochen Eisinger <jochen at chromium.org> wrote:

> 
> 
> On Sun, Feb 3, 2013 at 7:29 AM, Benjamin Poulain <benjamin at webkit.org> wrote:
> On Sat, Feb 2, 2013 at 10:23 PM, Eric Seidel <eric at webkit.org> wrote:
> What I've learned from this thread, is that AppleWin and AppleMac are the only two ports which require lists of exported symbols.  If both were to convert to using EXPORT decorators instead, then we could remove needs for fixing export lists.
> 
> Please correct me if I've misunderstood.
> 
> There is also iOS. The export file contains both Mac and iOS, they do not export the same symbols.
> 
> There is unfortunately a need to have different exports for per platform; the syntax will probably have to account for that.
> 
> Just to clarify: there's code that is used on e.g. Mac but not iOS, but it's still compiled into the iOS port (i.e. not disabled by some feature macro anyway)?

The WebKit layers aren't identical and may need different WebCore exports, but it's probably ok (not totally sure) to export every actually existing symbol that needs to be exported on either platform. WebCore is a private subframework anyway so keeping its exports clean is not super important.

 - Maciej

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


More information about the webkit-dev mailing list