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.
|
|
|
|
|
2019-10-30 15:12:10 +00:00
|
|
|
gclient_gn_args_file = 'v8/build/config/gclient_args.gni'
|
|
|
|
gclient_gn_args = [
|
|
|
|
]
|
|
|
|
|
2014-05-14 08:30:49 +00:00
|
|
|
vars = {
|
2019-08-26 07:39:40 +00:00
|
|
|
# Fetches only the SDK boot images which match at least one of the whitelist
|
|
|
|
# entries in a comma-separated list.
|
|
|
|
#
|
|
|
|
# Only the X64 and ARM64 QEMU images are downloaded by default. Developers
|
|
|
|
# that need to boot on other target architectures or devices can opt to
|
|
|
|
# download more boot images. Example of images include:
|
|
|
|
#
|
|
|
|
# Emulation:
|
|
|
|
# qemu.x64, qemu.arm64
|
|
|
|
# Hardware:
|
|
|
|
# generic.x64, generic.arm64
|
|
|
|
#
|
|
|
|
# Wildcards are supported (e.g. "qemu.*").
|
|
|
|
'checkout_fuchsia_boot_images': "qemu.x64,qemu.arm64",
|
|
|
|
|
2017-10-11 12:58:07 +00:00
|
|
|
'checkout_instrumented_libraries': False,
|
2019-12-14 08:46:38 +00:00
|
|
|
'checkout_ittapi': False,
|
2016-09-23 23:54:34 +00:00
|
|
|
'chromium_url': 'https://chromium.googlesource.com',
|
2019-03-28 08:52:41 +00:00
|
|
|
'android_url': 'https://android.googlesource.com',
|
2018-02-12 12:55:09 +00:00
|
|
|
'download_gcmole': False,
|
|
|
|
'download_jsfunfuzz': False,
|
2018-07-20 13:13:31 +00:00
|
|
|
'check_v8_header_includes': False,
|
2018-12-06 14:15:30 +00:00
|
|
|
|
2019-03-16 11:43:14 +00:00
|
|
|
# GN CIPD package version.
|
2020-03-24 03:13:58 +00:00
|
|
|
'gn_version': 'git_revision:5ed3c9cc67b090d5e311e4bd2aba072173e82db9',
|
2019-03-16 11:43:14 +00:00
|
|
|
|
2018-12-06 14:15:30 +00:00
|
|
|
# luci-go CIPD package version.
|
2020-04-16 02:51:41 +00:00
|
|
|
'luci_go': 'git_revision:56ae79476e3caf14da59d75118408aa778637936',
|
2019-03-20 23:17:36 +00:00
|
|
|
|
|
|
|
# Three lines of non-changing comments so that
|
|
|
|
# the commit queue can handle CLs rolling android_sdk_build-tools_version
|
|
|
|
# and whatever else without interference from each other.
|
2019-11-14 08:56:26 +00:00
|
|
|
'android_sdk_build-tools_version': 'n-b1Qd7iFb8qzHlr1C_jIeu070UDgO_BwePtH42UqGcC',
|
2019-03-20 23:17:36 +00:00
|
|
|
# Three lines of non-changing comments so that
|
|
|
|
# the commit queue can handle CLs rolling android_sdk_emulator_version
|
|
|
|
# and whatever else without interference from each other.
|
2019-11-14 08:56:26 +00:00
|
|
|
'android_sdk_emulator_version': 'f4WdgkPvDdVCE8zBWPzcSIj4N9WFhKp3CSKDWylXuLEC',
|
2019-03-20 23:17:36 +00:00
|
|
|
# Three lines of non-changing comments so that
|
|
|
|
# the commit queue can handle CLs rolling android_sdk_extras_version
|
|
|
|
# and whatever else without interference from each other.
|
2019-06-18 03:06:39 +00:00
|
|
|
'android_sdk_extras_version': 'ppQ4TnqDvBHQ3lXx5KPq97egzF5X2FFyOrVHkGmiTMQC',
|
2019-03-20 23:17:36 +00:00
|
|
|
# Three lines of non-changing comments so that
|
|
|
|
# the commit queue can handle CLs rolling android_sdk_patcher_version
|
|
|
|
# and whatever else without interference from each other.
|
|
|
|
'android_sdk_patcher_version': 'I6FNMhrXlpB-E1lOhMlvld7xt9lBVNOO83KIluXDyA0C',
|
|
|
|
# Three lines of non-changing comments so that
|
|
|
|
# the commit queue can handle CLs rolling android_sdk_platform-tools_version
|
|
|
|
# and whatever else without interference from each other.
|
2019-11-26 07:48:57 +00:00
|
|
|
'android_sdk_platform-tools_version': 'Jxtur3_L9RzY4q79K-AwIahwFW4oi5uYVD5URx9h62wC',
|
2019-03-20 23:17:36 +00:00
|
|
|
# Three lines of non-changing comments so that
|
|
|
|
# the commit queue can handle CLs rolling android_sdk_platforms_version
|
|
|
|
# and whatever else without interference from each other.
|
2019-11-14 08:56:26 +00:00
|
|
|
'android_sdk_platforms_version': 'yb33klKQV9UzzB-lDSsq36vzhTXOUZ2aRONBvPGwvdcC',
|
2019-03-20 23:17:36 +00:00
|
|
|
# Three lines of non-changing comments so that
|
|
|
|
# the commit queue can handle CLs rolling android_sdk_sources_version
|
|
|
|
# and whatever else without interference from each other.
|
2019-11-14 08:56:26 +00:00
|
|
|
'android_sdk_sources_version': '4gxhM8E62bvZpQs7Q3d0DinQaW0RLCIefhXrQBFkNy8C',
|
2019-03-20 23:17:36 +00:00
|
|
|
# Three lines of non-changing comments so that
|
|
|
|
# the commit queue can handle CLs rolling android_sdk_tools-lint_version
|
|
|
|
# and whatever else without interference from each other.
|
|
|
|
'android_sdk_tools-lint_version': '89hXqZYzCum3delB5RV7J_QyWkaRodqdtQS0s3LMh3wC',
|
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':
|
2020-04-02 09:43:42 +00:00
|
|
|
Var('chromium_url') + '/chromium/src/build.git' + '@' + '26e9d485d01d6e0eb9dadd21df767a63494c8fea',
|
2018-05-14 09:25:53 +00:00
|
|
|
'v8/third_party/depot_tools':
|
2020-04-02 09:43:42 +00:00
|
|
|
Var('chromium_url') + '/chromium/tools/depot_tools.git' + '@' + '2b2aec6506a810f8d7bd018609de2c2450b3c121',
|
2013-07-01 08:32:41 +00:00
|
|
|
'v8/third_party/icu':
|
2020-03-17 03:12:58 +00:00
|
|
|
Var('chromium_url') + '/chromium/deps/icu.git' + '@' + 'd7aff76cf6bb0fbef3afa6c07718f78a80a70f8f',
|
2016-07-29 08:59:27 +00:00
|
|
|
'v8/third_party/instrumented_libraries':
|
2020-01-16 03:10:28 +00:00
|
|
|
Var('chromium_url') + '/chromium/src/third_party/instrumented_libraries.git' + '@' + 'bb3f1802c237dd19105dd0f7919f99e536a39d10',
|
2014-06-03 12:01:50 +00:00
|
|
|
'v8/buildtools':
|
2020-03-24 03:13:58 +00:00
|
|
|
Var('chromium_url') + '/chromium/src/buildtools.git' + '@' + '7977eb176752aeec29d888cfe8e677ac12ed1c41',
|
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',
|
2019-03-16 11:43:14 +00:00
|
|
|
'v8/buildtools/linux64': {
|
|
|
|
'packages': [
|
|
|
|
{
|
|
|
|
'package': 'gn/gn/linux-amd64',
|
|
|
|
'version': Var('gn_version'),
|
|
|
|
}
|
|
|
|
],
|
|
|
|
'dep_type': 'cipd',
|
2019-03-19 07:28:55 +00:00
|
|
|
'condition': 'host_os == "linux"',
|
2019-03-16 11:43:14 +00:00
|
|
|
},
|
|
|
|
'v8/buildtools/mac': {
|
|
|
|
'packages': [
|
|
|
|
{
|
|
|
|
'package': 'gn/gn/mac-amd64',
|
|
|
|
'version': Var('gn_version'),
|
|
|
|
}
|
|
|
|
],
|
|
|
|
'dep_type': 'cipd',
|
2019-03-19 07:28:55 +00:00
|
|
|
'condition': 'host_os == "mac"',
|
2019-03-16 11:43:14 +00:00
|
|
|
},
|
2019-02-12 06:53:26 +00:00
|
|
|
'v8/buildtools/third_party/libc++/trunk':
|
2020-03-02 13:40:16 +00:00
|
|
|
Var('chromium_url') + '/external/github.com/llvm/llvm-project/libcxx.git' + '@' + 'd9040c75cfea5928c804ab7c235fed06a63f743a',
|
2019-02-12 06:53:26 +00:00
|
|
|
'v8/buildtools/third_party/libc++abi/trunk':
|
2020-03-02 13:40:16 +00:00
|
|
|
Var('chromium_url') + '/external/github.com/llvm/llvm-project/libcxxabi.git' + '@' + '196ba1aaa8ac285d94f4ea8d9836390a45360533',
|
2019-02-12 06:53:26 +00:00
|
|
|
'v8/buildtools/third_party/libunwind/trunk':
|
2020-03-02 13:40:16 +00:00
|
|
|
Var('chromium_url') + '/external/github.com/llvm/llvm-project/libunwind.git' + '@' + '43bb9f872232f531bac80093ceb4de61c64b9ab7',
|
2019-03-16 11:43:14 +00:00
|
|
|
'v8/buildtools/win': {
|
|
|
|
'packages': [
|
|
|
|
{
|
|
|
|
'package': 'gn/gn/windows-amd64',
|
|
|
|
'version': Var('gn_version'),
|
|
|
|
}
|
|
|
|
],
|
|
|
|
'dep_type': 'cipd',
|
2019-03-19 07:28:55 +00:00
|
|
|
'condition': 'host_os == "win"',
|
2019-03-16 11:43:14 +00:00
|
|
|
},
|
2015-12-16 12:16:32 +00:00
|
|
|
'v8/base/trace_event/common':
|
2020-02-06 03:12:50 +00:00
|
|
|
Var('chromium_url') + '/chromium/src/base/trace_event/common.git' + '@' + 'dab187b372fc17e51f5b9fad8201813d0aed5129',
|
2018-01-11 07:29:00 +00:00
|
|
|
'v8/third_party/android_ndk': {
|
2019-11-21 03:09:40 +00:00
|
|
|
'url': Var('chromium_url') + '/android_ndk.git' + '@' + '27c0a8d090c666a50e40fceb4ee5b40b1a2d3f87',
|
2018-01-11 07:29:00 +00:00
|
|
|
'condition': 'checkout_android',
|
|
|
|
},
|
2020-01-28 14:30:30 +00:00
|
|
|
'v8/third_party/android_platform': {
|
|
|
|
'url': Var('chromium_url') + '/chromium/src/third_party/android_platform.git' + '@' + '2244b5ea295f8fda3179bef160c84ef8fa0ec9fc',
|
|
|
|
'condition': 'checkout_android',
|
|
|
|
},
|
2019-03-20 23:17:36 +00:00
|
|
|
'v8/third_party/android_sdk/public': {
|
|
|
|
'packages': [
|
|
|
|
{
|
2019-11-14 08:56:26 +00:00
|
|
|
'package': 'chromium/third_party/android_sdk/public/build-tools/29.0.2',
|
2019-03-20 23:17:36 +00:00
|
|
|
'version': Var('android_sdk_build-tools_version'),
|
|
|
|
},
|
|
|
|
{
|
|
|
|
'package': 'chromium/third_party/android_sdk/public/emulator',
|
|
|
|
'version': Var('android_sdk_emulator_version'),
|
|
|
|
},
|
|
|
|
{
|
|
|
|
'package': 'chromium/third_party/android_sdk/public/extras',
|
|
|
|
'version': Var('android_sdk_extras_version'),
|
|
|
|
},
|
|
|
|
{
|
|
|
|
'package': 'chromium/third_party/android_sdk/public/patcher',
|
|
|
|
'version': Var('android_sdk_patcher_version'),
|
|
|
|
},
|
|
|
|
{
|
|
|
|
'package': 'chromium/third_party/android_sdk/public/platform-tools',
|
|
|
|
'version': Var('android_sdk_platform-tools_version'),
|
|
|
|
},
|
|
|
|
{
|
2019-11-14 08:56:26 +00:00
|
|
|
'package': 'chromium/third_party/android_sdk/public/platforms/android-29',
|
2019-03-20 23:17:36 +00:00
|
|
|
'version': Var('android_sdk_platforms_version'),
|
|
|
|
},
|
|
|
|
{
|
2019-11-14 08:56:26 +00:00
|
|
|
'package': 'chromium/third_party/android_sdk/public/sources/android-29',
|
2019-03-20 23:17:36 +00:00
|
|
|
'version': Var('android_sdk_sources_version'),
|
|
|
|
},
|
|
|
|
{
|
|
|
|
'package': 'chromium/third_party/android_sdk/public/tools-lint',
|
|
|
|
'version': Var('android_sdk_tools-lint_version'),
|
|
|
|
},
|
|
|
|
],
|
2019-03-21 13:04:12 +00:00
|
|
|
'condition': 'checkout_android',
|
|
|
|
'dep_type': 'cipd',
|
2017-10-09 14:20:57 +00:00
|
|
|
},
|
|
|
|
'v8/third_party/catapult': {
|
2020-04-02 09:43:42 +00:00
|
|
|
'url': Var('chromium_url') + '/catapult.git' + '@' + '032c78376792ef343ea361bca2181ba6dec6b95f',
|
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': {
|
2020-02-26 03:08:07 +00:00
|
|
|
'url': Var('chromium_url') + '/chromium/src/third_party/fuchsia-sdk.git' + '@' + '2457e41d8dc379f74662d3157e76339ba92cee06',
|
2018-05-15 07:57:44 +00:00
|
|
|
'condition': 'checkout_fuchsia',
|
|
|
|
},
|
2018-03-22 20:25:16 +00:00
|
|
|
'v8/third_party/googletest/src':
|
2020-04-15 01:35:11 +00:00
|
|
|
Var('chromium_url') + '/external/github.com/google/googletest.git' + '@' + 'e3f0319d89f4cbf32993de595d984183b1a9fc57',
|
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':
|
2020-04-15 07:22:34 +00:00
|
|
|
Var('chromium_url') + '/infra/luci/client-py.git' + '@' + '99e00d65632b001d200d8a416cd9c048456bb8d5',
|
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':
|
2020-04-04 08:05:35 +00:00
|
|
|
Var('chromium_url') + '/external/github.com/tc39/test262.git' + '@' + '62b8fce3897152da2cc4f8bd1e27878a409ab975',
|
2016-07-22 15:25:06 +00:00
|
|
|
'v8/test/test262/harness':
|
2019-05-02 07:50:20 +00:00
|
|
|
Var('chromium_url') + '/external/github.com/test262-utils/test262-harness-py.git' + '@' + '4555345a943d0c99a9461182705543fb171dda4b',
|
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',
|
|
|
|
},
|
2020-02-02 10:09:42 +00:00
|
|
|
'v8/third_party/aemu-linux-x64': {
|
|
|
|
'packages': [
|
|
|
|
{
|
|
|
|
'package': 'fuchsia/third_party/aemu/linux-amd64',
|
2020-03-06 03:12:55 +00:00
|
|
|
'version': '7YlCgase5GlIanqHn-nZClSlZ5kQETJyVUYRF7Jjy6UC'
|
2020-02-02 10:09:42 +00:00
|
|
|
},
|
|
|
|
],
|
|
|
|
'condition': 'host_os == "linux" and checkout_fuchsia',
|
|
|
|
'dep_type': 'cipd',
|
|
|
|
},
|
|
|
|
'v8/third_party/aemu-mac-x64': {
|
|
|
|
'packages': [
|
|
|
|
{
|
|
|
|
'package': 'fuchsia/third_party/aemu/mac-amd64',
|
|
|
|
'version': 'T9bWxf8aUC5TwCFgPxpuW29Mfy-7Z9xCfXB9QO8MfU0C'
|
|
|
|
},
|
|
|
|
],
|
|
|
|
'condition': 'host_os == "mac" and checkout_fuchsia',
|
|
|
|
'dep_type': 'cipd',
|
|
|
|
},
|
2014-11-27 10:29:41 +00:00
|
|
|
'v8/tools/clang':
|
2020-04-02 09:43:42 +00:00
|
|
|
Var('chromium_url') + '/chromium/src/tools/clang.git' + '@' + '105a8460911176861a422738eee4daad8dfe88a2',
|
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',
|
|
|
|
},
|
2019-03-07 09:06:18 +00:00
|
|
|
'v8/tools/clang/dsymutil': {
|
2019-03-06 08:07:03 +00:00
|
|
|
'packages': [
|
|
|
|
{
|
|
|
|
'package': 'chromium/llvm-build-tools/dsymutil',
|
2019-11-08 03:08:41 +00:00
|
|
|
'version': 'M56jPzDv1620Rnm__jTMYS62Zi8rxHVq7yw0qeBFEgkC',
|
2019-03-06 08:07:03 +00:00
|
|
|
}
|
|
|
|
],
|
|
|
|
'condition': 'checkout_mac',
|
|
|
|
'dep_type': 'cipd',
|
|
|
|
},
|
2019-03-28 08:52:41 +00:00
|
|
|
'v8/third_party/perfetto':
|
2020-04-17 20:46:18 +00:00
|
|
|
Var('android_url') + '/platform/external/perfetto.git' + '@' + '9bd480acdcad450c5ed5d2aa329eb603c53e5f40',
|
2019-03-28 08:52:41 +00:00
|
|
|
'v8/third_party/protobuf':
|
2019-03-29 03:07:50 +00:00
|
|
|
Var('chromium_url') + '/external/github.com/google/protobuf'+ '@' + 'b68a347f56137b4b1a746e8c7438495a6ac1bd91',
|
2019-11-25 15:29:12 +00:00
|
|
|
'v8/third_party/zlib':
|
2020-03-17 03:12:58 +00:00
|
|
|
Var('chromium_url') + '/chromium/src/third_party/zlib.git'+ '@' + '156be8c52f80cde343088b4a69a80579101b6e67',
|
2020-04-17 20:46:18 +00:00
|
|
|
'v8/third_party/jsoncpp/source':
|
|
|
|
Var('chromium_url') + '/external/github.com/open-source-parsers/jsoncpp.git'+ '@' + '645250b6690785be60ab6780ce4b58698d884d11',
|
2019-12-14 08:46:38 +00:00
|
|
|
'v8/third_party/ittapi': {
|
|
|
|
# Force checkout ittapi libraries to pass v8 header includes check on
|
|
|
|
# bots that has check_v8_header_includes enabled.
|
|
|
|
'url': Var('chromium_url') + '/external/github.com/intel/ittapi' + '@' + 'b4ae0122ba749163096058b4f1bb065bf4a7de94',
|
|
|
|
'condition': "checkout_ittapi or check_v8_header_includes",
|
|
|
|
},
|
2012-05-11 12:18:09 +00:00
|
|
|
}
|
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',
|
2019-12-14 08:46:38 +00:00
|
|
|
'+third_party/ittapi/include'
|
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
|
|
|
],
|
|
|
|
},
|
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',
|
|
|
|
],
|
|
|
|
},
|
2019-08-27 14:14:34 +00:00
|
|
|
{
|
|
|
|
'name': 'wasm_js',
|
|
|
|
'pattern': '.',
|
|
|
|
'action': [ 'download_from_google_storage',
|
|
|
|
'--no_resume',
|
|
|
|
'--no_auth',
|
|
|
|
'-u',
|
|
|
|
'--bucket', 'v8-wasm-spec-tests',
|
|
|
|
'-s', 'v8/test/wasm-js/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_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
|
|
|
},
|
2019-07-23 12:24:27 +00:00
|
|
|
{
|
|
|
|
# Update the Mac toolchain if necessary.
|
|
|
|
'name': 'mac_toolchain',
|
|
|
|
'pattern': '.',
|
2019-07-30 06:57:19 +00:00
|
|
|
'condition': 'checkout_mac',
|
2019-07-23 12:24:27 +00:00
|
|
|
'action': ['python', 'v8/build/mac_toolchain.py'],
|
|
|
|
},
|
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',
|
2019-08-26 07:39:40 +00:00
|
|
|
'--boot-images={checkout_fuchsia_boot_images}',
|
2017-10-11 07:56:41 +00:00
|
|
|
],
|
|
|
|
},
|
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',
|
2019-11-06 14:29:03 +00:00
|
|
|
'action': ['python', 'v8/tools/clang/scripts/update.py',
|
|
|
|
'--package=lld_mac'],
|
2018-09-15 02:51:06 +00:00
|
|
|
},
|
|
|
|
{
|
|
|
|
# Mac does not have llvm-objdump, download it for cross builds in Fuchsia.
|
|
|
|
'name': 'llvm-objdump',
|
|
|
|
'pattern': '.',
|
|
|
|
'condition': 'host_os == "mac" and checkout_fuchsia',
|
2019-11-06 14:29:03 +00:00
|
|
|
'action': ['python', 'v8/tools/clang/scripts/update.py',
|
|
|
|
'--package=objdump'],
|
2018-09-15 02:51:06 +00:00
|
|
|
},
|
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
|
|
|
]
|