summaryrefslogtreecommitdiff
path: root/tools/run_hooks.py
diff options
context:
space:
mode:
authorRyan Dahl <ry@tinyclouds.org>2018-07-24 13:42:23 -0400
committerGitHub <noreply@github.com>2018-07-24 13:42:23 -0400
commit0875411267d62a0fdcaf762657f19082b440fe36 (patch)
treeb9c7e51afd0b93a0eca328b6452bf7c328da95b7 /tools/run_hooks.py
parent0213053856148379992212b189390f222c6cb460 (diff)
Add tools/build.py (#398)
To allow better tab completion for ./tools/build.py mv build_third_party.py sync_third_party.py
Diffstat (limited to 'tools/run_hooks.py')
-rwxr-xr-xtools/run_hooks.py16
1 files changed, 8 insertions, 8 deletions
diff --git a/tools/run_hooks.py b/tools/run_hooks.py
index 2ec671186..58178a69c 100755
--- a/tools/run_hooks.py
+++ b/tools/run_hooks.py
@@ -9,14 +9,14 @@ depot_tools_path = os.path.join(third_party_path, "depot_tools")
os.chdir(root_path)
-def download(fn):
+def download(filename):
run([
+ "python",
os.path.join(depot_tools_path + '/download_from_google_storage.py'),
- '--no_resume', '--platform=' + sys.platform, '--no_auth', '--bucket',
- 'chromium-gn', '-s',
- os.path.join(root_path, fn)
- ],
- quiet=True)
+ '--platform=' + sys.platform, '--no_auth', '--bucket=chromium-gn',
+ '--sha1_file',
+ os.path.join(root_path, filename)
+ ])
if sys.platform == 'win32':
@@ -25,5 +25,5 @@ elif sys.platform == 'darwin':
download("third_party/v8/buildtools/mac/gn.sha1")
elif sys.platform.startswith('linux'):
download("third_party/v8/buildtools/linux64/gn.sha1")
-run(['python', 'third_party/v8/tools/clang/scripts/update.py', '--if-needed'],
- quiet=True)
+
+run(['python', 'third_party/v8/tools/clang/scripts/update.py', '--if-needed'])