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

Unified Diff: tools/bots/dart_sdk.py

Issue 1704323002: Archive unstripped dart binaries on the sdk builders (Closed) Base URL: https://github.com/dart-lang/sdk.git@master
Patch Set: Created 4 years, 10 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 | « tools/bots/bot_utils.py ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/bots/dart_sdk.py
diff --git a/tools/bots/dart_sdk.py b/tools/bots/dart_sdk.py
index 795288538a1ec813772b05a4917ede366efc7c14..00e7d35db646bf0be42bfbec50ac1f31615276bd 100644
--- a/tools/bots/dart_sdk.py
+++ b/tools/bots/dart_sdk.py
@@ -88,9 +88,25 @@ def DartArchiveUploadSDKs(system, sdk32_zip, sdk64_zip):
DartArchiveFile(sdk32_zip, path32, checksum_files=True)
DartArchiveFile(sdk64_zip, path64, checksum_files=True)
+def DartArchiveUnstrippedBinaries():
+ namer = bot_utils.GCSNamer(CHANNEL, bot_utils.ReleaseType.RAW)
+ revision = utils.GetArchiveVersion()
+ binary = namer.unstripped_filename(BUILD_OS)
+ ia32_binary = os.path.join(bot_utils.DART_DIR,
+ utils.GetBuildRoot(BUILD_OS, 'release', 'ia32'),
+ binary)
+ x64_binary = os.path.join(bot_utils.DART_DIR,
+ utils.GetBuildRoot(BUILD_OS, 'release', 'x64'),
+ binary)
+ gs_ia32_path = namer.unstripped_filepath(revision, BUILD_OS, 'ia32')
+ gs_x64_path = namer.unstripped_filepath(revision, BUILD_OS, 'x64')
+ DartArchiveFile(ia32_binary, gs_ia32_path)
+ DartArchiveFile(x64_binary, gs_x64_path)
+
def CreateUploadSDK():
BuildSDK()
CreateUploadSDKZips()
+ DartArchiveUnstrippedBinaries()
def CreateUploadAPIDocs():
dartdoc_dir = os.path.join(bot_utils.DART_DIR,
« no previous file with comments | « tools/bots/bot_utils.py ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698