[flutter_tools] work around hostonly test (#67369)

Many of the host only devicelab tests were relying on doctor to download android dependencies.
This commit is contained in:
Jonah Williams
2020-10-05 18:26:37 -07:00
committed by GitHub
parent 42fa4f033b
commit 734cc1a132

View File

@@ -25,6 +25,13 @@ class DoctorCommand extends FlutterCommand {
@override
final String name = 'doctor';
@override
Future<Set<DevelopmentArtifact>> get requiredArtifacts async => <DevelopmentArtifact>{
// This is required because the gradle hostonly tests do not correctly specify
// their dependencies.
DevelopmentArtifact.androidGenSnapshot,
};
@override
final String description = 'Show information about the installed tooling.';