File tree 3 files changed +14
-10
lines changed
packages/flutter_tools/lib/src
3 files changed +14
-10
lines changed Original file line number Diff line number Diff line change 1
- 57edc534d69031b03409e7af37cbc492cb135086
1
+ a1f4a12baa3dd4382e395743ff16ffbe3d188b88
Original file line number Diff line number Diff line change @@ -35,9 +35,9 @@ enum HostPlatform {
35
35
String getNameForHostPlatform (HostPlatform platform) {
36
36
switch (platform) {
37
37
case HostPlatform .darwin_x64:
38
- return "mac_debug" ;
38
+ return 'darwin-x64' ;
39
39
case HostPlatform .linux_x64:
40
- return " linux-x64" ;
40
+ return ' linux-x64' ;
41
41
}
42
42
assert (false );
43
43
}
@@ -54,17 +54,17 @@ enum TargetPlatform {
54
54
String getNameForTargetPlatform (TargetPlatform platform) {
55
55
switch (platform) {
56
56
case TargetPlatform .android_arm:
57
- return " android-arm" ;
57
+ return ' android-arm' ;
58
58
case TargetPlatform .android_x64:
59
- return " android-x64" ;
59
+ return ' android-x64' ;
60
60
case TargetPlatform .android_x86:
61
- return " android-x86" ;
61
+ return ' android-x86' ;
62
62
case TargetPlatform .ios:
63
- return " ios_release" ;
63
+ return ' ios_release' ;
64
64
case TargetPlatform .darwin_x64:
65
- return "mac_debug" ;
65
+ return 'darwin-x64' ;
66
66
case TargetPlatform .linux_x64:
67
- return " linux-x64" ;
67
+ return ' linux-x64' ;
68
68
}
69
69
assert (false );
70
70
}
Original file line number Diff line number Diff line change @@ -220,7 +220,11 @@ class FlutterEngine {
220
220
// Return a list of (cache directory path, download URL path) tuples.
221
221
List <List <String >> _getToolsDirs () {
222
222
if (Platform .isMacOS)
223
- return < List <String >> [< String > ['mac_debug' , 'mac_debug/artifacts.zip' ]];
223
+ return < List <String >> [
224
+ < String > ['darwin-x64' , 'darwin-x64/artifacts.zip' ],
225
+ < String > ['android-arm-profile/darwin-x64' , 'android-arm-profile/darwin-x64.zip' ],
226
+ < String > ['android-arm-release/darwin-x64' , 'android-arm-release/darwin-x64.zip' ],
227
+ ];
224
228
else if (Platform .isLinux)
225
229
return < List <String >> [
226
230
< String > ['linux-x64' , 'linux-x64/artifacts.zip' ],
You can’t perform that action at this time.
0 commit comments