Use file to pass arguments to the shell.

Passing parameters directly through the intent have the following
issues:
- It limits the size of the parameters to 1024 bytes.
- It is regularly broken by new versions of adb.

R=ppi@chromium.org
BUG=Fixes https://github.com/domokit/mojo/issues/488

Review URL: https://codereview.chromium.org/1414633004 .

Cr-Mirrored-From: https://github.com/domokit/mojo
Cr-Mirrored-Commit: 69df74a38358c7c3611babeeaa5b8258dce05619
1 file changed
tree: d84857bb75bfeb8f17118e130fc8282e1c3b2071
  1. android_gdb/
  2. android_stack_parser/
  3. devtoolslib/
  4. docs/
  5. .gitignore
  6. mojo_benchmark
  7. mojo_debug
  8. mojo_run
  9. mojo_test
  10. README.md
  11. remote_adb_setup
README.md

Devtools

Unopinionated tools for running, debugging, testing and benchmarking Mojo apps.

Install

git clone https://github.com/domokit/devtools.git

Contents

Devtools offers the following tools:

Additionally, 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.

Development

The library is canonically developed in the mojo repository, https://github.com/domokit/devtools is a mirror allowing to consume it separately.