Revert "[web] Reland - Switch web-render option default to auto (#23313)" (flutter/engine#23321)

This reverts commit f6effe1f31.
This commit is contained in:
Ferhat
2020-12-28 16:27:10 -08:00
committed by GitHub
parent 6ca5aac77d
commit 15ac139f1a
2 changed files with 1 additions and 3 deletions

View File

@@ -619,8 +619,6 @@ class TestCommand extends Command<bool> with ArgUtils {
'--enable-experiment=non-nullable',
'--no-sound-null-safety',
if (input.forCanvasKit) '-DFLUTTER_WEB_USE_SKIA=true',
if (!input.forCanvasKit) '-DFLUTTER_WEB_AUTO_DETECT=false',
if (!input.forCanvasKit) '-DFLUTTER_WEB_USE_SKIA=false',
'-O2',
'-o',
targetFileName, // target path.

View File

@@ -31,7 +31,7 @@ bool _detectRenderer() {
/// Using flutter tools option "--web-render=auto" would set the value to true.
/// Otherwise, it would be false.
const bool _autoDetect =
bool.fromEnvironment('FLUTTER_WEB_AUTO_DETECT', defaultValue: true);
bool.fromEnvironment('FLUTTER_WEB_AUTO_DETECT', defaultValue: false);
/// Enable the Skia-based rendering backend.
///