summaryrefslogtreecommitdiff
path: root/tools/prebuilt.py
diff options
context:
space:
mode:
authorBert Belder <bertbelder@gmail.com>2018-12-13 21:56:53 +0100
committerRyan Dahl <ry@tinyclouds.org>2018-12-18 15:15:08 -0500
commitb40326875cd9b3374fb8d02b14cf1bf588343abe (patch)
tree9c794af97f65a9cc9c35c7d5902ef2e1da375aa1 /tools/prebuilt.py
parent0481d6c2c05eedbab289a85d8bfe4b909013491d (diff)
Remove prebuilt v8 support
Diffstat (limited to 'tools/prebuilt.py')
-rw-r--r--tools/prebuilt.py35
1 files changed, 0 insertions, 35 deletions
diff --git a/tools/prebuilt.py b/tools/prebuilt.py
deleted file mode 100644
index 46763cc9f..000000000
--- a/tools/prebuilt.py
+++ /dev/null
@@ -1,35 +0,0 @@
-import sys
-from util import run
-from third_party import tp, google_env
-
-
-def download_v8_prebuilt():
- if sys.platform == 'win32':
- 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'):
- download_prebuilt("prebuilt/linux64/libv8.a.sha1")
- elif sys.platform == 'darwin':
- download_prebuilt("prebuilt/mac/libv8.a.sha1")
-
-
-def download_prebuilt(sha1_file):
- run([
- "python",
- tp('depot_tools/download_from_google_storage.py'),
- '--platform=' + sys.platform,
- '--no_auth',
- '--bucket=denoland',
- '--sha1_file',
- sha1_file,
- ],
- env=google_env())
-
-
-def load():
- download_v8_prebuilt()
-
-
-if __name__ == '__main__':
- sys.exit(load())