How to set flag for Android chromium? Instructions not working.

453 views
Skip to first unread message

Tyler

unread,
Sep 10, 2014, 12:07:26 PM9/10/14
to chromium...@chromium.org
I've read the Setting Flags for Chrome on Android how-to (http://www.chromium.org/developers/how-tos/run-chromium-with-flags), but I am confused about the instructions. I am trying to run Chromium with the --disable-web-security flag.

1) The instructions say the following:


# For content shell
adb shell 'echo "chrome <flags>" > /data/local/tmp/content-shell-command-line'

 # For chromium test shell
adb shell 'echo "chrome <flags>" > /data/local/tmp/android-webview-command-line'

I executed this command, and verified with ls that the files were created. I've closed and restarted the Content Shell/Webview apps on my Android device, but when I visit about:version page I do not see the flag. Am I missing something?

2) The instructions mention running it directly as an alternative:

# Or, you can launch content shell with flags directly
abd_run_content_shell <flags>
adb_run_android_webview <flags>

Do I run these from an adb shell?
Reply all
Reply to author
Forward
0 new messages