You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@cordova.apache.org by "Hu, Ningxin" <ni...@intel.com> on 2014/06/03 08:55:43 UTC

RE: Achitecture switch to build/run/emulate commands

> -----Original Message-----
> From: iclelland@google.com [mailto:iclelland@google.com] On Behalf Of Ian
> Clelland
> Sent: Friday, May 30, 2014 1:36 AM
> To: dev@cordova.apache.org; Jesse MacFadyen; Andrew Grieve
> Subject: Re: Achitecture switch to build/run/emulate commands
> 
> I've been looking at this specifically for Android with the Crosswalk webview.
> We'd like to be able to build Intel / ARM 32- and 64-bit versions with Cordova, but
> we have to handle two big issues:
> 
> 1. We can already build multi-arch packages, but the Crosswalk library quickly
> exceeds the 50MB Play Store limit as you add multiple architectures 2. The play
> store allows multiple APK files to be uploaded, each specialized to a particular
> CPU architecture, but there's no way in Cordova currently to specify a particular
> architecture to build.
> 

+1 for single-arch packages approach.

> I think that single-arch packages are the way to go, but we'll need cordova and
> plugman support for it. I've started a design document for our work on this; you
> can access it here:
> https://docs.google.com/document/d/1kGnbuhS83sTFLmuBakytesUW0LWeN-A
> a4XeMnuWKg0w/edit?usp=sharing
> 
> 

Thanks for the design doc! Will take a look and provide comments.

-ningxin

> 
> 
> On Tue, May 27, 2014 at 11:01 PM, Andrew Grieve <ag...@chromium.org>
> wrote:
> 
> > This is highly relevant for the Android X-walk work.
> >
> >
> > On Tue, May 27, 2014 at 6:02 PM, Jesse <pu...@gmail.com> wrote:
> >
> >> There is a jira issue here[1] related to how the cli can target
> >> different types of builds.  ie x86|x64  please weigh in if you have an
> opinion.
> >>  Specifically I would like to hear how iOS handles some of this.
> >>
> >> [1]
> >> https://issues.apache.org/jira/browse/CB-6728
> >>
> >>
> >> @purplecabbage
> >> risingj.com
> >>
> >
> >