Andreas,

With all due respect, this process doesn't scale. As an evidence,
PhoneNumberJS have since out-dated in Gaia.
I've long filed a bug on that [1], but again, such housekeeping task was
never prioritized during triage.

[1] https://bugzilla.mozilla.org/show_bug.cgi?id=847797

That said, find a new way to incorporate external code doesn't block us
from using them though.



On Wed, Apr 10, 2013 at 4:19 PM, Andreas Gal <[email protected]> wrote:

>
> 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
>



-- 
Tim Guan-tin Chien, Senior Front-end Dev., Mozilla Corp. (Taiwan)
_______________________________________________
dev-b2g mailing list
[email protected]
https://lists.mozilla.org/listinfo/dev-b2g

Reply via email to