commit | 295db256bc9b67780fad266cadbb8846d7a1490f | [log] [tgz] |
---|---|---|
author | Przemyslaw Pietrzkiewicz <ppi@chromium.org> | Sat Apr 02 00:54:23 2016 +0200 |
committer | Przemyslaw Pietrzkiewicz <ppi@chromium.org> | Sat Apr 02 00:54:23 2016 +0200 |
tree | 1ffbba73d461b14a520d35f553278c1f2c438a10 | |
parent | 176889fd2e17f988727847a03b00c158af8a6c52 [diff] |
devtools: download shell binaries and set origin when run w/ --mojo-version. Before, a user of devtools that wanted to use prebuilt mojo at particular version, had to: - set up DEPS hooks and use GN build rules that together downloaded and copied the shell and the network service at the correct version to the output directory - set the --origin to point to deployed mojo services at particular version This patch adds a --mojo-version flag that does all of the above, downloading binaries as needed and setting the origin accordingly. Once consumers switch over to --mojo-version, we can retire the GN rules for downloading prebuilt shells. Fixes https://github.com/domokit/devtools/issues/62. Fixes https://github.com/domokit/devtools/issues/63. R=qsr@chromium.org Review URL: https://codereview.chromium.org/1844943004 . Cr-Mirrored-From: https://github.com/domokit/mojo Cr-Mirrored-Commit: da012592f169e8c531e4a92cdf00d3c39413dd34
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.