mojo_run: infer --origin from `MOJO_VERSION` file if present.

This allows mojo consumers that use pinned mojo version not to set
--origin to point to the correct google storage directory manually - it
will be set based on MOJO_VERSION if MOJO_VERSION is present AND
--origin is not passed explicitly.

R=tonyg@chromium.org

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

Cr-Mirrored-From: https://github.com/domokit/mojo
Cr-Mirrored-Commit: d34ebee9950ba27b50ef8f78d29c2bb3e6d6dc51
3 files changed
tree: 503eb93b8668bfb1ae065fb918885444b78c17be
  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.