Remove --enable-background-compilation (#93)

This commit is contained in:
Hidenori Matsubayashi
2022-04-13 09:41:39 +09:00
committed by GitHub
parent 87bfe82298
commit e3b9d8e9ca
+1 -8
View File
@@ -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_<N> (indexing from 1) to the individual switches.
/// Source: [DesktopDevice._computeEnvironment] in `desktop_device.dart`
Map<String, String> _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');