[webkit-dev] Meaning of PLATFORM(MAC) and platform/cocoa?

Jeremy Moskovich playmobil at google.com
Mon Jul 5 13:12:25 PDT 2010

On Mon, Jul 5, 2010 at 10:22 PM, Joseph Pecoraro <pecoraro at apple.com> wrote:

> It seems like a good idea to share as much code as we can between ports
> rather than forking files.
> Absolutely, that was the original reason behind platform/cocoa!

Thanks Joe,

I'd really appreciate it if someone could provide some guidelines on the
exact meaning of both of these.  Reading through the bug description and
looking at the code gives a general feeling for the meaning of these but it
would be nice to get an "official" definition of what each represents.

> If a certain file uses Cocoa and is shared between OS X ports (including
> Chromium),
> where should the file go?
> It could be that "cocoa" is a misleading name. We thought of "darwin" at
> the time.
> But putting code in platform/cocoa would be fine if the code is shared. Do
> you
> have a specific example in mind?

Yep: https://bugs.webkit.org/show_bug.cgi?id=41398

Best regards,
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-dev/attachments/20100705/81f57023/attachment.html>

More information about the webkit-dev mailing list