Re: Exporting IPDL headers: the slippery slope

Benjamin Smedberg <[email protected]>
Newsgroups gmane.comp.mozilla.devel.dom
Message-ID <[email protected]>
On 8/14/09 9:08 PM, Jason Duell wrote:

This shoulda gone to mdt.dom... ;-)

> So, I still can't #include "mozilla/dom/ContentProcessChild.h" from
> necko.  The problem is now that it transitively includes
> mozilla/dom/ContentProcessProtocolChild.h, which lives in
> ipc/ipdl/_ipdlheaders, which is not in the standard include path.

We have ipc/chromium/chromium-config.mk for this purpose. Any makefile which
uses IPC stuff needs to include that. See
http://hg.mozilla.org/projects/electrolysis/file/tip/content/base/src/Makefile.in#l187

> Or we could install the _ipdheaders in dist/include or somewhere else
> where compilations will already find them.

The chromium-config makefile needs to set other Chromium-specific defines,
in addition to setting the include path: unless we were to do that globally
(which sounds risky to me) I think we should just add chromium-config.mk to
individual makefile directories as we need to.

--BDS
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.