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

Side by Side Diff: buildbot/file_up_down_load.sh

Issue 101713002: [MIPS] Upload a toolchain tarball for MIPS after the build step (Closed) Base URL: http://git.chromium.org/native_client/src/native_client.git@master
Patch Set: Update. Created 7 years 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 unified diff | Download patch
« no previous file with comments | « buildbot/buildbot_toolchain_mips_trusted.sh ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 #!/bin/bash 1 #!/bin/bash
2 # Copyright (c) 2012 The Native Client Authors. All rights reserved. 2 # Copyright (c) 2012 The Native Client Authors. All rights reserved.
3 # Use of this source code is governed by a BSD-style license that can be 3 # Use of this source code is governed by a BSD-style license that can be
4 # found in the LICENSE file. 4 # found in the LICENSE file.
5 # 5 #
6 #@ This script for up/downloading native client toolchains, etc.. 6 #@ This script for up/downloading native client toolchains, etc..
7 #@ To manually inspect what is on the store servers point your 7 #@ To manually inspect what is on the store servers point your
8 #@ browser at: 8 #@ browser at:
9 #@ http://gsdview.appspot.com/nativeclient-archive2/ 9 #@ http://gsdview.appspot.com/nativeclient-archive2/
10 10
(...skipping 142 matching lines...) Expand 10 before | Expand all | Expand 10 after
153 ###################################################################### 153 ######################################################################
154 # ARM UN-TRUSTED 154 # ARM UN-TRUSTED
155 ###################################################################### 155 ######################################################################
156 156
157 #@ label should be in : 157 #@ label should be in :
158 #@ 158 #@
159 #@ pnacl_linux_x86 159 #@ pnacl_linux_x86
160 #@ pnacl_mac_x86 160 #@ pnacl_mac_x86
161 #@ pnacl_win_x86 161 #@ pnacl_win_x86
162 162
163 UploadPnaclToolchains() { 163 UploadToolchainTarball() {
164 local rev=$1 164 local rev=$1
165 local label=$2 165 local label=$2
166 local tarball=$3 166 local tarball=$3
167 167
168 ComputeSha1 ${tarball} > ${tarball}.sha1hash 168 ComputeSha1 ${tarball} > ${tarball}.sha1hash
169 UploadArchive toolchain/${rev}/naclsdk_${label}.tgz.sha1hash ${tarball}.sha1ha sh 169 UploadArchive toolchain/${rev}/naclsdk_${label}.tgz.sha1hash ${tarball}.sha1ha sh
170 170
171 # NOTE: only the last link is shown on the waterfall so this should come last 171 # NOTE: only the last link is shown on the waterfall so this should come last
172 UploadArchive toolchain/${rev}/naclsdk_${label}.tgz ${tarball} 172 UploadArchive toolchain/${rev}/naclsdk_${label}.tgz ${tarball}
173 } 173 }
(...skipping 122 matching lines...) Expand 10 before | Expand all | Expand 10 after
296 Usage 296 Usage
297 exit -1 297 exit -1
298 elif [[ "$(type -t $1)" != "function" ]]; then 298 elif [[ "$(type -t $1)" != "function" ]]; then
299 echo "ERROR: unknown function '$1'." >&2 299 echo "ERROR: unknown function '$1'." >&2
300 echo "For help, try:" 300 echo "For help, try:"
301 echo " $0 help" 301 echo " $0 help"
302 exit 1 302 exit 1
303 else 303 else
304 "$@" 304 "$@"
305 fi 305 fi
OLDNEW
« no previous file with comments | « buildbot/buildbot_toolchain_mips_trusted.sh ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698