[web] make sure tests and benchmarks use correct backend - add autodetect false (#73047)

* add autodetect false

* fix typo
This commit is contained in:
nturgut
2020-12-28 10:55:53 -08:00
committed by GitHub
parent 8f5d0371af
commit 272b23cabd
2 changed files with 5 additions and 0 deletions

View File

@@ -31,6 +31,8 @@ Future<TaskResult> runWebBenchmark({ @required bool useCanvasKit }) async {
'--dart-define=FLUTTER_WEB_ENABLE_PROFILING=true',
if (!useCanvasKit)
'--dart-define=FLUTTER_WEB_USE_SKIA=false',
if (!useCanvasKit)
'--dart-define=FLUTTER_WEB_AUTO_DETECT=false',
if (useCanvasKit)
'--dart-define=FLUTTER_WEB_USE_SKIA=true',
'--profile',