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

Side by Side Diff: gypfiles/download_gold_plugin.py

Issue 1848553003: [gn] Move build to gypfiles (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Preserve old state for the dance Created 4 years, 7 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 unified diff | Download patch
« no previous file with comments | « gypfiles/detect_v8_host_arch.py ('k') | gypfiles/features.gypi » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 #!/usr/bin/env python 1 #!/usr/bin/env python
2 # Copyright 2015 the V8 project authors. All rights reserved. 2 # Copyright 2015 the V8 project authors. All rights reserved.
3 # Copyright 2015 The Chromium Authors. All rights reserved. 3 # Copyright 2015 The Chromium Authors. All rights reserved.
4 # Use of this source code is governed by a BSD-style license that can be 4 # Use of this source code is governed by a BSD-style license that can be
5 # found in the LICENSE file. 5 # found in the LICENSE file.
6 6
7 """Script to download LLVM gold plugin from google storage.""" 7 """Script to download LLVM gold plugin from google storage."""
8 8
9 import json 9 import json
10 import os 10 import os
(...skipping 61 matching lines...) Expand 10 before | Expand all | Expand 10 after
72 # stdin->stderr redirect in update.py to do something else (crbug.com/494442). 72 # stdin->stderr redirect in update.py to do something else (crbug.com/494442).
73 subprocess.check_call(['python', GSUTIL_PATH, 73 subprocess.check_call(['python', GSUTIL_PATH,
74 'cp', remote_path, targz_name], 74 'cp', remote_path, targz_name],
75 stderr=open('/dev/null', 'w')) 75 stderr=open('/dev/null', 'w'))
76 subprocess.check_call(['tar', 'xzf', targz_name]) 76 subprocess.check_call(['tar', 'xzf', targz_name])
77 os.remove(targz_name) 77 os.remove(targz_name)
78 return 0 78 return 0
79 79
80 if __name__ == '__main__': 80 if __name__ == '__main__':
81 sys.exit(main()) 81 sys.exit(main())
OLDNEW
« no previous file with comments | « gypfiles/detect_v8_host_arch.py ('k') | gypfiles/features.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698