[flutter_tools] reland: --no-android-gradle-daemon in devicelab (#68491)

Remove devicelab specific code for shutting down gradle daemon, add --android-gradle-daemon option to build/run/drive`. Avoids need for un-tested devicelab specific handler. There are also some feature requests for this, so 2 birds one stone.

Example:

flutter build apk --no-android-gradle-daemon will pass --no-daemon on to gradle
This commit is contained in:
Jonah Williams
2020-10-19 10:27:58 -07:00
committed by GitHub
parent 8df0c5e158
commit e422d5c724
16 changed files with 108 additions and 44 deletions

View File

@@ -21,6 +21,7 @@ void main() {
await inDirectory(complexLayoutPath, () async {
await flutter('drive', options: <String>[
'--no-android-gradle-daemon',
'-v',
'--profile',
'--trace-startup', // Enables "endless" timeline event buffering.