Commit 35ae169
committed
Extend --shorebird-trace to aar, ios-framework, and desktop builds
Wires --shorebird-trace into:
- BuildAarCommand and BuildFrameworkCommand (iOS frameworks)
- The shared usesBuildModeFlags path in FlutterCommand, which covers
desktop builds (linux, macos, windows)
- AAR Gradle build path in AndroidGradleBuilder, mirroring the existing
trace session usage in the assemble path
Note: when 'flutter build aar' is invoked with multiple modes in a single
run, each iteration's trace overwrites the previous one. Shorebird's
release flow only builds release mode, so this is not a concern in
practice.1 parent cedb807 commit 35ae169
4 files changed
Lines changed: 20 additions & 0 deletions
File tree
- packages/flutter_tools/lib/src
- android
- commands
- runner
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
799 | 799 | | |
800 | 800 | | |
801 | 801 | | |
| 802 | + | |
| 803 | + | |
| 804 | + | |
| 805 | + | |
| 806 | + | |
| 807 | + | |
| 808 | + | |
| 809 | + | |
| 810 | + | |
| 811 | + | |
802 | 812 | | |
803 | 813 | | |
804 | 814 | | |
| |||
872 | 882 | | |
873 | 883 | | |
874 | 884 | | |
| 885 | + | |
875 | 886 | | |
876 | 887 | | |
| 888 | + | |
877 | 889 | | |
878 | 890 | | |
879 | 891 | | |
| |||
895 | 907 | | |
896 | 908 | | |
897 | 909 | | |
| 910 | + | |
| 911 | + | |
898 | 912 | | |
| 913 | + | |
899 | 914 | | |
900 | 915 | | |
901 | 916 | | |
| |||
905 | 920 | | |
906 | 921 | | |
907 | 922 | | |
| 923 | + | |
908 | 924 | | |
909 | 925 | | |
910 | 926 | | |
911 | 927 | | |
| 928 | + | |
912 | 929 | | |
913 | 930 | | |
914 | 931 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
49 | 49 | | |
50 | 50 | | |
51 | 51 | | |
| 52 | + | |
52 | 53 | | |
53 | 54 | | |
54 | 55 | | |
| |||
Lines changed: 1 addition & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
47 | 47 | | |
48 | 48 | | |
49 | 49 | | |
| 50 | + | |
50 | 51 | | |
51 | 52 | | |
52 | 53 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1163 | 1163 | | |
1164 | 1164 | | |
1165 | 1165 | | |
| 1166 | + | |
1166 | 1167 | | |
1167 | 1168 | | |
1168 | 1169 | | |
| |||
0 commit comments