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.
|
|
|
|
|
2020-08-03 14:09:55 +00:00
|
|
|
use_relative_paths = True
|
|
|
|
|
|
|
|
gclient_gn_args_file = 'build/config/gclient_args.gni'
|
2019-10-30 15:12:10 +00:00
|
|
|
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.
|
|
|
|
#
|
2022-08-29 15:15:10 +00:00
|
|
|
# Available images:
|
|
|
|
# Emulation:
|
|
|
|
# - qemu.x64 (pulls terminal.qemu-x64-release)
|
|
|
|
# - qemu.arm64 (pulls terminal.qemu-arm64-release)
|
|
|
|
# - workstation.qemu-x64-release
|
|
|
|
# Hardware:
|
|
|
|
# - generic.x64 (pulls terminal.x64-debug)
|
|
|
|
# - generic.arm64 (pulls terminal.arm64-debug)
|
|
|
|
# - chromebook.x64 (pulls terminal.chromebook-x64-debug)
|
2019-08-26 07:39:40 +00:00
|
|
|
#
|
2022-08-29 15:15:10 +00:00
|
|
|
# Since the images are hundreds of MB, default to only downloading the image
|
|
|
|
# most commonly useful for developers. Bots and developers that need to use
|
|
|
|
# other images (e.g., qemu.arm64) can override this with additional images.
|
|
|
|
'checkout_fuchsia_boot_images': "qemu.x64",
|
2019-08-26 07:39:40 +00:00
|
|
|
|
2017-10-11 12:58:07 +00:00
|
|
|
'checkout_instrumented_libraries': False,
|
2019-12-14 08:46:38 +00:00
|
|
|
'checkout_ittapi': False,
|
2020-06-11 22:46:25 +00:00
|
|
|
# Fetch clang-tidy into the same bin/ directory as our clang binary.
|
|
|
|
'checkout_clang_tidy': 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,
|
2021-06-22 06:27:53 +00:00
|
|
|
'download_prebuilt_bazel': False,
|
2018-07-20 13:13:31 +00:00
|
|
|
'check_v8_header_includes': False,
|
2021-06-23 08:04:20 +00:00
|
|
|
'checkout_reclient': False,
|
|
|
|
|
2022-05-06 14:56:05 +00:00
|
|
|
# By default, download the fuchsia sdk from the public sdk directory.
|
|
|
|
'fuchsia_sdk_cipd_prefix': 'fuchsia/sdk/gn/',
|
|
|
|
|
2021-06-23 08:04:20 +00:00
|
|
|
# reclient CIPD package version
|
2022-07-12 02:07:49 +00:00
|
|
|
'reclient_version': 're_client_version:0.69.0.458df98-gomaip',
|
2018-12-06 14:15:30 +00:00
|
|
|
|
2019-03-16 11:43:14 +00:00
|
|
|
# GN CIPD package version.
|
2022-10-21 03:26:47 +00:00
|
|
|
'gn_version': 'git_revision:27b90626701a112217a9244022c729231ebcc3a0',
|
2019-03-16 11:43:14 +00:00
|
|
|
|
2022-10-03 13:30:00 +00:00
|
|
|
# ninja CIPD package version
|
|
|
|
# https://chrome-infra-packages.appspot.com/p/infra/3pp/tools/ninja
|
|
|
|
'ninja_version': 'version:2@1.8.2.chromium.3',
|
|
|
|
|
2018-12-06 14:15:30 +00:00
|
|
|
# luci-go CIPD package version.
|
2022-10-21 03:26:47 +00:00
|
|
|
'luci_go': 'git_revision:50ab33853a8b220162f851dcb74a1519e106b3df',
|
2019-03-20 23:17:36 +00:00
|
|
|
|
2022-05-06 14:56:05 +00:00
|
|
|
# Three lines of non-changing comments so that
|
|
|
|
# the commit queue can handle CLs rolling Fuchsia sdk
|
|
|
|
# and whatever else without interference from each other.
|
2022-10-21 03:26:47 +00:00
|
|
|
'fuchsia_version': 'version:10.20221020.1.1',
|
2022-05-06 14:56:05 +00:00
|
|
|
|
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.
|
2022-07-28 11:32:02 +00:00
|
|
|
'android_sdk_build-tools_version': '-VRKr36Uw8L_iFqqo9nevIBgNMggND5iWxjidyjnCgsC',
|
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.
|
2022-07-27 03:09:39 +00:00
|
|
|
'android_sdk_emulator_version': '9lGp8nTUCRRWGMnI_96HcKfzjnxEJKUcfvfwmA3wXNkC',
|
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.
|
2022-04-23 03:14:20 +00:00
|
|
|
'android_sdk_extras_version': 'bY55nDqO6FAm6FkGIj09sh2KW9oqAkCGKjYok5nUvBMC',
|
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.
|
2022-07-27 03:09:39 +00:00
|
|
|
'android_sdk_platform-tools_version': 'RSI3iwryh7URLGRgJHsCvUxj092woTPnKt4pwFcJ6L8C',
|
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.
|
2022-07-28 11:32:02 +00:00
|
|
|
'android_sdk_platforms_version': 'eo5KvW6UVor92LwZai8Zulc624BQZoCu-yn7wa1z_YcC',
|
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.
|
2022-06-02 03:09:08 +00:00
|
|
|
'android_sdk_sources_version': 'qfTSF99e29-w3eIVPpfcif0Em5etyvxuicTDTntWHQMC',
|
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.
|
2022-07-06 03:11:55 +00:00
|
|
|
'android_sdk_cmdline-tools_version': 'IPzAG-uU5zVMxohpg9-7-N0tQC1TCSW1VbrBFw7Ld04C',
|
2014-05-14 08:30:49 +00:00
|
|
|
}
|
|
|
|
|
2012-05-11 12:18:09 +00:00
|
|
|
deps = {
|
2021-06-13 21:53:17 +00:00
|
|
|
'base/trace_event/common':
|
2022-09-12 11:19:55 +00:00
|
|
|
Var('chromium_url') + '/chromium/src/base/trace_event/common.git' + '@' + '521ac34ebd795939c7e16b37d9d3ddb40e8ed556',
|
2020-08-03 14:09:55 +00:00
|
|
|
'build':
|
2022-10-21 03:26:47 +00:00
|
|
|
Var('chromium_url') + '/chromium/src/build.git' + '@' + '35a14780e1f603cef56a4a7750bdde49118a215a',
|
2020-08-03 14:09:55 +00:00
|
|
|
'buildtools':
|
2022-10-21 03:26:47 +00:00
|
|
|
Var('chromium_url') + '/chromium/src/buildtools.git' + '@' + 'be63ea5c90ac9873b41abe4956cbdcd2b2d1ca2d',
|
2020-08-03 14:09:55 +00:00
|
|
|
'buildtools/clang_format/script':
|
2022-07-02 03:09:47 +00:00
|
|
|
Var('chromium_url') + '/external/github.com/llvm/llvm-project/clang/tools/clang-format.git' + '@' + '8b525d2747f2584fc35d8c7e612e66f377858df7',
|
2020-08-03 14:09:55 +00:00
|
|
|
'buildtools/linux64': {
|
2019-03-16 11:43:14 +00:00
|
|
|
'packages': [
|
|
|
|
{
|
2022-05-10 13:50:07 +00:00
|
|
|
'package': 'gn/gn/linux-${{arch}}',
|
2019-03-16 11:43:14 +00:00
|
|
|
'version': Var('gn_version'),
|
|
|
|
}
|
|
|
|
],
|
|
|
|
'dep_type': 'cipd',
|
2022-05-24 18:58:05 +00:00
|
|
|
'condition': 'host_os == "linux" and host_cpu != "s390" and host_cpu != "ppc"',
|
2019-03-16 11:43:14 +00:00
|
|
|
},
|
2020-08-03 14:09:55 +00:00
|
|
|
'buildtools/mac': {
|
2019-03-16 11:43:14 +00:00
|
|
|
'packages': [
|
|
|
|
{
|
2021-07-19 14:06:02 +00:00
|
|
|
'package': 'gn/gn/mac-${{arch}}',
|
2019-03-16 11:43:14 +00:00
|
|
|
'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
|
|
|
},
|
2020-08-03 14:09:55 +00:00
|
|
|
'buildtools/third_party/libc++/trunk':
|
2022-10-21 03:26:47 +00:00
|
|
|
Var('chromium_url') + '/external/github.com/llvm/llvm-project/libcxx.git' + '@' + '9f512cf5eeefe814556dc888d0cfe35efd25c6bd',
|
2020-08-03 14:09:55 +00:00
|
|
|
'buildtools/third_party/libc++abi/trunk':
|
2022-10-21 03:26:47 +00:00
|
|
|
Var('chromium_url') + '/external/github.com/llvm/llvm-project/libcxxabi.git' + '@' + '519e9ef6cc1c284bb1ee13540f123cdc4c269224',
|
2020-08-03 14:09:55 +00:00
|
|
|
'buildtools/third_party/libunwind/trunk':
|
2022-10-20 03:20:47 +00:00
|
|
|
Var('chromium_url') + '/external/github.com/llvm/llvm-project/libunwind.git' + '@' + '1f633d41a035b91bbff4cb02f7f549a856dee6fa',
|
2020-08-03 14:09:55 +00:00
|
|
|
'buildtools/win': {
|
2019-03-16 11:43:14 +00:00
|
|
|
'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
|
|
|
},
|
2021-06-23 08:04:20 +00:00
|
|
|
'buildtools/reclient': {
|
|
|
|
'packages': [
|
|
|
|
{
|
|
|
|
'package': 'infra/rbe/client/${{platform}}',
|
|
|
|
'version': Var('reclient_version'),
|
|
|
|
}
|
|
|
|
],
|
|
|
|
'dep_type': 'cipd',
|
2022-07-12 02:07:49 +00:00
|
|
|
'condition': '(host_os == "linux" or host_os == "mac" or host_os == "win") and checkout_reclient',
|
2021-06-23 08:04:20 +00:00
|
|
|
},
|
2021-06-13 21:53:17 +00:00
|
|
|
'test/benchmarks/data':
|
|
|
|
Var('chromium_url') + '/v8/deps/third_party/benchmarks.git' + '@' + '05d7188267b4560491ff9155c5ee13e207ecd65f',
|
|
|
|
'test/mozilla/data':
|
|
|
|
Var('chromium_url') + '/v8/deps/third_party/mozilla-tests.git' + '@' + 'f6c578a10ea707b1a8ab0b88943fe5115ce2b9be',
|
|
|
|
'test/test262/data':
|
2022-10-08 00:08:08 +00:00
|
|
|
Var('chromium_url') + '/external/github.com/tc39/test262.git' + '@' + 'eb67a7689f422cf14776f78191650d0d78c2d2e4',
|
2020-08-03 14:09:55 +00:00
|
|
|
'third_party/android_ndk': {
|
2022-04-12 03:11:44 +00:00
|
|
|
'url': Var('chromium_url') + '/android_ndk.git' + '@' + '8388a2be5421311dc75c5f937aae13d821a27f3d',
|
2018-01-11 07:29:00 +00:00
|
|
|
'condition': 'checkout_android',
|
|
|
|
},
|
2020-08-03 14:09:55 +00:00
|
|
|
'third_party/android_platform': {
|
2022-10-18 03:11:37 +00:00
|
|
|
'url': Var('chromium_url') + '/chromium/src/third_party/android_platform.git' + '@' + '1bf9b932433ebb78828bf3c8cd0ccc86b9ef4787',
|
2020-01-28 14:30:30 +00:00
|
|
|
'condition': 'checkout_android',
|
|
|
|
},
|
2020-08-03 14:09:55 +00:00
|
|
|
'third_party/android_sdk/public': {
|
2019-03-20 23:17:36 +00:00
|
|
|
'packages': [
|
|
|
|
{
|
2022-07-28 11:32:02 +00:00
|
|
|
'package': 'chromium/third_party/android_sdk/public/build-tools/33.0.0',
|
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'),
|
|
|
|
},
|
|
|
|
{
|
2022-07-28 11:32:02 +00:00
|
|
|
'package': 'chromium/third_party/android_sdk/public/platforms/android-33',
|
2019-03-20 23:17:36 +00:00
|
|
|
'version': Var('android_sdk_platforms_version'),
|
|
|
|
},
|
|
|
|
{
|
2021-07-27 13:20:10 +00:00
|
|
|
'package': 'chromium/third_party/android_sdk/public/sources/android-30',
|
2019-03-20 23:17:36 +00:00
|
|
|
'version': Var('android_sdk_sources_version'),
|
|
|
|
},
|
|
|
|
{
|
2020-04-21 15:59:09 +00:00
|
|
|
'package': 'chromium/third_party/android_sdk/public/cmdline-tools',
|
|
|
|
'version': Var('android_sdk_cmdline-tools_version'),
|
2019-03-20 23:17:36 +00:00
|
|
|
},
|
|
|
|
],
|
2019-03-21 13:04:12 +00:00
|
|
|
'condition': 'checkout_android',
|
|
|
|
'dep_type': 'cipd',
|
2017-10-09 14:20:57 +00:00
|
|
|
},
|
2020-08-03 14:09:55 +00:00
|
|
|
'third_party/catapult': {
|
2022-10-21 03:26:47 +00:00
|
|
|
'url': Var('chromium_url') + '/catapult.git' + '@' + '981585a127388385853b3dea72b40b739c68f309',
|
2018-10-04 07:43:23 +00:00
|
|
|
'condition': 'checkout_android',
|
2017-10-09 14:20:57 +00:00
|
|
|
},
|
2020-08-03 14:09:55 +00:00
|
|
|
'third_party/colorama/src': {
|
2017-10-24 13:45:21 +00:00
|
|
|
'url': Var('chromium_url') + '/external/colorama.git' + '@' + '799604a1041e9b3bc5d2789ecbd7e8db2e18e6b8',
|
|
|
|
'condition': 'checkout_android',
|
|
|
|
},
|
2021-06-13 21:53:17 +00:00
|
|
|
'third_party/depot_tools':
|
2022-10-21 03:26:47 +00:00
|
|
|
Var('chromium_url') + '/chromium/tools/depot_tools.git' + '@' + '3b9552584dd763bc79a3cdae897a0cd624b2dcf5',
|
2022-05-06 14:56:05 +00:00
|
|
|
'third_party/fuchsia-sdk/sdk': {
|
|
|
|
'packages': [
|
|
|
|
{
|
|
|
|
'package': Var('fuchsia_sdk_cipd_prefix') + '${{platform}}',
|
|
|
|
'version': Var('fuchsia_version'),
|
|
|
|
},
|
|
|
|
],
|
2018-05-15 07:57:44 +00:00
|
|
|
'condition': 'checkout_fuchsia',
|
2022-05-06 14:56:05 +00:00
|
|
|
'dep_type': 'cipd',
|
2018-05-15 07:57:44 +00:00
|
|
|
},
|
2020-08-03 14:09:55 +00:00
|
|
|
'third_party/google_benchmark/src': {
|
2022-08-23 08:06:29 +00:00
|
|
|
'url': Var('chromium_url') + '/external/github.com/google/benchmark.git' + '@' + 'e8baf2622591569a27615b31372d1e9cc046af10',
|
2020-07-02 18:24:48 +00:00
|
|
|
},
|
2021-06-13 21:53:17 +00:00
|
|
|
'third_party/googletest/src':
|
2022-06-30 03:10:32 +00:00
|
|
|
Var('chromium_url') + '/external/github.com/google/googletest.git' + '@' + 'af29db7ec28d6df1c7f0f745186884091e602e07',
|
2021-06-13 21:53:17 +00:00
|
|
|
'third_party/icu':
|
2022-10-15 03:57:43 +00:00
|
|
|
Var('chromium_url') + '/chromium/deps/icu.git' + '@' + 'da07448619763d1cde255b361324242646f5b268',
|
2021-06-13 21:53:17 +00:00
|
|
|
'third_party/instrumented_libraries':
|
2022-10-21 03:26:47 +00:00
|
|
|
Var('chromium_url') + '/chromium/src/third_party/instrumented_libraries.git' + '@' + '459048b1dd9b41a816afeb456b8459b927ff47d1',
|
2021-06-13 21:53:17 +00:00
|
|
|
'third_party/ittapi': {
|
|
|
|
# Force checkout ittapi libraries to pass v8 header includes check on
|
|
|
|
# bots that has check_v8_header_includes enabled.
|
2021-07-20 10:13:01 +00:00
|
|
|
'url': Var('chromium_url') + '/external/github.com/intel/ittapi' + '@' + 'a3911fff01a775023a06af8754f9ec1e5977dd97',
|
2021-06-13 21:53:17 +00:00
|
|
|
'condition': "checkout_ittapi or check_v8_header_includes",
|
|
|
|
},
|
2020-08-03 14:09:55 +00:00
|
|
|
'third_party/jinja2':
|
2021-10-06 12:02:13 +00:00
|
|
|
Var('chromium_url') + '/chromium/src/third_party/jinja2.git' + '@' + 'ee69aa00ee8536f61db6a451f3858745cf587de6',
|
2021-06-13 21:53:17 +00:00
|
|
|
'third_party/jsoncpp/source':
|
2022-05-17 03:09:34 +00:00
|
|
|
Var('chromium_url') + '/external/github.com/open-source-parsers/jsoncpp.git'+ '@' + '42e892d96e47b1f6e29844cc705e148ec4856448',
|
2021-06-13 21:53:17 +00:00
|
|
|
'third_party/logdog/logdog':
|
2022-01-17 15:26:54 +00:00
|
|
|
Var('chromium_url') + '/infra/luci/luci-py/client/libs/logdog' + '@' + '0b2078a90f7a638d576b3a7c407d136f2fb62399',
|
2020-08-03 14:09:55 +00:00
|
|
|
'third_party/markupsafe':
|
2021-06-30 03:10:34 +00:00
|
|
|
Var('chromium_url') + '/chromium/src/third_party/markupsafe.git' + '@' + '1b882ef6372b58bfd55a3285f37ed801be9137cd',
|
2022-10-03 13:30:00 +00:00
|
|
|
'third_party/ninja': {
|
|
|
|
'packages': [
|
|
|
|
{
|
|
|
|
'package': 'infra/3pp/tools/ninja/${{platform}}',
|
|
|
|
'version': Var('ninja_version'),
|
|
|
|
}
|
|
|
|
],
|
|
|
|
'dep_type': 'cipd',
|
|
|
|
},
|
2021-06-13 21:53:17 +00:00
|
|
|
'third_party/perfetto':
|
2022-06-23 12:54:34 +00:00
|
|
|
Var('android_url') + '/platform/external/perfetto.git' + '@' + '0eba417b2c72264fa825dc21067b9adc9b8adf70',
|
2021-06-13 21:53:17 +00:00
|
|
|
'third_party/protobuf':
|
|
|
|
Var('chromium_url') + '/external/github.com/google/protobuf'+ '@' + '6a59a2ad1f61d9696092f79b6d74368b4d7970a3',
|
|
|
|
'third_party/requests': {
|
2022-06-27 13:11:09 +00:00
|
|
|
'url': Var('chromium_url') + '/external/github.com/kennethreitz/requests.git' + '@' + 'refs/tags/v2.23.0',
|
2021-06-13 21:53:17 +00:00
|
|
|
'condition': 'checkout_android',
|
2020-02-02 10:09:42 +00:00
|
|
|
},
|
2021-06-13 21:53:17 +00:00
|
|
|
'third_party/zlib':
|
2022-10-21 03:26:47 +00:00
|
|
|
Var('chromium_url') + '/chromium/src/third_party/zlib.git'+ '@' + 'cff720848d7ddad191354f153f7acbb43af09b74',
|
2020-08-03 14:09:55 +00:00
|
|
|
'tools/clang':
|
2022-10-18 03:11:37 +00:00
|
|
|
Var('chromium_url') + '/chromium/src/tools/clang.git' + '@' + '2619cde247bf037c2afa19b0913cccddac12ccbd',
|
2020-08-03 14:09:55 +00:00
|
|
|
'tools/luci-go': {
|
2018-10-23 09:19:09 +00:00
|
|
|
'packages': [
|
|
|
|
{
|
|
|
|
'package': 'infra/tools/luci/isolate/${{platform}}',
|
2018-12-06 14:15:30 +00:00
|
|
|
'version': Var('luci_go'),
|
|
|
|
},
|
|
|
|
{
|
|
|
|
'package': 'infra/tools/luci/swarming/${{platform}}',
|
|
|
|
'version': Var('luci_go'),
|
2018-10-23 09:19:09 +00:00
|
|
|
},
|
|
|
|
],
|
2020-06-24 18:03:58 +00:00
|
|
|
'condition': 'host_cpu != "s390" and host_os != "aix"',
|
2018-10-23 09:19:09 +00:00
|
|
|
'dep_type': 'cipd',
|
|
|
|
},
|
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',
|
2021-09-17 14:08:15 +00:00
|
|
|
'+third_party/ittapi/include',
|
|
|
|
# Abseil features are allow-listed. Please use your best judgement when adding
|
|
|
|
# to this set -- if in doubt, email v8-dev@. For general guidance, refer to
|
|
|
|
# the Chromium guidelines (though note that some requirements in V8 may be
|
|
|
|
# different to Chromium's):
|
|
|
|
# https://chromium.googlesource.com/chromium/src/+/main/styleguide/c++/c++11.md
|
|
|
|
'+absl/types/optional.h',
|
|
|
|
'+absl/types/variant.h',
|
|
|
|
'+absl/status',
|
|
|
|
# Some abseil features are explicitly banned.
|
|
|
|
'-absl/types/any.h', # Requires RTTI.
|
|
|
|
'-absl/types/flags', # Requires RTTI.
|
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': [
|
2021-11-26 11:38:08 +00:00
|
|
|
'python3',
|
2020-08-03 14:09:55 +00:00
|
|
|
'third_party/depot_tools/update_depot_tools_toggle.py',
|
2018-05-17 10:41:13 +00:00
|
|
|
'--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': [
|
2021-11-26 11:38:08 +00:00
|
|
|
'python3',
|
2020-08-03 14:09:55 +00:00
|
|
|
'build/landmines.py',
|
2018-01-29 11:55:58 +00:00
|
|
|
'--landmine-scripts',
|
2020-08-03 14:09:55 +00:00
|
|
|
'tools/get_landmines.py',
|
2015-02-24 16:57:37 +00:00
|
|
|
],
|
|
|
|
},
|
2021-06-22 06:27:53 +00:00
|
|
|
{
|
|
|
|
'name': 'bazel',
|
|
|
|
'pattern': '.',
|
|
|
|
'condition': 'download_prebuilt_bazel',
|
2022-04-04 07:41:39 +00:00
|
|
|
'action': [ 'python3',
|
|
|
|
'third_party/depot_tools/download_from_google_storage.py',
|
2021-06-22 06:27:53 +00:00
|
|
|
'--bucket', 'chromium-v8-prebuilt-bazel/linux',
|
|
|
|
'--no_resume',
|
|
|
|
'-s', 'tools/bazel/bazel.sha1',
|
|
|
|
'--platform=linux*',
|
|
|
|
],
|
|
|
|
},
|
2022-04-08 18:55:21 +00:00
|
|
|
# Pull dsymutil binaries using checked-in hashes.
|
|
|
|
{
|
|
|
|
'name': 'dsymutil_mac_arm64',
|
|
|
|
'pattern': '.',
|
|
|
|
'condition': 'host_os == "mac" and host_cpu == "arm64"',
|
|
|
|
'action': [ 'python3',
|
|
|
|
'third_party/depot_tools/download_from_google_storage.py',
|
|
|
|
'--no_resume',
|
|
|
|
'--no_auth',
|
|
|
|
'--bucket', 'chromium-browser-clang',
|
|
|
|
'-s', 'tools/clang/dsymutil/bin/dsymutil.arm64.sha1',
|
|
|
|
'-o', 'tools/clang/dsymutil/bin/dsymutil',
|
|
|
|
],
|
|
|
|
},
|
|
|
|
{
|
|
|
|
'name': 'dsymutil_mac_x64',
|
|
|
|
'pattern': '.',
|
|
|
|
'condition': 'host_os == "mac" and host_cpu == "x64"',
|
|
|
|
'action': [ 'python3',
|
|
|
|
'third_party/depot_tools/download_from_google_storage.py',
|
|
|
|
'--no_resume',
|
|
|
|
'--no_auth',
|
|
|
|
'--bucket', 'chromium-browser-clang',
|
|
|
|
'-s', 'tools/clang/dsymutil/bin/dsymutil.x64.sha1',
|
|
|
|
'-o', 'tools/clang/dsymutil/bin/dsymutil',
|
|
|
|
],
|
|
|
|
},
|
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"',
|
2022-04-04 07:41:39 +00:00
|
|
|
'action': [ 'python3',
|
|
|
|
'third_party/depot_tools/download_from_google_storage.py',
|
2014-06-26 10:49:27 +00:00
|
|
|
'--no_resume',
|
|
|
|
'--no_auth',
|
|
|
|
'--bucket', 'chromium-clang-format',
|
2020-08-03 14:09:55 +00:00
|
|
|
'-s', 'buildtools/win/clang-format.exe.sha1',
|
2014-06-26 10:49:27 +00:00
|
|
|
],
|
|
|
|
},
|
|
|
|
{
|
2022-04-04 07:32:39 +00:00
|
|
|
'name': 'clang_format_mac_x64',
|
2014-06-26 10:49:27 +00:00
|
|
|
'pattern': '.',
|
2022-04-04 07:32:39 +00:00
|
|
|
'condition': 'host_os == "mac" and host_cpu == "x64"',
|
|
|
|
'action': [ 'python3',
|
|
|
|
'third_party/depot_tools/download_from_google_storage.py',
|
|
|
|
'--no_resume',
|
|
|
|
'--no_auth',
|
|
|
|
'--bucket', 'chromium-clang-format',
|
|
|
|
'-s', 'buildtools/mac/clang-format.x64.sha1',
|
|
|
|
'-o', 'buildtools/mac/clang-format',
|
|
|
|
],
|
|
|
|
},
|
|
|
|
{
|
|
|
|
'name': 'clang_format_mac_arm64',
|
|
|
|
'pattern': '.',
|
|
|
|
'condition': 'host_os == "mac" and host_cpu == "arm64"',
|
|
|
|
'action': [ 'python3',
|
|
|
|
'third_party/depot_tools/download_from_google_storage.py',
|
2014-06-26 10:49:27 +00:00
|
|
|
'--no_resume',
|
|
|
|
'--no_auth',
|
|
|
|
'--bucket', 'chromium-clang-format',
|
2022-04-04 07:32:39 +00:00
|
|
|
'-s', 'buildtools/mac/clang-format.arm64.sha1',
|
|
|
|
'-o', 'buildtools/mac/clang-format',
|
2014-06-26 10:49:27 +00:00
|
|
|
],
|
|
|
|
},
|
|
|
|
{
|
|
|
|
'name': 'clang_format_linux',
|
|
|
|
'pattern': '.',
|
2018-04-05 19:34:00 +00:00
|
|
|
'condition': 'host_os == "linux"',
|
2022-04-04 07:41:39 +00:00
|
|
|
'action': [ 'python3',
|
|
|
|
'third_party/depot_tools/download_from_google_storage.py',
|
2014-06-26 10:49:27 +00:00
|
|
|
'--no_resume',
|
|
|
|
'--no_auth',
|
|
|
|
'--bucket', 'chromium-clang-format',
|
2020-08-03 14:09:55 +00:00
|
|
|
'-s', 'buildtools/linux64/clang-format.sha1',
|
2014-06-26 10:49:27 +00:00
|
|
|
],
|
|
|
|
},
|
2016-02-16 19:07:48 +00:00
|
|
|
{
|
|
|
|
'name': 'gcmole',
|
|
|
|
'pattern': '.',
|
2018-02-12 12:55:09 +00:00
|
|
|
'condition': 'download_gcmole',
|
2022-04-04 07:41:39 +00:00
|
|
|
'action': [ 'python3',
|
|
|
|
'third_party/depot_tools/download_from_google_storage.py',
|
2018-02-12 12:55:09 +00:00
|
|
|
'--bucket', 'chrome-v8-gcmole',
|
|
|
|
'-u', '--no_resume',
|
2020-08-03 14:09:55 +00:00
|
|
|
'-s', 'tools/gcmole/gcmole-tools.tar.gz.sha1',
|
2018-02-12 12:55:09 +00:00
|
|
|
'--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',
|
2022-04-04 07:41:39 +00:00
|
|
|
'action': [ 'python3',
|
|
|
|
'third_party/depot_tools/download_from_google_storage.py',
|
2018-02-12 12:55:09 +00:00
|
|
|
'--bucket', 'chrome-v8-jsfunfuzz',
|
|
|
|
'-u', '--no_resume',
|
2020-08-03 14:09:55 +00:00
|
|
|
'-s', 'tools/jsfunfuzz/jsfunfuzz.tar.gz.sha1',
|
2018-02-12 12:55:09 +00:00
|
|
|
'--platform=linux*',
|
2016-02-18 09:47:23 +00:00
|
|
|
],
|
|
|
|
},
|
2017-04-27 12:28:05 +00:00
|
|
|
{
|
|
|
|
'name': 'wasm_spec_tests',
|
|
|
|
'pattern': '.',
|
2022-04-04 07:41:39 +00:00
|
|
|
'action': [ 'python3',
|
|
|
|
'third_party/depot_tools/download_from_google_storage.py',
|
2017-04-27 12:28:05 +00:00
|
|
|
'--no_resume',
|
|
|
|
'--no_auth',
|
|
|
|
'-u',
|
|
|
|
'--bucket', 'v8-wasm-spec-tests',
|
2020-08-03 14:09:55 +00:00
|
|
|
'-s', 'test/wasm-spec-tests/tests.tar.gz.sha1',
|
2017-04-27 12:28:05 +00:00
|
|
|
],
|
|
|
|
},
|
2019-08-27 14:14:34 +00:00
|
|
|
{
|
|
|
|
'name': 'wasm_js',
|
|
|
|
'pattern': '.',
|
2022-04-04 07:41:39 +00:00
|
|
|
'action': [ 'python3',
|
|
|
|
'third_party/depot_tools/download_from_google_storage.py',
|
2019-08-27 14:14:34 +00:00
|
|
|
'--no_resume',
|
|
|
|
'--no_auth',
|
|
|
|
'-u',
|
|
|
|
'--bucket', 'v8-wasm-spec-tests',
|
2020-08-03 14:09:55 +00:00
|
|
|
'-s', 'test/wasm-js/tests.tar.gz.sha1',
|
2019-08-27 14:14:34 +00:00
|
|
|
],
|
|
|
|
},
|
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)',
|
2021-11-26 11:38:08 +00:00
|
|
|
'action': ['python3', 'build/linux/sysroot_scripts/install-sysroot.py',
|
2018-02-09 09:28:42 +00:00
|
|
|
'--arch=arm'],
|
|
|
|
},
|
|
|
|
{
|
|
|
|
'name': 'sysroot_arm64',
|
|
|
|
'pattern': '.',
|
2018-03-14 15:02:54 +00:00
|
|
|
'condition': '(checkout_linux and checkout_arm64)',
|
2021-11-26 11:38:08 +00:00
|
|
|
'action': ['python3', 'build/linux/sysroot_scripts/install-sysroot.py',
|
2018-02-09 09:28:42 +00:00
|
|
|
'--arch=arm64'],
|
|
|
|
},
|
|
|
|
{
|
|
|
|
'name': 'sysroot_x86',
|
|
|
|
'pattern': '.',
|
2018-03-14 15:02:54 +00:00
|
|
|
'condition': '(checkout_linux and (checkout_x86 or checkout_x64))',
|
2021-11-26 11:38:08 +00:00
|
|
|
'action': ['python3', 'build/linux/sysroot_scripts/install-sysroot.py',
|
2018-02-09 09:28:42 +00:00
|
|
|
'--arch=x86'],
|
|
|
|
},
|
|
|
|
{
|
|
|
|
'name': 'sysroot_x64',
|
|
|
|
'pattern': '.',
|
2018-03-14 15:02:54 +00:00
|
|
|
'condition': 'checkout_linux and checkout_x64',
|
2021-11-26 11:38:08 +00:00
|
|
|
'action': ['python3', 'build/linux/sysroot_scripts/install-sysroot.py',
|
2018-02-09 09:28:42 +00:00
|
|
|
'--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',
|
2022-04-04 07:41:39 +00:00
|
|
|
'action': [ 'python3',
|
|
|
|
'third_party/depot_tools/download_from_google_storage.py',
|
2017-10-11 12:58:07 +00:00
|
|
|
'--no_resume',
|
|
|
|
'--no_auth',
|
|
|
|
'--bucket', 'chromium-instrumented-libraries',
|
2021-10-21 07:49:28 +00:00
|
|
|
'-s', 'third_party/instrumented_libraries/binaries/msan-chained-origins.tgz.sha1',
|
2017-10-11 12:58:07 +00:00
|
|
|
],
|
|
|
|
},
|
|
|
|
{
|
|
|
|
'name': 'msan_no_origins',
|
|
|
|
'pattern': '.',
|
|
|
|
'condition': 'checkout_instrumented_libraries',
|
2022-04-04 07:41:39 +00:00
|
|
|
'action': [ 'python3',
|
|
|
|
'third_party/depot_tools/download_from_google_storage.py',
|
2017-10-11 12:58:07 +00:00
|
|
|
'--no_resume',
|
|
|
|
'--no_auth',
|
|
|
|
'--bucket', 'chromium-instrumented-libraries',
|
2021-10-21 07:49:28 +00:00
|
|
|
'-s', 'third_party/instrumented_libraries/binaries/msan-no-origins.tgz.sha1',
|
2017-10-11 12:58:07 +00:00
|
|
|
],
|
2017-03-31 07:33:57 +00:00
|
|
|
},
|
2021-04-06 18:26:21 +00:00
|
|
|
{
|
|
|
|
# Case-insensitivity for the Win SDK. Must run before win_toolchain below.
|
|
|
|
'name': 'ciopfs_linux',
|
|
|
|
'pattern': '.',
|
|
|
|
'condition': 'checkout_win and host_os == "linux"',
|
2022-04-04 07:41:39 +00:00
|
|
|
'action': [ 'python3',
|
|
|
|
'third_party/depot_tools/download_from_google_storage.py',
|
2021-04-06 18:26:21 +00:00
|
|
|
'--no_resume',
|
|
|
|
'--no_auth',
|
|
|
|
'--bucket', 'chromium-browser-clang/ciopfs',
|
|
|
|
'-s', 'build/ciopfs.sha1',
|
|
|
|
]
|
|
|
|
},
|
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',
|
2021-11-26 11:38:08 +00:00
|
|
|
'action': ['python3', 'build/vs_toolchain.py', 'update', '--force'],
|
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',
|
2021-11-26 11:38:08 +00:00
|
|
|
'action': ['python3', 'build/mac_toolchain.py'],
|
2019-07-23 12:24:27 +00:00
|
|
|
},
|
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"',
|
2021-10-27 01:40:13 +00:00
|
|
|
'action': ['python3', 'tools/clang/scripts/update.py'],
|
2014-11-27 10:29:41 +00:00
|
|
|
},
|
2020-06-11 22:46:25 +00:00
|
|
|
{
|
|
|
|
'name': 'clang_tidy',
|
|
|
|
'pattern': '.',
|
|
|
|
'condition': 'checkout_clang_tidy',
|
2021-10-27 01:40:13 +00:00
|
|
|
'action': ['python3', 'tools/clang/scripts/update.py',
|
2020-06-11 22:46:25 +00:00
|
|
|
'--package=clang-tidy'],
|
|
|
|
},
|
2018-08-17 12:29:23 +00:00
|
|
|
{
|
|
|
|
# Update LASTCHANGE.
|
|
|
|
'name': 'lastchange',
|
|
|
|
'pattern': '.',
|
2021-11-26 11:38:08 +00:00
|
|
|
'action': ['python3', 'build/util/lastchange.py',
|
2020-08-03 14:09:55 +00:00
|
|
|
'-o', 'build/util/LASTCHANGE'],
|
2018-08-17 12:29:23 +00:00
|
|
|
},
|
2020-10-12 14:12:19 +00:00
|
|
|
{
|
|
|
|
'name': 'Download Fuchsia system images',
|
|
|
|
'pattern': '.',
|
|
|
|
'condition': 'checkout_fuchsia',
|
|
|
|
'action': [
|
2021-11-26 11:38:08 +00:00
|
|
|
'python3',
|
2020-10-12 14:12:19 +00:00
|
|
|
'build/fuchsia/update_images.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
|
|
|
{
|
2021-10-27 01:40:13 +00:00
|
|
|
# Mac does not have llvm-objdump, download it for cross builds in Fuchsia.
|
2018-09-15 02:51:06 +00:00
|
|
|
'name': 'llvm-objdump',
|
|
|
|
'pattern': '.',
|
|
|
|
'condition': 'host_os == "mac" and checkout_fuchsia',
|
2021-10-27 01:40:13 +00:00
|
|
|
'action': ['python3', 'tools/clang/scripts/update.py',
|
2019-11-06 14:29:03 +00:00
|
|
|
'--package=objdump'],
|
2018-09-15 02:51:06 +00:00
|
|
|
},
|
2021-11-05 13:16:14 +00:00
|
|
|
{
|
|
|
|
'name': 'vpython3_common',
|
|
|
|
'pattern': '.',
|
|
|
|
'action': [ 'vpython3',
|
|
|
|
'-vpython-spec', '.vpython3',
|
|
|
|
'-vpython-tool', 'install',
|
|
|
|
],
|
|
|
|
},
|
2018-07-20 13:13:31 +00:00
|
|
|
{
|
|
|
|
'name': 'check_v8_header_includes',
|
|
|
|
'pattern': '.',
|
|
|
|
'condition': 'check_v8_header_includes',
|
|
|
|
'action': [
|
2021-11-26 11:38:08 +00:00
|
|
|
'python3',
|
2020-08-03 14:09:55 +00:00
|
|
|
'tools/generate-header-include-checks.py',
|
2018-07-20 13:13:31 +00:00
|
|
|
],
|
|
|
|
},
|
2022-07-19 16:19:11 +00:00
|
|
|
{
|
|
|
|
# Clean up build dirs for crbug.com/1337238.
|
|
|
|
# After a libc++ roll and revert, .ninja_deps would get into a state
|
|
|
|
# that breaks Ninja on Windows.
|
|
|
|
# TODO(crbug.com/1337238): Remove in a month or so.
|
|
|
|
'name': 'del_ninja_deps_cache',
|
|
|
|
'pattern': '.',
|
|
|
|
'condition': 'host_os == "win"',
|
|
|
|
'action': ['python3', 'build/del_ninja_deps_cache.py'],
|
|
|
|
},
|
2012-05-11 12:18:09 +00:00
|
|
|
]
|