mirror of
https://github.com/flutter/flutter.git
synced 2026-02-20 02:29:02 +08:00
Support timeline can enabled in release mode (flutter/engine#14521)
This commit is contained in:
parent
47f5b01d33
commit
a2473cbb3f
@ -261,6 +261,12 @@ Settings SettingsFromCommandLine(const fml::CommandLine& command_line) {
|
||||
settings.trace_startup =
|
||||
command_line.HasOption(FlagForSwitch(Switch::TraceStartup));
|
||||
|
||||
settings.trace_skia =
|
||||
command_line.HasOption(FlagForSwitch(Switch::TraceSkia));
|
||||
|
||||
settings.trace_systrace =
|
||||
command_line.HasOption(FlagForSwitch(Switch::TraceSystrace));
|
||||
|
||||
settings.skia_deterministic_rendering_on_cpu =
|
||||
command_line.HasOption(FlagForSwitch(Switch::SkiaDeterministicRendering));
|
||||
|
||||
@ -352,11 +358,6 @@ Settings SettingsFromCommandLine(const fml::CommandLine& command_line) {
|
||||
|
||||
#if !FLUTTER_RELEASE
|
||||
command_line.GetOptionValue(FlagForSwitch(Switch::LogTag), &settings.log_tag);
|
||||
|
||||
settings.trace_skia =
|
||||
command_line.HasOption(FlagForSwitch(Switch::TraceSkia));
|
||||
settings.trace_systrace =
|
||||
command_line.HasOption(FlagForSwitch(Switch::TraceSystrace));
|
||||
#endif
|
||||
|
||||
settings.dump_skp_on_shader_compilation =
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user