summaryrefslogtreecommitdiff
path: root/tools/prebuilt.py
diff options
context:
space:
mode:
Diffstat (limited to 'tools/prebuilt.py')
-rw-r--r--tools/prebuilt.py10
1 files changed, 7 insertions, 3 deletions
diff --git a/tools/prebuilt.py b/tools/prebuilt.py
index 7542d7aa6..46763cc9f 100644
--- a/tools/prebuilt.py
+++ b/tools/prebuilt.py
@@ -5,12 +5,16 @@ from third_party import tp, google_env
def download_v8_prebuilt():
if sys.platform == 'win32':
- sha1_file = "prebuilt/win/v8.lib.sha1"
+ download_prebuilt("prebuilt/win/v8.lib.sha1")
+ # TODO Ideally we wouldn't have to download both builds of V8.
+ download_prebuilt("prebuilt/win/v8_debug.lib.sha1")
elif sys.platform.startswith('linux'):
- sha1_file = "prebuilt/linux64/libv8.a.sha1"
+ download_prebuilt("prebuilt/linux64/libv8.a.sha1")
elif sys.platform == 'darwin':
- sha1_file = "prebuilt/mac/libv8.a.sha1"
+ download_prebuilt("prebuilt/mac/libv8.a.sha1")
+
+def download_prebuilt(sha1_file):
run([
"python",
tp('depot_tools/download_from_google_storage.py'),