Fix emulators contexts so that the emulator version can be passed in.

Enable emulator version.

Here are some test runs to prove the change is valid:

Android views - standalone test with context
https://luci-milo.appspot.com/raw/build/logs.chromium.org/flutter/led/ricardoamador_google.com/de2fa1f9d27717cb43cbee1bed3874bfdb4e837fa7811841e813fabeb92457fc/+/build.proto

Linux Android defines - test is executed through the devicelab recipe:
https://luci-milo.appspot.com/raw/build/logs.chromium.org/flutter/led/ricardoamador_google.com/2d18056a1a9a1b1ba5c0920b7290fe0916d0f666b1e635f93c154f4caa01d4e1/+/build.proto

Linux Emulator test through the engine_v2 context:
prod -  https://luci-milo.appspot.com/raw/build/logs.chromium.org/flutter/led/ricardoamador_google.com/aef0a5e0460f39de6935d45dd12b797fba9b2d15d29d95662d34d9e466c39584/+/build.proto
try - https://chromium-swarm.appspot.com/task?id=658bf0608be42710

Bug: https://github.com/flutter/flutter/issues/137350
Change-Id: I10c283a99fe15355f847d376de9711fc267ba5c1
Reviewed-on: https://flutter-review.googlesource.com/c/recipes/+/51869
Reviewed-by: Keyong Han <keyonghan@google.com>
Commit-Queue: Ricardo Amador <ricardoamador@google.com>
8 files changed
tree: 15ba3c1bb73d8211bcbb2c0c72f951d6cb8bfddc
  1. infra/
  2. recipe_modules/
  3. recipes/
  4. .gitignore
  5. .style.yapf
  6. AUTHORS
  7. CONTRIBUTING.md
  8. LICENSE
  9. OWNERS
  10. README.md
  11. recipes.py
README.md

Flutter LUCI Recipes

This repository contains Flutter's LUCI recipes. For the LUCI infrastructure config, see flutter/infra. Builds can be found in the Flutter Dashboard.

Supported repositories roll their .ci.yaml into flutter/infra, which updates what properties builds have. For example, flutter config specifies various dependencies the different tests require, which are then used by the flutter_deps recipe_module No modifications to flutter/infra are required to work on the recipes.

Contributing

Please follow instructions on Contributing docs to set up your development environment.