Skip to content
This repository has been archived by the owner on Apr 3, 2020. It is now read-only.

Cope better with different/multiple Crosswalk Android versions #5

Open
townxelliot opened this issue Feb 5, 2014 · 0 comments
Open
Assignees

Comments

@townxelliot
Copy link
Contributor

Issue by townxelliot from Wednesday Jan 22, 2014 at 09:55 GMT


At the moment, the xwalk_apkgen tool is tailored to a particular Crosswalk Android version (currently: 4.*). This means that it breaks if you try to use it with a different version. (This is because, by design, we try to be selective for the sake of speed, and don't scan for files or include all the .jar or .so files in xwalk_app_template; but this makes the tool brittle if the structure of xwalk_app_template changes.)

There are three ways we could cope with this:

  1. Release different versions of the tool for different Crosswalk Android versions, and make it fail noisily if an unsupported version is used. This is the quick but dirty approach.
  2. Modify the tool to support different Crosswalk Android versions. This would need some kind of map adding to Env.configure() so we can find the right components from Crosswalk Android, depending on the version being used. This would need more coding, but be more flexible and cleaner.
  3. Scan for files rather than try to selectively locate them. This is the current make_apk.py approach. This would be slower and more flexible, but could introduce errors (e.g. if there are files in the xwalk_app_template which should not be in the apk file).
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant