I recommend putting up a github repo with the original code and build scripts, 
and then you can check in generated code into gaia. I did that for the phone 
number library. Make sure every change goes upstream into the github repo, and 
then update the generated code.

Andreas

On Apr 10, 2013, at 1:10 AM, Ting-Yuan Huang <[email protected]> wrote:

> Hi,
> 
> If I got some C/C++/whatever codes compiled into javascripts by emscripten, 
> is it a good idea to only commit the generated javascripts? Obviously it's 
> terrible to embed the whole c++-to-js routines into the b2g build process 
> that everyone must spend their time compile the codes from scratch. To what 
> extent should I add the details? Is a README good enough or should I write a 
> one-click script (that may sometimes be broken due to changes to the 
> upstreams and act like a README)?
> 
> Thanks.
> _______________________________________________
> dev-b2g mailing list
> [email protected]
> https://lists.mozilla.org/listinfo/dev-b2g

_______________________________________________
dev-b2g mailing list
[email protected]
https://lists.mozilla.org/listinfo/dev-b2g

Reply via email to