Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Sign in
Toggle navigation
F
Front-End
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
abdullh.alsoleman
Front-End
Commits
003f2b69
Unverified
Commit
003f2b69
authored
Jun 03, 2022
by
Jenn Magder
Committed by
GitHub
Jun 03, 2022
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Pass run and drive --trace-systrace for iOS (#105321)
parent
0895130e
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
8 additions
and
1 deletion
+8
-1
run.dart
packages/flutter_tools/lib/src/commands/run.dart
+2
-1
devices.dart
packages/flutter_tools/lib/src/ios/devices.dart
+1
-0
drive_test.dart
...lutter_tools/test/commands.shard/hermetic/drive_test.dart
+2
-0
run_test.dart
.../flutter_tools/test/commands.shard/hermetic/run_test.dart
+2
-0
ios_device_start_prebuilt_test.dart
...est/general.shard/ios/ios_device_start_prebuilt_test.dart
+1
-0
No files found.
packages/flutter_tools/lib/src/commands/run.dart
View file @
003f2b69
...
...
@@ -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
,
...
...
packages/flutter_tools/lib/src/ios/devices.dart
View file @
003f2b69
...
...
@@ -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}
"'
,
...
...
packages/flutter_tools/test/commands.shard/hermetic/drive_test.dart
View file @
003f2b69
...
...
@@ -224,6 +224,7 @@ void main() {
'--null-assertions'
,
'--native-null-assertions'
,
'--enable-impeller'
,
'--trace-systrace'
,
'--enable-software-rendering'
,
'--skia-deterministic-rendering'
,
]),
throwsToolExit
());
...
...
@@ -238,6 +239,7 @@ void main() {
expect
(
options
.
nullAssertions
,
true
);
expect
(
options
.
nativeNullAssertions
,
true
);
expect
(
options
.
enableImpeller
,
true
);
expect
(
options
.
traceSystrace
,
true
);
expect
(
options
.
enableSoftwareRendering
,
true
);
expect
(
options
.
skiaDeterministicRendering
,
true
);
},
overrides:
<
Type
,
Generator
>{
...
...
packages/flutter_tools/test/commands.shard/hermetic/run_test.dart
View file @
003f2b69
...
...
@@ -734,6 +734,7 @@ void main() {
'--null-assertions'
,
'--native-null-assertions'
,
'--enable-impeller'
,
'--trace-systrace'
,
'--enable-software-rendering'
,
'--skia-deterministic-rendering'
,
]),
throwsToolExit
());
...
...
@@ -748,6 +749,7 @@ void main() {
expect
(
options
.
verboseSystemLogs
,
true
);
expect
(
options
.
nullAssertions
,
true
);
expect
(
options
.
nativeNullAssertions
,
true
);
expect
(
options
.
traceSystrace
,
true
);
expect
(
options
.
enableImpeller
,
true
);
expect
(
options
.
enableSoftwareRendering
,
true
);
expect
(
options
.
skiaDeterministicRendering
,
true
);
...
...
packages/flutter_tools/test/general.shard/ios/ios_device_start_prebuilt_test.dart
View file @
003f2b69
...
...
@@ -288,6 +288,7 @@ void main() {
'--enable-checked-mode'
,
'--verify-entry-points'
,
'--enable-software-rendering'
,
'--trace-systrace'
,
'--skia-deterministic-rendering'
,
'--trace-skia'
,
'--endless-trace-buffer'
,
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment