There are command line flags (or "switches") that Chromium (and Chrome) accept in order to enable particular features or modify otherwise default functionality.
Current switches may be found at http://peter.sh/examples/?/chromium-switches.html
It is important to note that using these switches is not supported or recommended. They should only be used for temporary cases and may break in the future.
To use a command line switch:
V8 can take a number of flags as well, via Chrome's
chrome.exe --js-flags="--trace-opt --trace-deopt --trace-bailout"
To get a listing of all possible V8 flags:
Browse the V8 wiki for more flags for V8.
Setting flags for Chrome on Android requires a rooted device, as it necessitates write access to
You can change these like so:
# For chromium test shell
# On a chromium checkout, the following utilities can be used:
# For chrome public, or Google Chrome
# For content shell:
# For chromium test shell:
# Or, you can launch content shell with flags directly
Remember to quit the app completely and restart for flags to take effect.
There's an alternative method for setting flags with ContentShell that doesn't require a rooted device:
1. Download a LKGR build of Android.
2. This will include both ChromePublic.apk and ContentShell.apk
3. Install ContentShell APK to your device.
4. Run this magic incantation
This will launch contentshell with the supplied flags. You can apply whatever commandLineArgs you want in that syntax.