On 11-04-2014 09:24, Huo, Halton wrote:
It was discussed when Crosswalk Extension framework implemented.
Internal extension does has, please look at the genapi_idl rule in
src/xwalk/xwalk_jsapi.gypi. I do no know how much that generator can help.
For external extension(tec), so far there is no such generator.
As Halton said, we did some investigation at the start of the project,
tried to use the Chromium Extensions generators.
It turns out that the Chromium Extensions generators assume that all the
methods are static and you don't create new objects like "var foo = new
xwalk.TCPSocket()".
At SysApps, we have a variety of interfaces and styles that would make
the generator extremely complex. :(
The part of the Chromium Extensions we use on the internal extensions
are just a few helpers to serialize data. Is not much, but is quite
handy nevertheless.
Br,
_______________________________________________
Crosswalk-dev mailing list
[email protected]
https://lists.crosswalk-project.org/mailman/listinfo/crosswalk-dev