From e3b9d8e9ca676f49ad7febdca49f54dbd2f462a8 Mon Sep 17 00:00:00 2001 From: Hidenori Matsubayashi Date: Wed, 13 Apr 2022 09:41:39 +0900 Subject: [PATCH] Remove --enable-background-compilation (#93) --- lib/elinux_device.dart | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) diff --git a/lib/elinux_device.dart b/lib/elinux_device.dart index af2d0a6..1e0e6cb 100644 --- a/lib/elinux_device.dart +++ b/lib/elinux_device.dart @@ -315,13 +315,7 @@ class ELinuxDevice extends Device { void onAttached(ELinuxApp package, BuildMode buildMode, Process process) {} - /// Computes a set of environment variables used to pass debugging information - /// to the engine without interfering with application level command line - /// arguments. - /// - /// The format of the environment variables is: - /// * FLUTTER_ENGINE_SWITCHES to the number of switches. - /// * FLUTTER_ENGINE_SWITCH_ (indexing from 1) to the individual switches. + /// Source: [DesktopDevice._computeEnvironment] in `desktop_device.dart` Map _computeEnvironment( DebuggingOptions debuggingOptions, bool traceStartup, String route) { int flags = 0; @@ -337,7 +331,6 @@ class ELinuxDevice extends Device { } addFlag('enable-dart-profiling=true'); - addFlag('enable-background-compilation=true'); if (traceStartup) { addFlag('trace-startup=true');