How to building the xpt file from multiple idl files

2014-08-12 Thread Yonggang Luo
Now I am trying to building a xpcom components, but it have multiple
.idl file to compiled into a single xpt component, how to do that?

I am using XULRunner 31 sdk/bin
___
dev-platform mailing list
dev-platform@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-platform


Re: How to building the xpt file from multiple idl files

2014-08-12 Thread Gregory Szorc

On 8/12/14 12:08 AM, Yonggang Luo wrote:

Now I am trying to building a xpcom components, but it have multiple
.idl file to compiled into a single xpt component, how to do that?


Here is the code the build system uses for XPIDLs:

http://dxr.mozilla.org/mozilla-central/source/python/mozbuild/mozbuild/action/xpidl-process.py

The low-level code for linking XPTs (including the xpt_link function) is 
in xpt.py:


http://dxr.mozilla.org/mozilla-central/source/xpcom/typelib/xpt/tools/xpt.py

___
dev-platform mailing list
dev-platform@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-platform