Update dev/devicelab/** to provide --local-engine-host. (#132342)
Partial work towards https://github.com/flutter/flutter/issues/132245. I have to admit I don't totally understand what I've updated, or whether there are more integration points needed.
This commit is contained in:
@@ -91,10 +91,12 @@ flags to `bin/run.dart`:
|
||||
```sh
|
||||
../../bin/cache/dart-sdk/bin/dart bin/run.dart --task=[some_task] \
|
||||
--local-engine-src-path=[path_to_local]/engine/src \
|
||||
--local-engine=[local_engine_architecture]
|
||||
--local-engine=[local_engine_architecture] \
|
||||
--local-engine-host=[local_engine_host_architecture]
|
||||
```
|
||||
|
||||
An example of a local engine architecture is `android_debug_unopt_x86`.
|
||||
An example of a local engine architecture is `android_debug_unopt_x86` and
|
||||
an example of a local engine host architecture is `host_debug_unopt`.
|
||||
|
||||
### Running an A/B test for engine changes
|
||||
|
||||
@@ -111,13 +113,16 @@ Example:
|
||||
```sh
|
||||
../../bin/cache/dart-sdk/bin/dart bin/run.dart --ab=10 \
|
||||
--local-engine=host_debug_unopt \
|
||||
--local-engine-host=host_debug_unopt \
|
||||
-t bin/tasks/web_benchmarks_canvaskit.dart
|
||||
```
|
||||
|
||||
The `--ab=10` tells the runner to run an A/B test 10 times.
|
||||
|
||||
`--local-engine=host_debug_unopt` tells the A/B test to use the
|
||||
`host_debug_unopt` engine build. `--local-engine` is required for A/B test.
|
||||
`host_debug_unopt` engine build. `--local-engine-host=host_debug_unopt` uses
|
||||
the same engine build to run the `frontend_server` (in this example).
|
||||
`--local-engine` is required for A/B test.
|
||||
|
||||
`--ab-result-file=filename` can be used to provide an alternate location to
|
||||
output the JSON results file (defaults to `ABresults#.json`). A single `#`
|
||||
|
||||
Reference in New Issue
Block a user