2012-05-11 12:18:09 +00:00
|
|
|
# Note: The buildbots evaluate this file with CWD set to the parent
|
|
|
|
# directory and assume that the root of the checkout is in ./v8/, so
|
|
|
|
# all paths in here must match this assumption.
|
|
|
|
|
2014-05-14 08:30:49 +00:00
|
|
|
vars = {
|
2017-10-11 12:58:07 +00:00
|
|
|
'checkout_instrumented_libraries': False,
|
2016-09-23 23:54:34 +00:00
|
|
|
'chromium_url': 'https://chromium.googlesource.com',
|
2018-02-12 12:55:09 +00:00
|
|
|
'download_gcmole': False,
|
|
|
|
'download_jsfunfuzz': False,
|
2018-01-30 13:00:32 +00:00
|
|
|
'download_mips_toolchain': False,
|
2018-07-20 13:13:31 +00:00
|
|
|
'check_v8_header_includes': False,
|
2018-12-06 14:15:30 +00:00
|
|
|
|
|
|
|
# luci-go CIPD package version.
|
2018-12-13 09:33:05 +00:00
|
|
|
'luci_go': 'git_revision:25958d48e89e980e2a97daeddc977fb5e2e1fb8c',
|
2014-05-14 08:30:49 +00:00
|
|
|
}
|
|
|
|
|
2012-05-11 12:18:09 +00:00
|
|
|
deps = {
|
2016-04-29 13:37:07 +00:00
|
|
|
'v8/build':
|
2019-02-25 20:59:53 +00:00
|
|
|
Var('chromium_url') + '/chromium/src/build.git' + '@' + 'ebd384ac0066c979fa8fcd69b139e05407618820',
|
2018-05-14 09:25:53 +00:00
|
|
|
'v8/third_party/depot_tools':
|
2019-02-24 03:05:38 +00:00
|
|
|
Var('chromium_url') + '/chromium/tools/depot_tools.git' + '@' + '95ea36ed70541b2ad01c33656c9504b7dc6404d0',
|
2013-07-01 08:32:41 +00:00
|
|
|
'v8/third_party/icu':
|
2019-02-22 09:25:28 +00:00
|
|
|
Var('chromium_url') + '/chromium/deps/icu.git' + '@' + '960f195aa87acaec46e6104ec93a596da7ae0843',
|
2016-07-29 08:59:27 +00:00
|
|
|
'v8/third_party/instrumented_libraries':
|
2018-10-31 07:37:30 +00:00
|
|
|
Var('chromium_url') + '/chromium/src/third_party/instrumented_libraries.git' + '@' + 'a959e4f0cb643003f2d75d179cede449979e3e77',
|
2014-06-03 12:01:50 +00:00
|
|
|
'v8/buildtools':
|
2019-02-22 09:25:28 +00:00
|
|
|
Var('chromium_url') + '/chromium/src/buildtools.git' + '@' + '3e50219fc4503f461b2176a9976891b28d80f9ab',
|
2019-02-12 06:53:26 +00:00
|
|
|
'v8/buildtools/clang_format/script':
|
|
|
|
Var('chromium_url') + '/chromium/llvm-project/cfe/tools/clang-format.git' + '@' + '96636aa0e9f047f17447f2d45a094d0b59ed7917',
|
|
|
|
'v8/buildtools/third_party/libc++/trunk':
|
2019-02-22 09:25:28 +00:00
|
|
|
Var('chromium_url') + '/chromium/llvm-project/libcxx.git' + '@' + '22d3f6dd25e5efc59124ba1c00b8f98b14be4201',
|
2019-02-12 06:53:26 +00:00
|
|
|
'v8/buildtools/third_party/libc++abi/trunk':
|
2019-02-22 09:25:28 +00:00
|
|
|
Var('chromium_url') + '/chromium/llvm-project/libcxxabi.git' + '@' + '0d529660e32d77d9111912d73f2c74fc5fa2a858',
|
2019-02-12 06:53:26 +00:00
|
|
|
'v8/buildtools/third_party/libunwind/trunk':
|
|
|
|
Var('chromium_url') + '/external/llvm.org/libunwind.git' + '@' + '69d9b84cca8354117b9fe9705a4430d789ee599b',
|
2015-12-16 12:16:32 +00:00
|
|
|
'v8/base/trace_event/common':
|
2019-02-23 03:13:17 +00:00
|
|
|
Var('chromium_url') + '/chromium/src/base/trace_event/common.git' + '@' + '936ba8a963284a6b3737cf2f0474a7131073abee',
|
2018-01-11 07:29:00 +00:00
|
|
|
'v8/third_party/android_ndk': {
|
2018-08-17 12:29:23 +00:00
|
|
|
'url': Var('chromium_url') + '/android_ndk.git' + '@' + '4e2cea441bfd43f0863d14f57b1e1844260b9884',
|
2018-01-11 07:29:00 +00:00
|
|
|
'condition': 'checkout_android',
|
|
|
|
},
|
2017-10-09 14:20:57 +00:00
|
|
|
'v8/third_party/android_tools': {
|
2019-02-02 03:12:17 +00:00
|
|
|
'url': Var('chromium_url') + '/android_tools.git' + '@' + '347a7c8078a009e98995985b7ab6ec6b35696dea',
|
2017-10-09 14:20:57 +00:00
|
|
|
'condition': 'checkout_android',
|
|
|
|
},
|
|
|
|
'v8/third_party/catapult': {
|
2019-02-24 03:05:38 +00:00
|
|
|
'url': Var('chromium_url') + '/catapult.git' + '@' + 'a4323c9b818b66583feb3bd7df786f564ee2b756',
|
2018-10-04 07:43:23 +00:00
|
|
|
'condition': 'checkout_android',
|
2017-10-09 14:20:57 +00:00
|
|
|
},
|
2017-10-24 13:45:21 +00:00
|
|
|
'v8/third_party/colorama/src': {
|
|
|
|
'url': Var('chromium_url') + '/external/colorama.git' + '@' + '799604a1041e9b3bc5d2789ecbd7e8db2e18e6b8',
|
|
|
|
'condition': 'checkout_android',
|
|
|
|
},
|
2018-05-15 07:57:44 +00:00
|
|
|
'v8/third_party/fuchsia-sdk': {
|
2019-01-30 03:11:42 +00:00
|
|
|
'url': Var('chromium_url') + '/chromium/src/third_party/fuchsia-sdk.git' + '@' + '8e8db13b538ecb251e5ce9d5c781fc142f9752fd',
|
2018-05-15 07:57:44 +00:00
|
|
|
'condition': 'checkout_fuchsia',
|
|
|
|
},
|
2018-03-22 20:25:16 +00:00
|
|
|
'v8/third_party/googletest/src':
|
2019-01-27 03:10:27 +00:00
|
|
|
Var('chromium_url') + '/external/github.com/google/googletest.git' + '@' + '5ec7f0c4a113e2f18ac2c6cc7df51ad6afc24081',
|
2016-08-01 05:42:24 +00:00
|
|
|
'v8/third_party/jinja2':
|
2018-07-07 03:10:16 +00:00
|
|
|
Var('chromium_url') + '/chromium/src/third_party/jinja2.git' + '@' + 'b41863e42637544c2941b574c7877d3e1f663e25',
|
2016-08-01 05:42:24 +00:00
|
|
|
'v8/third_party/markupsafe':
|
2017-01-20 04:37:52 +00:00
|
|
|
Var('chromium_url') + '/chromium/src/third_party/markupsafe.git' + '@' + '8f45f5cfa0009d2a70589bcda0349b8cb2b72783',
|
2015-09-25 14:36:58 +00:00
|
|
|
'v8/tools/swarming_client':
|
2019-02-22 00:28:16 +00:00
|
|
|
Var('chromium_url') + '/infra/luci/client-py.git' + '@' + 'd50a88f50782ba29076061b94c7b9d08a6c7e424',
|
2015-10-19 08:41:55 +00:00
|
|
|
'v8/test/benchmarks/data':
|
2016-09-23 23:54:34 +00:00
|
|
|
Var('chromium_url') + '/v8/deps/third_party/benchmarks.git' + '@' + '05d7188267b4560491ff9155c5ee13e207ecd65f',
|
2015-10-16 13:01:40 +00:00
|
|
|
'v8/test/mozilla/data':
|
2016-09-23 23:54:34 +00:00
|
|
|
Var('chromium_url') + '/v8/deps/third_party/mozilla-tests.git' + '@' + 'f6c578a10ea707b1a8ab0b88943fe5115ce2b9be',
|
2015-10-08 14:40:37 +00:00
|
|
|
'v8/test/test262/data':
|
2019-02-15 05:53:46 +00:00
|
|
|
Var('chromium_url') + '/external/github.com/tc39/test262.git' + '@' + '565d7d5b7dd808d9267006b83ac4ea9c48f782cc',
|
2016-07-22 15:25:06 +00:00
|
|
|
'v8/test/test262/harness':
|
2016-12-24 04:31:01 +00:00
|
|
|
Var('chromium_url') + '/external/github.com/test262-utils/test262-harness-py.git' + '@' + '0f2acdd882c84cff43b9d60df7574a1901e2cdcd',
|
2018-08-31 13:51:19 +00:00
|
|
|
'v8/third_party/qemu-linux-x64': {
|
2018-08-20 18:44:58 +00:00
|
|
|
'packages': [
|
|
|
|
{
|
|
|
|
'package': 'fuchsia/qemu/linux-amd64',
|
|
|
|
'version': '9cc486c5b18a0be515c39a280ca9a309c54cf994'
|
|
|
|
},
|
|
|
|
],
|
2018-08-31 13:51:19 +00:00
|
|
|
'condition': 'host_os == "linux" and checkout_fuchsia',
|
2018-08-20 18:44:58 +00:00
|
|
|
'dep_type': 'cipd',
|
|
|
|
},
|
2018-09-15 02:51:06 +00:00
|
|
|
'v8/third_party/qemu-mac-x64': {
|
|
|
|
'packages': [
|
|
|
|
{
|
|
|
|
'package': 'fuchsia/qemu/mac-amd64',
|
|
|
|
'version': '2d3358ae9a569b2d4a474f498b32b202a152134f'
|
|
|
|
},
|
|
|
|
],
|
|
|
|
'condition': 'host_os == "mac" and checkout_fuchsia',
|
|
|
|
'dep_type': 'cipd',
|
|
|
|
},
|
2014-11-27 10:29:41 +00:00
|
|
|
'v8/tools/clang':
|
2019-02-22 09:25:28 +00:00
|
|
|
Var('chromium_url') + '/chromium/src/tools/clang.git' + '@' + '987f14b1d69362d837743b9807e2b14caf55688f',
|
2018-10-23 09:19:09 +00:00
|
|
|
'v8/tools/luci-go': {
|
|
|
|
'packages': [
|
|
|
|
{
|
|
|
|
'package': 'infra/tools/luci/isolate/${{platform}}',
|
2018-12-06 14:15:30 +00:00
|
|
|
'version': Var('luci_go'),
|
|
|
|
},
|
|
|
|
{
|
|
|
|
'package': 'infra/tools/luci/isolated/${{platform}}',
|
|
|
|
'version': Var('luci_go'),
|
|
|
|
},
|
|
|
|
{
|
|
|
|
'package': 'infra/tools/luci/swarming/${{platform}}',
|
|
|
|
'version': Var('luci_go'),
|
2018-10-23 09:19:09 +00:00
|
|
|
},
|
|
|
|
],
|
2018-11-06 18:42:51 +00:00
|
|
|
'condition': 'host_cpu != "s390"',
|
2018-10-23 09:19:09 +00:00
|
|
|
'dep_type': 'cipd',
|
|
|
|
},
|
2018-10-17 19:00:16 +00:00
|
|
|
'v8/test/wasm-js/data':
|
2019-02-23 03:13:17 +00:00
|
|
|
Var('chromium_url') + '/external/github.com/WebAssembly/spec.git' + '@' + '4da05403482dc149738f3d3eb21808451a4317fe',
|
2012-05-11 12:18:09 +00:00
|
|
|
}
|
|
|
|
|
2016-09-28 21:17:01 +00:00
|
|
|
recursedeps = [
|
|
|
|
'v8/third_party/android_tools',
|
|
|
|
]
|
2016-06-06 08:47:27 +00:00
|
|
|
|
2014-06-03 13:39:42 +00:00
|
|
|
include_rules = [
|
|
|
|
# Everybody can use some things.
|
|
|
|
'+include',
|
|
|
|
'+unicode',
|
2014-08-06 11:39:39 +00:00
|
|
|
'+third_party/fdlibm',
|
2014-06-03 13:39:42 +00:00
|
|
|
]
|
|
|
|
|
|
|
|
# checkdeps.py shouldn't check for includes in these directories:
|
|
|
|
skip_child_includes = [
|
|
|
|
'build',
|
|
|
|
'third_party',
|
|
|
|
]
|
|
|
|
|
2012-05-11 12:18:09 +00:00
|
|
|
hooks = [
|
2018-05-17 10:41:13 +00:00
|
|
|
{
|
|
|
|
# Ensure that the DEPS'd "depot_tools" has its self-update capability
|
|
|
|
# disabled.
|
|
|
|
'name': 'disable_depot_tools_selfupdate',
|
|
|
|
'pattern': '.',
|
|
|
|
'action': [
|
|
|
|
'python',
|
|
|
|
'v8/third_party/depot_tools/update_depot_tools_toggle.py',
|
|
|
|
'--disable',
|
|
|
|
],
|
|
|
|
},
|
2015-02-24 16:57:37 +00:00
|
|
|
{
|
|
|
|
# This clobbers when necessary (based on get_landmines.py). It must be the
|
|
|
|
# first hook so that other things that get/generate into the output
|
|
|
|
# directory will not subsequently be clobbered.
|
|
|
|
'name': 'landmines',
|
|
|
|
'pattern': '.',
|
|
|
|
'action': [
|
|
|
|
'python',
|
2018-01-29 11:55:58 +00:00
|
|
|
'v8/build/landmines.py',
|
|
|
|
'--landmine-scripts',
|
|
|
|
'v8/tools/get_landmines.py',
|
2015-02-24 16:57:37 +00:00
|
|
|
],
|
|
|
|
},
|
2014-06-26 10:49:27 +00:00
|
|
|
# Pull clang-format binaries using checked-in hashes.
|
|
|
|
{
|
|
|
|
'name': 'clang_format_win',
|
|
|
|
'pattern': '.',
|
2018-04-05 19:34:00 +00:00
|
|
|
'condition': 'host_os == "win"',
|
2014-06-26 10:49:27 +00:00
|
|
|
'action': [ 'download_from_google_storage',
|
|
|
|
'--no_resume',
|
|
|
|
'--platform=win32',
|
|
|
|
'--no_auth',
|
|
|
|
'--bucket', 'chromium-clang-format',
|
|
|
|
'-s', 'v8/buildtools/win/clang-format.exe.sha1',
|
|
|
|
],
|
|
|
|
},
|
|
|
|
{
|
|
|
|
'name': 'clang_format_mac',
|
|
|
|
'pattern': '.',
|
2018-04-05 19:34:00 +00:00
|
|
|
'condition': 'host_os == "mac"',
|
2014-06-26 10:49:27 +00:00
|
|
|
'action': [ 'download_from_google_storage',
|
|
|
|
'--no_resume',
|
|
|
|
'--platform=darwin',
|
|
|
|
'--no_auth',
|
|
|
|
'--bucket', 'chromium-clang-format',
|
|
|
|
'-s', 'v8/buildtools/mac/clang-format.sha1',
|
|
|
|
],
|
|
|
|
},
|
|
|
|
{
|
|
|
|
'name': 'clang_format_linux',
|
|
|
|
'pattern': '.',
|
2018-04-05 19:34:00 +00:00
|
|
|
'condition': 'host_os == "linux"',
|
2014-06-26 10:49:27 +00:00
|
|
|
'action': [ 'download_from_google_storage',
|
|
|
|
'--no_resume',
|
|
|
|
'--platform=linux*',
|
|
|
|
'--no_auth',
|
|
|
|
'--bucket', 'chromium-clang-format',
|
|
|
|
'-s', 'v8/buildtools/linux64/clang-format.sha1',
|
|
|
|
],
|
|
|
|
},
|
2016-02-16 19:07:48 +00:00
|
|
|
{
|
|
|
|
'name': 'gcmole',
|
|
|
|
'pattern': '.',
|
2018-02-12 12:55:09 +00:00
|
|
|
'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*',
|
2016-02-16 19:07:48 +00:00
|
|
|
],
|
|
|
|
},
|
2016-02-18 09:47:23 +00:00
|
|
|
{
|
|
|
|
'name': 'jsfunfuzz',
|
|
|
|
'pattern': '.',
|
2018-02-12 12:55:09 +00:00
|
|
|
'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*',
|
2016-02-18 09:47:23 +00:00
|
|
|
],
|
|
|
|
},
|
2016-02-02 20:07:37 +00:00
|
|
|
# Pull GN using checked-in hashes.
|
|
|
|
{
|
|
|
|
'name': 'gn_win',
|
|
|
|
'pattern': '.',
|
2017-10-09 14:20:57 +00:00
|
|
|
'condition': 'host_os == "win"',
|
2016-02-02 20:07:37 +00:00
|
|
|
'action': [ 'download_from_google_storage',
|
|
|
|
'--no_resume',
|
|
|
|
'--platform=win32',
|
|
|
|
'--no_auth',
|
|
|
|
'--bucket', 'chromium-gn',
|
|
|
|
'-s', 'v8/buildtools/win/gn.exe.sha1',
|
|
|
|
],
|
|
|
|
},
|
|
|
|
{
|
|
|
|
'name': 'gn_mac',
|
|
|
|
'pattern': '.',
|
2017-10-09 14:20:57 +00:00
|
|
|
'condition': 'host_os == "mac"',
|
2016-02-02 20:07:37 +00:00
|
|
|
'action': [ 'download_from_google_storage',
|
|
|
|
'--no_resume',
|
|
|
|
'--platform=darwin',
|
|
|
|
'--no_auth',
|
|
|
|
'--bucket', 'chromium-gn',
|
|
|
|
'-s', 'v8/buildtools/mac/gn.sha1',
|
|
|
|
],
|
|
|
|
},
|
|
|
|
{
|
|
|
|
'name': 'gn_linux',
|
|
|
|
'pattern': '.',
|
2017-10-09 14:20:57 +00:00
|
|
|
'condition': 'host_os == "linux"',
|
2016-02-02 20:07:37 +00:00
|
|
|
'action': [ 'download_from_google_storage',
|
|
|
|
'--no_resume',
|
|
|
|
'--platform=linux*',
|
|
|
|
'--no_auth',
|
|
|
|
'--bucket', 'chromium-gn',
|
|
|
|
'-s', 'v8/buildtools/linux64/gn.sha1',
|
|
|
|
],
|
|
|
|
},
|
2017-04-27 12:28:05 +00:00
|
|
|
{
|
|
|
|
'name': 'wasm_spec_tests',
|
|
|
|
'pattern': '.',
|
|
|
|
'action': [ 'download_from_google_storage',
|
|
|
|
'--no_resume',
|
|
|
|
'--no_auth',
|
|
|
|
'-u',
|
|
|
|
'--bucket', 'v8-wasm-spec-tests',
|
|
|
|
'-s', 'v8/test/wasm-spec-tests/tests.tar.gz.sha1',
|
|
|
|
],
|
|
|
|
},
|
2016-06-08 15:27:21 +00:00
|
|
|
{
|
2018-02-09 09:28:42 +00:00
|
|
|
'name': 'sysroot_arm',
|
2016-06-08 15:27:21 +00:00
|
|
|
'pattern': '.',
|
2018-03-14 15:02:54 +00:00
|
|
|
'condition': '(checkout_linux and checkout_arm)',
|
2018-02-09 09:28:42 +00:00
|
|
|
'action': ['python', 'v8/build/linux/sysroot_scripts/install-sysroot.py',
|
|
|
|
'--arch=arm'],
|
|
|
|
},
|
|
|
|
{
|
|
|
|
'name': 'sysroot_arm64',
|
|
|
|
'pattern': '.',
|
2018-03-14 15:02:54 +00:00
|
|
|
'condition': '(checkout_linux and checkout_arm64)',
|
2018-02-09 09:28:42 +00:00
|
|
|
'action': ['python', 'v8/build/linux/sysroot_scripts/install-sysroot.py',
|
|
|
|
'--arch=arm64'],
|
|
|
|
},
|
|
|
|
{
|
|
|
|
'name': 'sysroot_x86',
|
|
|
|
'pattern': '.',
|
2018-03-14 15:02:54 +00:00
|
|
|
'condition': '(checkout_linux and (checkout_x86 or checkout_x64))',
|
2018-02-09 09:28:42 +00:00
|
|
|
'action': ['python', 'v8/build/linux/sysroot_scripts/install-sysroot.py',
|
|
|
|
'--arch=x86'],
|
|
|
|
},
|
|
|
|
{
|
|
|
|
'name': 'sysroot_mips',
|
|
|
|
'pattern': '.',
|
2018-03-14 15:02:54 +00:00
|
|
|
'condition': '(checkout_linux and checkout_mips)',
|
2018-02-09 09:28:42 +00:00
|
|
|
'action': ['python', 'v8/build/linux/sysroot_scripts/install-sysroot.py',
|
|
|
|
'--arch=mips'],
|
|
|
|
},
|
|
|
|
{
|
|
|
|
'name': 'sysroot_x64',
|
|
|
|
'pattern': '.',
|
2018-03-14 15:02:54 +00:00
|
|
|
'condition': 'checkout_linux and checkout_x64',
|
2018-02-09 09:28:42 +00:00
|
|
|
'action': ['python', 'v8/build/linux/sysroot_scripts/install-sysroot.py',
|
|
|
|
'--arch=x64'],
|
2016-06-08 15:27:21 +00:00
|
|
|
},
|
2017-03-31 07:33:57 +00:00
|
|
|
{
|
2017-10-11 12:58:07 +00:00
|
|
|
'name': 'msan_chained_origins',
|
|
|
|
'pattern': '.',
|
|
|
|
'condition': 'checkout_instrumented_libraries',
|
|
|
|
'action': [ 'download_from_google_storage',
|
|
|
|
'--no_resume',
|
|
|
|
'--no_auth',
|
|
|
|
'--bucket', 'chromium-instrumented-libraries',
|
|
|
|
'-s', 'v8/third_party/instrumented_libraries/binaries/msan-chained-origins-trusty.tgz.sha1',
|
|
|
|
],
|
|
|
|
},
|
|
|
|
{
|
|
|
|
'name': 'msan_no_origins',
|
|
|
|
'pattern': '.',
|
|
|
|
'condition': 'checkout_instrumented_libraries',
|
|
|
|
'action': [ 'download_from_google_storage',
|
|
|
|
'--no_resume',
|
|
|
|
'--no_auth',
|
|
|
|
'--bucket', 'chromium-instrumented-libraries',
|
|
|
|
'-s', 'v8/third_party/instrumented_libraries/binaries/msan-no-origins-trusty.tgz.sha1',
|
|
|
|
],
|
2017-03-31 07:33:57 +00:00
|
|
|
},
|
2015-11-02 10:40:16 +00:00
|
|
|
{
|
|
|
|
# Update the Windows toolchain if necessary.
|
|
|
|
'name': 'win_toolchain',
|
|
|
|
'pattern': '.',
|
2017-10-09 14:20:57 +00:00
|
|
|
'condition': 'checkout_win',
|
2016-12-01 08:50:24 +00:00
|
|
|
'action': ['python', 'v8/build/vs_toolchain.py', 'update'],
|
2015-11-02 10:40:16 +00:00
|
|
|
},
|
2015-02-10 07:26:59 +00:00
|
|
|
# Pull binutils for linux, enabled debug fission for faster linking /
|
|
|
|
# debugging when used with clang on Ubuntu Precise.
|
|
|
|
# https://code.google.com/p/chromium/issues/detail?id=352046
|
|
|
|
{
|
|
|
|
'name': 'binutils',
|
|
|
|
'pattern': 'v8/third_party/binutils',
|
2018-12-13 12:05:35 +00:00
|
|
|
'condition': 'host_os == "linux"',
|
2015-02-10 07:26:59 +00:00
|
|
|
'action': [
|
|
|
|
'python',
|
|
|
|
'v8/third_party/binutils/download.py',
|
|
|
|
],
|
|
|
|
},
|
2014-11-27 10:29:41 +00:00
|
|
|
{
|
|
|
|
# Note: On Win, this should run after win_toolchain, as it may use it.
|
|
|
|
'name': 'clang',
|
|
|
|
'pattern': '.',
|
2018-02-14 19:12:58 +00:00
|
|
|
# clang not supported on aix
|
|
|
|
'condition': 'host_os != "aix"',
|
2017-10-09 14:20:57 +00:00
|
|
|
'action': ['python', 'v8/tools/clang/scripts/update.py'],
|
2014-11-27 10:29:41 +00:00
|
|
|
},
|
2018-08-17 12:29:23 +00:00
|
|
|
{
|
|
|
|
# Update LASTCHANGE.
|
|
|
|
'name': 'lastchange',
|
|
|
|
'pattern': '.',
|
|
|
|
'action': ['python', 'v8/build/util/lastchange.py',
|
|
|
|
'-o', 'v8/build/util/LASTCHANGE'],
|
|
|
|
},
|
2017-10-11 07:56:41 +00:00
|
|
|
{
|
|
|
|
'name': 'fuchsia_sdk',
|
|
|
|
'pattern': '.',
|
|
|
|
'condition': 'checkout_fuchsia',
|
|
|
|
'action': [
|
|
|
|
'python',
|
|
|
|
'v8/build/fuchsia/update_sdk.py',
|
|
|
|
],
|
|
|
|
},
|
2018-09-15 02:51:06 +00:00
|
|
|
{
|
|
|
|
# Mac doesn't use lld so it's not included in the default clang bundle
|
|
|
|
# there. However, lld is need in Fuchsia cross builds, so
|
|
|
|
# download it there.
|
|
|
|
# Should run after the clang hook.
|
|
|
|
'name': 'lld/mac',
|
|
|
|
'pattern': '.',
|
|
|
|
'condition': 'host_os == "mac" and checkout_fuchsia',
|
|
|
|
'action': ['python', 'v8/tools/clang/scripts/download_lld_mac.py'],
|
|
|
|
},
|
|
|
|
{
|
|
|
|
# Mac does not have llvm-objdump, download it for cross builds in Fuchsia.
|
|
|
|
'name': 'llvm-objdump',
|
|
|
|
'pattern': '.',
|
|
|
|
'condition': 'host_os == "mac" and checkout_fuchsia',
|
|
|
|
'action': ['python', 'v8/tools/clang/scripts/download_objdump.py'],
|
|
|
|
},
|
2018-01-30 13:00:32 +00:00
|
|
|
{
|
|
|
|
'name': 'mips_toolchain',
|
|
|
|
'pattern': '.',
|
|
|
|
'condition': 'download_mips_toolchain',
|
|
|
|
'action': [ 'download_from_google_storage',
|
|
|
|
'--no_resume',
|
|
|
|
'--platform=linux',
|
|
|
|
'--no_auth',
|
|
|
|
'-u',
|
|
|
|
'--bucket', 'chromium-v8',
|
|
|
|
'-s', 'v8/tools/mips_toolchain.tar.gz.sha1',
|
|
|
|
],
|
|
|
|
},
|
2017-10-24 09:01:39 +00:00
|
|
|
# Download and initialize "vpython" VirtualEnv environment packages.
|
|
|
|
{
|
|
|
|
'name': 'vpython_common',
|
|
|
|
'pattern': '.',
|
|
|
|
'condition': 'checkout_android',
|
|
|
|
'action': [ 'vpython',
|
|
|
|
'-vpython-spec', 'v8/.vpython',
|
|
|
|
'-vpython-tool', 'install',
|
|
|
|
],
|
|
|
|
},
|
2018-07-20 13:13:31 +00:00
|
|
|
{
|
|
|
|
'name': 'check_v8_header_includes',
|
|
|
|
'pattern': '.',
|
|
|
|
'condition': 'check_v8_header_includes',
|
|
|
|
'action': [
|
|
|
|
'python',
|
|
|
|
'v8/tools/generate-header-include-checks.py',
|
|
|
|
],
|
|
|
|
},
|
2012-05-11 12:18:09 +00:00
|
|
|
]
|