Return to the mojo artifacts for Linux

This commit is contained in:
Adam Barth 2015-11-04 14:25:47 -08:00
parent 4ba8a7f077
commit b4fa3fbbf0

View File

@ -41,13 +41,13 @@ String _getNameForTargetPlatform(TargetPlatform platform) {
// Keep in sync with https://github.com/flutter/engine/blob/master/sky/tools/release_engine.py
// and https://github.com/flutter/buildbot/blob/master/travis/build.sh
String _getCloudStorageBaseUrl({String category, String platform, String revision}) {
if (platform == 'android-arm') {
if (platform == 'darwin-x64') {
// In the fullness of time, we'll have a consistent URL pattern for all of
// our artifacts, but, for the time being, Android artifacts are stored in a
// our artifacts, but, for the time being, Mac OS X artifacts are stored in a
// different cloud storage bucket.
return 'https://storage.googleapis.com/mojo/sky/${category}/${platform}/${revision}/';
return 'https://storage.googleapis.com/mojo_infra/flutter/${platform}/${revision}/';
}
return 'https://storage.googleapis.com/mojo_infra/flutter/${platform}/${revision}/';
return 'https://storage.googleapis.com/mojo/sky/${category}/${platform}/${revision}/';
}
enum ArtifactType {