Electrolysis/FAQ: Difference between revisions

From MozillaWiki
Jump to navigation Jump to search
(more)
No edit summary
Line 3: Line 3:
In every directory which needs to use IPDL protocols, the Makefile.in should include chromium-config.mk like this:
In every directory which needs to use IPDL protocols, the Makefile.in should include chromium-config.mk like this:


<pre>
include $(topsrcdir)/config/config.mk
include $(topsrcdir)/config/config.mk
include $(topsrcdir)/ipc/chromium/chromium-config.mk
include $(topsrcdir)/ipc/chromium/chromium-config.mk
include $(topsrcdir)/config/rules.mk
include $(topsrcdir)/config/rules.mk
</pre>


See e.g. content/base/src: http://hg.mozilla.org/projects/electrolysis/file/c3b494310a9f/content/base/src/Makefile.in#l187
See e.g. content/base/src: http://hg.mozilla.org/projects/electrolysis/file/c3b494310a9f/content/base/src/Makefile.in#l187

Revision as of 05:23, 21 August 2009

I'm trying to make new code use IPDL, and headers like IPCMessageUtils.h are missing...

In every directory which needs to use IPDL protocols, the Makefile.in should include chromium-config.mk like this:

include $(topsrcdir)/config/config.mk
include $(topsrcdir)/ipc/chromium/chromium-config.mk
include $(topsrcdir)/config/rules.mk

See e.g. content/base/src: http://hg.mozilla.org/projects/electrolysis/file/c3b494310a9f/content/base/src/Makefile.in#l187

How do I test the multi-process plugins?

To test multi-process plugins, set the pref dom.ipc.plugins.enabled to true... you can do this from about:config in the browser.

I can't get Electrolysis to build on Mac.

Indeed. Electrolysis doesn't build on mac yet.