The tool itself will work regardless to which architectures is included. But to 
achieve packaging both apk from the one xwalk_app_template, yes we need to 
provide a tarball contains native libraries for both archs as you said.
For release bot, just merge the tarball from the same xwalk version is good 
enough.

Thanks,
Shiliu.

-----Original Message-----
From: Crosswalk-dev [mailto:crosswalk-dev-boun...@lists.crosswalk-project.org] 
On Behalf Of Raphael Kubo da Costa
Sent: Tuesday, December 10, 2013 11:18 PM
To: crosswalk-dev@lists.crosswalk-project.org
Subject: Re: [Crosswalk-dev] Intent to implement - Multiple arch support for 
Android package tool

"Wang, Shiliu" <shiliu.w...@intel.com> writes:

> 2. For build system, we need to get the template containing both arm 
> and x86 native libraries.
>
> a. After investigation, it’s impossible to make xwalk build both
> arm/x86 libraries in one compilation. It’s because, which arch to 
> build is decided by the “target_default” setting in 
> “src/build/common.gypi”.
>
> b. If built from the same code base, xwalk_app_template for x86 and 
> arm should only be different at “libs/<arch_name>/libxwalkcore.so”, so 
> merge them together can make a template meets our requirement.
>
> c. For build infrastructure, to ensure the same code base, could use 
> “gyp –Goutput_dir=out_<arch>” to build different arch in different 
> folder from the same code, and add step to merge the output together.
>
> d. For release infrastructure, the code base is already guaranteed 
> same by the xwalk version, just need to add additional step to merge 
> the template.

I didn't understand this part very well. Is xwalk_app_template.tar.gz always 
supposed to contain native libraries for both architectures? Does it mean the 
build and release bots will need to build Crosswalk twice for that?
_______________________________________________
Crosswalk-dev mailing list
Crosswalk-dev@lists.crosswalk-project.org
https://lists.crosswalk-project.org/mailman/listinfo/crosswalk-dev
_______________________________________________
Crosswalk-dev mailing list
Crosswalk-dev@lists.crosswalk-project.org
https://lists.crosswalk-project.org/mailman/listinfo/crosswalk-dev

Reply via email to