Sha256: d7a243ee2b8a8a1dfda08a5069da1db4d90602879c57ce6d29af485210fdb84b

Contents?: true

Size: 657 Bytes

Versions: 10

Compression:

Stored size: 657 Bytes

Contents

#!/usr/bin/env python
# Copyright 2016 the V8 project authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.

import os
import re
import subprocess

GCMOLE_PATH = os.path.dirname(os.path.abspath(__file__))
SHA1_PATH = os.path.join(GCMOLE_PATH, 'gcmole-tools.tar.gz.sha1')

if re.search(r'\bgcmole=1', os.environ.get('GYP_DEFINES', '')):
  subprocess.check_call([
    'download_from_google_storage',
    '-b', 'chrome-v8-gcmole',
    '-u', '--no_resume',
    '-s', SHA1_PATH,
    '--platform=linux*'
  ])
else:
  print 'Skipping gcmole download as gcmole is not set in gyp flags.'

Version data entries

10 entries across 9 versions & 2 rubygems

Version Path
libv8-6.0.286.54.1 vendor/v8/tools/gcmole/download_gcmole_tools.py
libv8-6.0.286.54.0 vendor/v8/tools/gcmole/download_gcmole_tools.py
libv8-6.0.286.54.0beta2 vendor/v8/tools/gcmole/download_gcmole_tools.py
libv8-6.0.286.54.0beta1 vendor/v8/tools/gcmole/download_gcmole_tools.py
libv8-6.0.286.44.0beta1 vendor/v8/tools/gcmole/download_gcmole_tools.py
node-compiler-0.9.1 vendor/node/deps/v8/tools/gcmole/download_gcmole_tools.py
node-compiler-0.9.0 vendor/node-v7.2.1/deps/v8/tools/gcmole/download_gcmole_tools.py
node-compiler-0.8.0 vendor/node-v7.2.0/deps/v8/tools/gcmole/download_gcmole_tools.py
node-compiler-0.7.0 vendor/node-v7.1.0/deps/v8/tools/gcmole/download_gcmole_tools.py
node-compiler-0.7.0 vendor/node-v6.9.1/deps/v8/tools/gcmole/download_gcmole_tools.py