[build] Download gcmole and jsfunfuzz controlled by gclient flag
The corresponding gclient variables are set now via: https://crrev.com/c/913368 Bug: chromium:772804 Change-Id: I9c96bde3e6cc88d84a320c00d3316a91c48749f7 Reviewed-on: https://chromium-review.googlesource.com/913351 Reviewed-by: Sergiy Byelozyorov <sergiyb@chromium.org> Commit-Queue: Michael Achenbach <machenbach@chromium.org> Cr-Commit-Position: refs/heads/master@{#51240}
This commit is contained in:
parent
5460f7f728
commit
1554e2d737
24
DEPS
24
DEPS
@ -6,6 +6,8 @@ vars = {
|
||||
'build_for_node': False,
|
||||
'checkout_instrumented_libraries': False,
|
||||
'chromium_url': 'https://chromium.googlesource.com',
|
||||
'download_gcmole': False,
|
||||
'download_jsfunfuzz': False,
|
||||
'download_mips_toolchain': False,
|
||||
}
|
||||
|
||||
@ -136,21 +138,23 @@ hooks = [
|
||||
{
|
||||
'name': 'gcmole',
|
||||
'pattern': '.',
|
||||
'condition': 'build_for_node != True',
|
||||
# TODO(machenbach): Insert condition and remove GYP_DEFINES dependency.
|
||||
'action': [
|
||||
'python',
|
||||
'v8/tools/gcmole/download_gcmole_tools.py',
|
||||
'condition': 'download_gcmole',
|
||||
'action': [ 'download_from_google_storage',
|
||||
'--bucket', 'chrome-v8-gcmole',
|
||||
'-u', '--no_resume',
|
||||
'-s', 'v8/tools/gcmole/gcmole-tools.tar.gz.sha1',
|
||||
'--platform=linux*',
|
||||
],
|
||||
},
|
||||
{
|
||||
'name': 'jsfunfuzz',
|
||||
'pattern': '.',
|
||||
'condition': 'build_for_node != True',
|
||||
# TODO(machenbach): Insert condition and remove GYP_DEFINES dependency.
|
||||
'action': [
|
||||
'python',
|
||||
'v8/tools/jsfunfuzz/download_jsfunfuzz.py',
|
||||
'condition': 'download_jsfunfuzz',
|
||||
'action': [ 'download_from_google_storage',
|
||||
'--bucket', 'chrome-v8-jsfunfuzz',
|
||||
'-u', '--no_resume',
|
||||
'-s', 'v8/tools/jsfunfuzz/jsfunfuzz.tar.gz.sha1',
|
||||
'--platform=linux*',
|
||||
],
|
||||
},
|
||||
# Pull luci-go binaries (isolate, swarming) using checked-in hashes.
|
||||
|
@ -1,20 +0,0 @@
|
||||
#!/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*'
|
||||
])
|
@ -1,20 +0,0 @@
|
||||
#!/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
|
||||
|
||||
FUZZ_PATH = os.path.dirname(os.path.abspath(__file__))
|
||||
SHA1_PATH = os.path.join(FUZZ_PATH, 'jsfunfuzz.tar.gz.sha1')
|
||||
|
||||
if re.search(r'\bjsfunfuzz=1', os.environ.get('GYP_DEFINES', '')):
|
||||
subprocess.check_call([
|
||||
'download_from_google_storage',
|
||||
'-b', 'chrome-v8-jsfunfuzz',
|
||||
'-u', '--no_resume',
|
||||
'-s', SHA1_PATH,
|
||||
'--platform=linux*'
|
||||
])
|
Loading…
Reference in New Issue
Block a user