From cc126528f0a787da2e5c8910f0e8aa2df681a4dd Mon Sep 17 00:00:00 2001 From: Ryan Dahl Date: Thu, 29 Nov 2018 23:25:59 -0800 Subject: Add prebuilt/win/v8_debug.lib (#1249) The windows debug build was broken due to libc link errors. --- tools/prebuilt.py | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) (limited to 'tools/prebuilt.py') 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'), -- cgit v1.2.3