Description:

apk generation tools for Crosswalk Android which are faster, better
documented, less fragile, better tested, more familiar to web developers,
and can integrate with their workflows more easily.

Affected component: make_apk.py and related scripts in xwalk-android
distributions zip file; though I will work in parallel rather than
replacing them

Related feature: no specific feature is in Jira; this is a parallel effort
in the first instance

Target Release: generic across Crosswalk and Android SDK versions as far as
possible; I've tested with 1.*, 2.* and 3.* versions of Crosswalk Android
so far, and versions 18 and 19 of the Android SDK tools, building on Linux
and Windows hosts.

Implementation details:

Implementation will be done in nodejs. Eventually I plan to provide grunt
tasks so the tools can fit web developer workflows more naturally.

I aim to replicate make_apk.py as closely as possible, as well as write
some tools to download and unpack the latest Crosswalk Android zip file.

I will try to remove as much of the indirection in the current scripts as
possible (python make_apk.py > python ant.py > ant > aapt could be replaced
with JavaScript > aapt, for example).

I will try to do a better and more efficient job of locating tool and file
dependencies, give more intelligible error messages when stuff breaks, and
provide more flexibility about where build artefacts are put.

The design will also allow for presenting an API which can be reused in
other applications (e.g. converting an xpk to an apk).

I will document and test more thoroughly than is done for the existing code
base (API docs, API usage examples, better help messages from cli tools).

Elliot

-- 
Elliot Smith
Senior Software Engineer
Intel Open Source Technology Centre
_______________________________________________
Crosswalk-dev mailing list
Crosswalk-dev@lists.crosswalk-project.org
https://lists.crosswalk-project.org/mailman/listinfo/crosswalk-dev

Reply via email to