[flutter_tools] remove globals from compilers (#59184)

Refactors KernelCompiler and ResidentCompiler to no longer use globals (except as a fallback for g3 migration). Improves the compilation error when running flutter test on a package without a flutter_test dependency.

Updates machine mode to output trace text to stderr
This commit is contained in:
Jonah Williams
2020-06-18 10:33:17 -07:00
committed by GitHub
parent e1f4cfb4f4
commit 447e3d3f38
17 changed files with 281 additions and 162 deletions

View File

@@ -1,4 +1,8 @@
<<skip until matching line>>
<<stderr>>
<<skip until matching line>>
Failed to load test harness\. +Are you missing a dependency on flutter_test\?
Error: cannot run without a dependency on "package:flutter_test". Ensure the following lines are present in your pubspec.yaml:
dev_dependencies:
flutter_test:
sdk: flutter