From d4db18900a1c4f9828147e530e254a8a6815619d Mon Sep 17 00:00:00 2001 From: Ricardo Amador <32242716+ricardoamador@users.noreply.github.com> Date: Fri, 27 Oct 2023 17:05:23 -0700 Subject: [PATCH] Add Android Emulator dependencies as "test_dependencies" to Android tests (flutter/engine#47384) # Description Emulator dependencies were not getting picked up correctly when running the Recipes through engine_v2. The fix was to allow the context it runs through to be passed the version via the flutter_deps module. That change can be found here: https://flutter-review.googlesource.com/c/recipes/+/51869. Do not land until above cl has been merged. ## Related Issue *List which issues are fixed by this PR. You must list at least one issue.* Fixes https://github.com/flutter/flutter/issues/137350 ## Validation *If you had to change anything in the [flutter/tests] repo, include a link to the migration guide as per the [breaking change policy].* [C++, Objective-C, Java style guides]: https://github.com/flutter/engine/blob/main/CONTRIBUTING.md#style --- .../builders/standalone/linux_android_emulator.json | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/engine/src/flutter/ci/builders/standalone/linux_android_emulator.json b/engine/src/flutter/ci/builders/standalone/linux_android_emulator.json index b2fe54629a..307e47905f 100644 --- a/engine/src/flutter/ci/builders/standalone/linux_android_emulator.json +++ b/engine/src/flutter/ci/builders/standalone/linux_android_emulator.json @@ -22,6 +22,12 @@ { "language": "python3", "name": "Android Unit Tests", + "test_dependencies": [ + { + "dependency": "android_virtual_device", + "version": "34" + } + ], "contexts": [ "android_virtual_device" ], @@ -36,6 +42,12 @@ { "language": "bash", "name": "Scenario App Integration Tests", + "test_dependencies": [ + { + "dependency": "android_virtual_device", + "version": "34" + } + ], "contexts": [ "android_virtual_device" ],