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
This commit is contained in:
Ricardo Amador
2023-10-27 17:05:23 -07:00
committed by GitHub
parent 57cc7e9136
commit d4db18900a

View File

@@ -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"
],