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

Unified Diff: build/linux/install-arm-sysroot.py

Issue 239113004: Update ARM sysroot image. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 8 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 | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: build/linux/install-arm-sysroot.py
diff --git a/build/linux/install-arm-sysroot.py b/build/linux/install-arm-sysroot.py
index 76d073e47a2a35ad46d1f392a4b4f39db5abbc8c..5c278ea652e531958f53a5dd709750e7d9543ea4 100755
--- a/build/linux/install-arm-sysroot.py
+++ b/build/linux/install-arm-sysroot.py
@@ -32,9 +32,9 @@ import sys
SCRIPT_DIR = os.path.dirname(os.path.abspath(__file__))
-URL_PREFIX = 'https://commondatastorage.googleapis.com'
+URL_PREFIX = 'https://storage.googleapis.com'
URL_PATH = 'nativeclient-archive2/toolchain'
-REVISION = 12356
+REVISION = 13035
TARBALL = 'sysroot-arm-trusted.tgz'
def main(args):
@@ -64,7 +64,12 @@ def main(args):
shutil.rmtree(sysroot)
os.mkdir(sysroot)
tarball = os.path.join(sysroot, TARBALL)
- subprocess.check_call(['curl', '-L', url, '-o', tarball])
+ curl = ['curl', '--fail', '-L', url, '-o', tarball]
+ if os.isatty(sys.stdout.fileno()):
+ curl.append('--progress')
+ else:
+ curl.append('--silent')
+ subprocess.check_call(curl)
subprocess.check_call(['tar', 'xf', tarball, '-C', sysroot])
os.remove(tarball)
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698