Commit 9ea5864
Stewart Miles
Improved support for batch mode execution of resolution steps.
* Moved main thread task execution logic to the RunOnMainThread class.
This simplifies the process of scheduling execution on the main thread in
the Unity editor and enabled addition of support for synchronous execution
when running in batch mode where UnityEditor.EditorApplication.update is not
called.
* CommandLine and CommandLineDialog classes will now execute all command line
operations synchronously when running in batch mode.
* Added logging to CommandLineDialog in batch mode and when running with
verbose logging enabled.
* Moved batch mode testing logic and Unity version checking to the
ExceutionEnvironment class.
* Moved all explicit use of EditorApplication.update to RunOnMainThread methods
so tasks are executed correctly in batch mode.
* Added batch mode support to CommandLineDialog (Unity crashes when showing
editor windows in batch mode with no graphics).
* Fixed variable replacement in AndroidManifest.xml files.
Values like "${applicationId}.foo" were being replaced by simply the
applicationId variable, stripping the ".foo".
Bug: 79148523,77549386, 110261673
Change-Id: I3b67175e4e11eb4999fad0b158880873f87b40901 parent b5b9c6d commit 9ea5864
File tree
15 files changed
+653
-271
lines changed- source
- IOSResolver/src
- PlayServicesResolver/src
- VersionHandlerImpl
- src
- VersionHandler/src
15 files changed
+653
-271
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
15 | 15 | | |
16 | 16 | | |
17 | 17 | | |
| 18 | + | |
18 | 19 | | |
19 | 20 | | |
20 | 21 | | |
| |||
526 | 527 | | |
527 | 528 | | |
528 | 529 | | |
529 | | - | |
530 | | - | |
531 | | - | |
| 530 | + | |
| 531 | + | |
| 532 | + | |
532 | 533 | | |
533 | 534 | | |
534 | 535 | | |
| |||
537 | 538 | | |
538 | 539 | | |
539 | 540 | | |
540 | | - | |
| 541 | + | |
541 | 542 | | |
542 | 543 | | |
543 | 544 | | |
| |||
712 | 713 | | |
713 | 714 | | |
714 | 715 | | |
715 | | - | |
716 | | - | |
717 | | - | |
718 | | - | |
719 | | - | |
720 | | - | |
721 | | - | |
722 | 716 | | |
723 | 717 | | |
724 | 718 | | |
| |||
794 | 788 | | |
795 | 789 | | |
796 | 790 | | |
797 | | - | |
| 791 | + | |
| 792 | + | |
798 | 793 | | |
799 | 794 | | |
800 | 795 | | |
| |||
1161 | 1156 | | |
1162 | 1157 | | |
1163 | 1158 | | |
1164 | | - | |
1165 | 1159 | | |
1166 | 1160 | | |
1167 | 1161 | | |
| |||
1277 | 1271 | | |
1278 | 1272 | | |
1279 | 1273 | | |
1280 | | - | |
| 1274 | + | |
1281 | 1275 | | |
1282 | 1276 | | |
1283 | 1277 | | |
| |||
1772 | 1766 | | |
1773 | 1767 | | |
1774 | 1768 | | |
| 1769 | + | |
1775 | 1770 | | |
1776 | 1771 | | |
1777 | 1772 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
415 | 415 | | |
416 | 416 | | |
417 | 417 | | |
| 418 | + | |
418 | 419 | | |
419 | 420 | | |
420 | 421 | | |
| |||
544 | 545 | | |
545 | 546 | | |
546 | 547 | | |
| 548 | + | |
547 | 549 | | |
548 | 550 | | |
549 | 551 | | |
| |||
574 | 576 | | |
575 | 577 | | |
576 | 578 | | |
| 579 | + | |
577 | 580 | | |
578 | 581 | | |
579 | 582 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
26 | 26 | | |
27 | 27 | | |
28 | 28 | | |
| 29 | + | |
| 30 | + | |
29 | 31 | | |
30 | 32 | | |
31 | 33 | | |
| |||
113 | 115 | | |
114 | 116 | | |
115 | 117 | | |
| 118 | + | |
116 | 119 | | |
117 | 120 | | |
118 | 121 | | |
| |||
122 | 125 | | |
123 | 126 | | |
124 | 127 | | |
125 | | - | |
126 | | - | |
127 | | - | |
128 | | - | |
129 | | - | |
130 | | - | |
131 | | - | |
132 | | - | |
133 | | - | |
134 | | - | |
135 | | - | |
| 128 | + | |
| 129 | + | |
| 130 | + | |
| 131 | + | |
| 132 | + | |
| 133 | + | |
| 134 | + | |
| 135 | + | |
| 136 | + | |
| 137 | + | |
| 138 | + | |
| 139 | + | |
| 140 | + | |
| 141 | + | |
| 142 | + | |
136 | 143 | | |
137 | 144 | | |
138 | 145 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
26 | 26 | | |
27 | 27 | | |
28 | 28 | | |
29 | | - | |
| 29 | + | |
30 | 30 | | |
31 | 31 | | |
32 | 32 | | |
| |||
45 | 45 | | |
46 | 46 | | |
47 | 47 | | |
| 48 | + | |
| 49 | + | |
48 | 50 | | |
49 | 51 | | |
50 | 52 | | |
| |||
55 | 57 | | |
56 | 58 | | |
57 | 59 | | |
58 | | - | |
59 | | - | |
| 60 | + | |
| 61 | + | |
60 | 62 | | |
61 | 63 | | |
62 | 64 | | |
63 | 65 | | |
| 66 | + | |
64 | 67 | | |
65 | 68 | | |
66 | 69 | | |
| |||
84 | 87 | | |
85 | 88 | | |
86 | 89 | | |
87 | | - | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
88 | 96 | | |
89 | 97 | | |
90 | 98 | | |
91 | 99 | | |
92 | 100 | | |
93 | 101 | | |
94 | 102 | | |
95 | | - | |
| 103 | + | |
96 | 104 | | |
97 | 105 | | |
98 | 106 | | |
| 107 | + | |
| 108 | + | |
| 109 | + | |
| 110 | + | |
| 111 | + | |
| 112 | + | |
| 113 | + | |
| 114 | + | |
| 115 | + | |
| 116 | + | |
| 117 | + | |
| 118 | + | |
| 119 | + | |
| 120 | + | |
99 | 121 | | |
100 | 122 | | |
101 | 123 | | |
| |||
141 | 163 | | |
142 | 164 | | |
143 | 165 | | |
144 | | - | |
145 | | - | |
146 | | - | |
147 | | - | |
148 | | - | |
| 166 | + | |
149 | 167 | | |
150 | 168 | | |
151 | 169 | | |
| |||
154 | 172 | | |
155 | 173 | | |
156 | 174 | | |
| 175 | + | |
157 | 176 | | |
158 | 177 | | |
159 | 178 | | |
| |||
170 | 189 | | |
171 | 190 | | |
172 | 191 | | |
173 | | - | |
174 | | - | |
| 192 | + | |
| 193 | + | |
| 194 | + | |
| 195 | + | |
175 | 196 | | |
176 | 197 | | |
177 | 198 | | |
178 | 199 | | |
| 200 | + | |
| 201 | + | |
| 202 | + | |
| 203 | + | |
| 204 | + | |
| 205 | + | |
| 206 | + | |
| 207 | + | |
| 208 | + | |
| 209 | + | |
| 210 | + | |
| 211 | + | |
| 212 | + | |
| 213 | + | |
| 214 | + | |
| 215 | + | |
| 216 | + | |
| 217 | + | |
| 218 | + | |
| 219 | + | |
| 220 | + | |
| 221 | + | |
| 222 | + | |
| 223 | + | |
| 224 | + | |
| 225 | + | |
| 226 | + | |
| 227 | + | |
| 228 | + | |
| 229 | + | |
| 230 | + | |
| 231 | + | |
| 232 | + | |
| 233 | + | |
| 234 | + | |
179 | 235 | | |
180 | 236 | | |
181 | 237 | | |
| |||
209 | 265 | | |
210 | 266 | | |
211 | 267 | | |
212 | | - | |
| 268 | + | |
| 269 | + | |
213 | 270 | | |
214 | 271 | | |
215 | 272 | | |
| |||
221 | 278 | | |
222 | 279 | | |
223 | 280 | | |
224 | | - | |
| 281 | + | |
225 | 282 | | |
226 | 283 | | |
227 | 284 | | |
| |||
This file was deleted.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
143 | 143 | | |
144 | 144 | | |
145 | 145 | | |
| 146 | + | |
146 | 147 | | |
147 | 148 | | |
148 | 149 | | |
| |||
0 commit comments