mirror of
https://github.com/flutter/flutter.git
synced 2026-02-20 02:29:02 +08:00
This reverts commit 50e7d89163418b73be4b376ac96a335856da1224.
This commit is contained in:
parent
d941aefa61
commit
67cb0f382e
@ -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.
|
||||
|
||||
@ -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.
|
||||
///
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user