Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(32)

Unified Diff: tools/bots/bot_utils.py

Issue 343653009: Add archiving of android zip files. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 6 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « editor/build/build.py ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/bots/bot_utils.py
===================================================================
--- tools/bots/bot_utils.py (revision 37519)
+++ tools/bots/bot_utils.py (working copy)
@@ -107,6 +107,10 @@
return '/'.join([self.editor_directory(revision),
self.editor_installer_filename(system, arch, extension)])
+ def editor_android_zipfilepath(self, revision):
+ return '/'.join([self.editor_directory(revision),
+ self.editor_android_zipfilename()])
+
def sdk_zipfilepath(self, revision, system, arch, mode):
return '/'.join([self.sdk_directory(revision),
self.sdk_zipfilename(system, arch, mode)])
@@ -169,6 +173,9 @@
return 'darteditor-%s-%s.zip' % (
SYSTEM_RENAMES[system], ARCH_RENAMES[arch])
+ def editor_android_zipfilename(self):
+ return 'android.zip'
+
def editor_installer_filename(self, system, arch, extension):
assert extension in ['dmg', 'msi']
return 'darteditor-installer-%s-%s.%s' % (
@@ -333,7 +340,7 @@
return checksum_filename
def GetChannelFromName(name):
- """Get the channel from the name. Bleeding edge builders don't
+ """Get the channel from the name. Bleeding edge builders don't
have a suffix."""
channel_name = string.split(name, '-').pop()
if channel_name in Channel.ALL_CHANNELS:
« no previous file with comments | « editor/build/build.py ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698