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

Use Chromium command lines in your apps on Android

Zhu, Yongsheng edited this page Apr 24, 2014 · 3 revisions

Crosswalk is powered by Chromium and supports all the command lines of Chromium. To achieve this, developers can directly use the "--xwalk-command-line" option in make_apk.py script when generating the application for Android.

For example, force enabling webGL for all devices in Crosswalk, python make_apk.py --manifest=xwalk-simple/manifest.json --xwalk-command-line='--ignore-gpu-blacklist'

If developers don't want to use make_apk.py, they could write a command line file named xwalk-command-line and put it under assets folder of the apk with the format: xwalk --ignore-gpu-blacklist

Clone this wiki locally