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

Unified Diff: editor/build/build.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 | « no previous file | tools/bots/bot_utils.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: editor/build/build.py
===================================================================
--- editor/build/build.py (revision 37519)
+++ editor/build/build.py (working copy)
@@ -100,6 +100,12 @@
namer.apidocs_zipfilename())
DartArchiveFile(api_zip, destination, create_md5sum=False)
+def DartArchiveUploadAndroidZip(android_zip):
+ namer = bot_utils.GCSNamer(CHANNEL, bot_utils.ReleaseType.RAW)
+ for revision in [REVISION, 'latest']:
+ destination = namer.editor_android_zipfilepath(revision)
+ DartArchiveFile(android_zip, destination, create_md5sum=False)
+
def DartArchiveUploadVersionFile(version_file):
namer = bot_utils.GCSNamer(CHANNEL, bot_utils.ReleaseType.RAW)
for revision in [REVISION, 'latest']:
@@ -556,6 +562,10 @@
if version_file:
DartArchiveUploadVersionFile(version_file)
+ # Archive the android editor zip file
+ if builder_name.startswith('dart-editor-linux'):
+ UploadAndroidZip()
+
found_zips = _FindRcpZipFiles(buildout)
for zipfile in found_zips:
DartArchiveUploadEditorZipFile(zipfile)
@@ -1089,7 +1099,13 @@
DartArchiveUploadAPIDocs(api_zip)
+def UploadAndroidZip():
+ android_zip = join(DART_PATH,
+ utils.GetBuildRoot(BUILD_OS, 'release', 'ia32'),
+ 'editor', 'android.zip')
+ DartArchiveUploadAndroidZip(andrid_zip)
+
def CreateSDK(sdkpath):
"""Create the dart-sdk's for the current OS"""
« no previous file with comments | « no previous file | tools/bots/bot_utils.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698