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
a21dedc1
Commit
a21dedc1
authored
May 14, 2016
by
Chinmay Garde
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Enable targetting AOTC Android builds from Mac hosts. (#3911)
parent
cc5d1adc
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
14 additions
and
10 deletions
+14
-10
engine.version
bin/cache/engine.version
+1
-1
build_info.dart
packages/flutter_tools/lib/src/build_info.dart
+8
-8
cache.dart
packages/flutter_tools/lib/src/cache.dart
+5
-1
No files found.
bin/cache/engine.version
View file @
a21dedc1
57edc534d69031b03409e7af37cbc492cb135086
a1f4a12baa3dd4382e395743ff16ffbe3d188b88
packages/flutter_tools/lib/src/build_info.dart
View file @
a21dedc1
...
...
@@ -35,9 +35,9 @@ enum HostPlatform {
String
getNameForHostPlatform
(
HostPlatform
platform
)
{
switch
(
platform
)
{
case
HostPlatform
.
darwin_x64
:
return
"mac_debug"
;
return
'darwin-x64'
;
case
HostPlatform
.
linux_x64
:
return
"linux-x64"
;
return
'linux-x64'
;
}
assert
(
false
);
}
...
...
@@ -54,17 +54,17 @@ enum TargetPlatform {
String
getNameForTargetPlatform
(
TargetPlatform
platform
)
{
switch
(
platform
)
{
case
TargetPlatform
.
android_arm
:
return
"android-arm"
;
return
'android-arm'
;
case
TargetPlatform
.
android_x64
:
return
"android-x64"
;
return
'android-x64'
;
case
TargetPlatform
.
android_x86
:
return
"android-x86"
;
return
'android-x86'
;
case
TargetPlatform
.
ios
:
return
"ios_release"
;
return
'ios_release'
;
case
TargetPlatform
.
darwin_x64
:
return
"mac_debug"
;
return
'darwin-x64'
;
case
TargetPlatform
.
linux_x64
:
return
"linux-x64"
;
return
'linux-x64'
;
}
assert
(
false
);
}
...
...
packages/flutter_tools/lib/src/cache.dart
View file @
a21dedc1
...
...
@@ -220,7 +220,11 @@ class FlutterEngine {
// Return a list of (cache directory path, download URL path) tuples.
List
<
List
<
String
>>
_getToolsDirs
()
{
if
(
Platform
.
isMacOS
)
return
<
List
<
String
>>[<
String
>[
'mac_debug'
,
'mac_debug/artifacts.zip'
]];
return
<
List
<
String
>>[
<
String
>[
'darwin-x64'
,
'darwin-x64/artifacts.zip'
],
<
String
>[
'android-arm-profile/darwin-x64'
,
'android-arm-profile/darwin-x64.zip'
],
<
String
>[
'android-arm-release/darwin-x64'
,
'android-arm-release/darwin-x64.zip'
],
];
else
if
(
Platform
.
isLinux
)
return
<
List
<
String
>>[
<
String
>[
'linux-x64'
,
'linux-x64/artifacts.zip'
],
...
...
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