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
29b8c804
Commit
29b8c804
authored
May 11, 2016
by
Chinmay Garde
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update bucket names for each target and host build configuration. (#3866)
parent
2e8315e8
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
22 additions
and
2 deletions
+22
-2
build_configuration.dart
packages/flutter_tools/lib/src/build_configuration.dart
+22
-2
No files found.
packages/flutter_tools/lib/src/build_configuration.dart
View file @
29b8c804
...
...
@@ -35,7 +35,13 @@ enum HostPlatform {
}
String
getNameForHostPlatform
(
HostPlatform
platform
)
{
return
getEnumName
(
platform
).
replaceAll
(
'_'
,
'-'
);
switch
(
platform
)
{
case
HostPlatform
.
darwin_x64
:
return
"mac_release"
;
case
HostPlatform
.
linux_x64
:
return
"linux-x64"
;
}
assert
(
false
);
}
enum
TargetPlatform
{
...
...
@@ -48,7 +54,21 @@ enum TargetPlatform {
}
String
getNameForTargetPlatform
(
TargetPlatform
platform
)
{
return
getEnumName
(
platform
).
replaceAll
(
'_'
,
'-'
);
switch
(
platform
)
{
case
TargetPlatform
.
android_arm
:
return
"android-arm"
;
case
TargetPlatform
.
android_x64
:
return
"android-x64"
;
case
TargetPlatform
.
android_x86
:
return
"android-x86"
;
case
TargetPlatform
.
ios
:
return
"ios_release"
;
case
TargetPlatform
.
darwin_x64
:
return
"mac_release"
;
case
TargetPlatform
.
linux_x64
:
return
"linux-x64"
;
}
assert
(
false
);
}
HostPlatform
getCurrentHostPlatform
(
)
{
...
...
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