Pass run and drive --trace-systrace for iOS (#105321)
This commit is contained in:
@@ -112,7 +112,8 @@ abstract class RunCommandBase extends FlutterCommand with DeviceBasedDevelopment
|
||||
..addFlag('trace-systrace',
|
||||
negatable: false,
|
||||
help: 'Enable tracing to the system tracer. This is only useful on '
|
||||
'platforms where such a tracer is available (Android and Fuchsia).',
|
||||
'platforms where such a tracer is available (Android, iOS, '
|
||||
'macOS and Fuchsia).',
|
||||
)
|
||||
..addFlag('trace-skia',
|
||||
negatable: false,
|
||||
|
||||
@@ -361,6 +361,7 @@ class IOSDevice extends Device {
|
||||
'--verify-entry-points',
|
||||
],
|
||||
if (debuggingOptions.enableSoftwareRendering) '--enable-software-rendering',
|
||||
if (debuggingOptions.traceSystrace) '--trace-systrace',
|
||||
if (debuggingOptions.skiaDeterministicRendering) '--skia-deterministic-rendering',
|
||||
if (debuggingOptions.traceSkia) '--trace-skia',
|
||||
if (debuggingOptions.traceAllowlist != null) '--trace-allowlist="${debuggingOptions.traceAllowlist}"',
|
||||
|
||||
Reference in New Issue
Block a user