Description:
LZMA support is firstly designed for Crosswalk Lite,  this feature remarkably 
reduced the apk size(about 30%) by introducing an LZMA compression algorithm.
We want to backport some feature from Crosswalk Lite to Crosswalk, after 
discussion and voting, we've reach an agreement here:
https://docs.google.com/a/intel.com/spreadsheets/d/1RJOKGOABE_IhEnnA1RfbFqS95jxY9kV5MX_4rUGG6jE/edit#gid=0
Since the size is critical for Crosswalk, this feature is warmly welcomed by 
developers.

Affected component:
crosswalk.

Related feature:
LZMA support for Crosswalk:
JIRA: https://crosswalk-project.org/jira/browse/XWALK-3810

LZMA support for Crosswalk Lite:
Pull Request: 
https://github.com/d0ngjun/crosswalk/commit/671f6b6bc4c0f8abb4376b57a52fb8847b4ae21e

Target release:
Crosswalk-14

Implementation details:
This use the LZMA library from 
SevenZip(http://sourceforge.net/projects/sevenzip/files/).
The app will firstly extract the compressed library in its package, if it 
doesn't found the library or the library is older.
Crosswalk will provide a new method(onXWalkReady) for developers to customize 
their behavior when the decompression is completed.
Will add a new build flag(use_lzma), by default it is disabled in Crosswalk.

Risks/Opens:

1.       Rebasing may introduce some regression.

2.       Pay attention to Crosswalk <-> Crosswalk Lite cross upgrading.


Best Wishes,

Dong Jun

_______________________________________________
Crosswalk-dev mailing list
[email protected]
https://lists.crosswalk-project.org/mailman/listinfo/crosswalk-dev

Reply via email to