Add default file for command line arguments.
Mojo Shell on Android will now look at
/data/local/tmp/{package_name}.cmd for default arguments. This file must
contain one argument per line. Moreover, this file must not be writeable
by the application to prevent other application modifying it.
R=ppi@chromium.org
BUG=Fixes https://github.com/domokit/mojo/issues/550
Review URL: https://codereview.chromium.org/1460213002 .
Cr-Mirrored-From: https://github.com/domokit/mojo
Cr-Mirrored-Commit: 10bef82afdc342c0118564d8afb35c9c2f83313e
Unopinionated tools for running, debugging, testing and benchmarking Mojo apps.
git clone https://github.com/domokit/devtools.git
Devtools offers the following tools:
mojo_run - documentation - shell runnermojo_debug - documentation - debuggermojo_test - apptest runnermojo_benchmark - documentation - perf test runnerAdditionally, remote_adb_setup script helps to configure adb on a remote machine to communicate with a device attached to a local machine, forwarding the ports used by mojo_run.
The library is canonically developed in the mojo repository, https://github.com/domokit/devtools is a mirror allowing to consume it separately.