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 = [
|
2020-10-15 19:42:20 +00:00
|
|
|
# TODO(https://crbug.com/1137662, https://crbug.com/1080854)
|
|
|
|
# Remove when migration is complete.
|
|
|
|
'checkout_fuchsia_for_arm64_host',
|
2019-10-30 15:12:10 +00:00
|
|
|
]
|
|
|
|
|
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",
|
|
|
|
|
2020-10-15 19:42:20 +00:00
|
|
|
# TODO(https://crbug.com/1137662, https://crbug.com/1080854)
|
|
|
|
# Remove when migration is complete.
|
|
|
|
# By default, do not check out files required to run fuchsia tests in
|
|
|
|
# qemu on linux-arm64 machines.
|
|
|
|
'checkout_fuchsia_for_arm64_host': False,
|
|
|
|
|
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,
|
|
|
|
|
|
|
|
# reclient CIPD package version
|
2021-09-03 08:39:23 +00:00
|
|
|
'reclient_version': 're_client_version:0.40.0.40ff5a5',
|
2018-12-06 14:15:30 +00:00
|
|
|
|
2019-03-16 11:43:14 +00:00
|
|
|
# GN CIPD package version.
|
2021-08-13 03:13:00 +00:00
|
|
|
'gn_version': 'git_revision:69ec4fca1fa69ddadae13f9e6b7507efa0675263',
|
2019-03-16 11:43:14 +00:00
|
|
|
|
2018-12-06 14:15:30 +00:00
|
|
|
# luci-go CIPD package version.
|
2021-09-14 03:09:38 +00:00
|
|
|
'luci_go': 'git_revision:4a0f3da2840eaa5341470174b57047313e074ecd',
|
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.
|
2021-07-27 13:20:10 +00:00
|
|
|
'android_sdk_build-tools_version': 'tRoD45SCi7UleQqSV7MrMQO1_e5P8ysphkCcj6z_cCQC',
|
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.
|
2021-07-27 13:20:10 +00:00
|
|
|
'android_sdk_emulator_version': 'gMHhUuoQRKfxr-MBn3fNNXZtkAVXtOwMwT7kfx8jkIgC',
|
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.
|
2021-07-27 13:20:10 +00:00
|
|
|
'android_sdk_platform-tools_version': 'qi_k82nm6j9nz4dQosOoqXew4_TFAy8rcGOHDLptx1sC',
|
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.
|
2021-07-27 13:20:10 +00:00
|
|
|
'android_sdk_platforms_version': 'lL3IGexKjYlwjO_1Ga-xwxgwbE_w-lmi2Zi1uOlWUIAC',
|
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.
|
2021-07-27 13:20:10 +00:00
|
|
|
'android_sdk_sources_version': 'n7svc8KYah-i4s8zwkVa85SI3_H0WFOniP0mpwNdFO0C',
|
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.
|
2021-07-27 13:20:10 +00:00
|
|
|
'android_sdk_cmdline-tools_version': 'ZT3JmI6GMG4YVcZ1OtECRVMOLLJAWAdPbi-OclubJLMC',
|
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':
|
2021-09-08 21:32:12 +00:00
|
|
|
Var('chromium_url') + '/chromium/src/base/trace_event/common.git' + '@' + '715537d6007ca71837f48bcb04fc3d482aed2507',
|
2020-08-03 14:09:55 +00:00
|
|
|
'build':
|
2021-09-14 03:09:38 +00:00
|
|
|
Var('chromium_url') + '/chromium/src/build.git' + '@' + 'f16814bd983e6cdb7bb32aa14698ef4e994c2050',
|
2020-08-03 14:09:55 +00:00
|
|
|
'buildtools':
|
2021-09-03 03:30:28 +00:00
|
|
|
Var('chromium_url') + '/chromium/src/buildtools.git' + '@' + '7ea3a871db68ae2cbbeaf5433a3192a799ef3c11',
|
2020-08-03 14:09:55 +00:00
|
|
|
'buildtools/clang_format/script':
|
2021-02-11 12:37:56 +00:00
|
|
|
Var('chromium_url') + '/external/github.com/llvm/llvm-project/clang/tools/clang-format.git' + '@' + '99803d74e35962f63a775f29477882afd4d57d94',
|
2020-08-03 14:09:55 +00:00
|
|
|
'buildtools/linux64': {
|
2019-03-16 11:43:14 +00:00
|
|
|
'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
|
|
|
},
|
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':
|
2021-07-08 03:09:06 +00:00
|
|
|
Var('chromium_url') + '/external/github.com/llvm/llvm-project/libcxx.git' + '@' + '79a2e924d96e2fc1e4b937c42efd08898fa472d7',
|
2020-08-03 14:09:55 +00:00
|
|
|
'buildtools/third_party/libc++abi/trunk':
|
2021-09-12 03:11:42 +00:00
|
|
|
Var('chromium_url') + '/external/github.com/llvm/llvm-project/libcxxabi.git' + '@' + 'a5b641945224d440bc87cb947c538d676e0dec14',
|
2020-08-03 14:09:55 +00:00
|
|
|
'buildtools/third_party/libunwind/trunk':
|
2021-09-09 03:04:29 +00:00
|
|
|
Var('chromium_url') + '/external/github.com/llvm/llvm-project/libunwind.git' + '@' + '44ea7aba6a34a9250e7793418d83f209a480caf4',
|
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',
|
|
|
|
'condition': '(host_os == "linux" or host_os == "win") and checkout_reclient',
|
|
|
|
},
|
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':
|
2021-09-10 00:12:07 +00:00
|
|
|
Var('chromium_url') + '/external/github.com/tc39/test262.git' + '@' + '66a3c3aa8b6170f84613dc66a87cd50c68e505df',
|
2021-06-13 21:53:17 +00:00
|
|
|
'test/test262/harness':
|
|
|
|
Var('chromium_url') + '/external/github.com/test262-utils/test262-harness-py.git' + '@' + '278bcfaed0dcaa13936831fb1769d15e7c1e3b2b',
|
|
|
|
'third_party/aemu-linux-x64': {
|
|
|
|
'packages': [
|
|
|
|
{
|
|
|
|
'package': 'fuchsia/third_party/aemu/linux-amd64',
|
2021-09-14 03:09:38 +00:00
|
|
|
'version': 'FqiWusPGPs0zkuCyCSj2axBNOhCaD117fjIbnnj6h8kC'
|
2021-06-13 21:53:17 +00:00
|
|
|
},
|
|
|
|
],
|
|
|
|
'condition': 'host_os == "linux" and checkout_fuchsia',
|
|
|
|
'dep_type': 'cipd',
|
|
|
|
},
|
|
|
|
'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',
|
|
|
|
},
|
2020-08-03 14:09:55 +00:00
|
|
|
'third_party/android_ndk': {
|
2021-01-28 03:10:59 +00:00
|
|
|
'url': Var('chromium_url') + '/android_ndk.git' + '@' + '401019bf85744311b26c88ced255cd53401af8b7',
|
2018-01-11 07:29:00 +00:00
|
|
|
'condition': 'checkout_android',
|
|
|
|
},
|
2020-08-03 14:09:55 +00:00
|
|
|
'third_party/android_platform': {
|
2021-09-02 03:11:05 +00:00
|
|
|
'url': Var('chromium_url') + '/chromium/src/third_party/android_platform.git' + '@' + '6e5dc9acd241c308385f970c384d9e083b2b6e56',
|
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': [
|
|
|
|
{
|
2021-07-27 13:20:10 +00:00
|
|
|
'package': 'chromium/third_party/android_sdk/public/build-tools/31.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'),
|
|
|
|
},
|
|
|
|
{
|
2021-07-27 13:20:10 +00:00
|
|
|
'package': 'chromium/third_party/android_sdk/public/platforms/android-31',
|
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': {
|
2021-09-14 03:09:38 +00:00
|
|
|
'url': Var('chromium_url') + '/catapult.git' + '@' + '53aef64c8ba7981692c348cf6a957de36a669bf1',
|
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':
|
2021-09-14 03:09:38 +00:00
|
|
|
Var('chromium_url') + '/chromium/tools/depot_tools.git' + '@' + '984ce942a4b1a5a559a5b07b9c0b29b228cd070d',
|
2020-08-03 14:09:55 +00:00
|
|
|
'third_party/fuchsia-sdk': {
|
2021-07-10 03:11:45 +00:00
|
|
|
'url': Var('chromium_url') + '/chromium/src/third_party/fuchsia-sdk.git' + '@' + '18896843130c33372c455c153ad07d2217bd2085',
|
2018-05-15 07:57:44 +00:00
|
|
|
'condition': 'checkout_fuchsia',
|
|
|
|
},
|
2020-08-03 14:09:55 +00:00
|
|
|
'third_party/google_benchmark/src': {
|
2021-09-14 05:10:53 +00:00
|
|
|
'url': Var('chromium_url') + '/external/github.com/google/benchmark.git' + '@' + '713b9177183375c8b1b25595e33daf2a1625df5b',
|
2020-07-02 18:24:48 +00:00
|
|
|
},
|
2021-06-13 21:53:17 +00:00
|
|
|
'third_party/googletest/src':
|
2021-08-27 03:11:17 +00:00
|
|
|
Var('chromium_url') + '/external/github.com/google/googletest.git' + '@' + '955c7f837efad184ec63e771c42542d37545eaef',
|
2021-06-13 21:53:17 +00:00
|
|
|
'third_party/icu':
|
2021-09-10 03:11:48 +00:00
|
|
|
Var('chromium_url') + '/chromium/deps/icu.git' + '@' + '3f443830bd52d3aa5fab3c1aa2b6d0848bb5039d',
|
2021-06-13 21:53:17 +00:00
|
|
|
'third_party/instrumented_libraries':
|
2021-09-14 03:09:38 +00:00
|
|
|
Var('chromium_url') + '/chromium/src/third_party/instrumented_libraries.git' + '@' + 'cb29f9c8b82936d3eea65877853eae52e75b399e',
|
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-08-21 03:11:46 +00:00
|
|
|
Var('chromium_url') + '/chromium/src/third_party/jinja2.git' + '@' + '6db8da1615a13fdfab925688bc4bf2eb394a73af',
|
2021-06-13 21:53:17 +00:00
|
|
|
'third_party/jsoncpp/source':
|
|
|
|
Var('chromium_url') + '/external/github.com/open-source-parsers/jsoncpp.git'+ '@' + '9059f5cad030ba11d37818847443a53918c327b1',
|
|
|
|
'third_party/logdog/logdog':
|
2021-07-20 03:12:52 +00:00
|
|
|
Var('chromium_url') + '/infra/luci/luci-py/client/libs/logdog' + '@' + '17ec234f823f7bff6ada6584fdbbee9d54b8fc58',
|
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',
|
2021-06-13 21:53:17 +00:00
|
|
|
'third_party/perfetto':
|
|
|
|
Var('android_url') + '/platform/external/perfetto.git' + '@' + 'aa4385bc5997ecad4c633885e1b331b1115012fb',
|
|
|
|
'third_party/protobuf':
|
|
|
|
Var('chromium_url') + '/external/github.com/google/protobuf'+ '@' + '6a59a2ad1f61d9696092f79b6d74368b4d7970a3',
|
2020-08-03 14:09:55 +00:00
|
|
|
'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',
|
|
|
|
},
|
2020-08-03 14:09:55 +00:00
|
|
|
'third_party/qemu-mac-x64': {
|
2018-09-15 02:51:06 +00:00
|
|
|
'packages': [
|
|
|
|
{
|
|
|
|
'package': 'fuchsia/qemu/mac-amd64',
|
|
|
|
'version': '2d3358ae9a569b2d4a474f498b32b202a152134f'
|
|
|
|
},
|
|
|
|
],
|
|
|
|
'condition': 'host_os == "mac" and checkout_fuchsia',
|
|
|
|
'dep_type': 'cipd',
|
|
|
|
},
|
2021-06-13 21:53:17 +00:00
|
|
|
'third_party/requests': {
|
|
|
|
'url': Var('chromium_url') + '/external/github.com/kennethreitz/requests.git' + '@' + '2c2138e811487b13020eb331482fb991fd399d4e',
|
|
|
|
'condition': 'checkout_android',
|
2020-02-02 10:09:42 +00:00
|
|
|
},
|
2021-06-13 21:53:17 +00:00
|
|
|
'third_party/zlib':
|
2021-08-26 16:42:18 +00:00
|
|
|
Var('chromium_url') + '/chromium/src/third_party/zlib.git'+ '@' + '77c132322fe81a1f5518b326e18c99ebd3281627',
|
2020-08-03 14:09:55 +00:00
|
|
|
'tools/clang':
|
2021-09-11 03:08:18 +00:00
|
|
|
Var('chromium_url') + '/chromium/src/tools/clang.git' + '@' + 'e74330fba0bac614a0a86ff1dedf07543b5fea8a',
|
2021-06-13 21:53:17 +00:00
|
|
|
'tools/clang/dsymutil': {
|
|
|
|
'packages': [
|
|
|
|
{
|
|
|
|
'package': 'chromium/llvm-build-tools/dsymutil',
|
|
|
|
'version': 'M56jPzDv1620Rnm__jTMYS62Zi8rxHVq7yw0qeBFEgkC',
|
|
|
|
}
|
|
|
|
],
|
|
|
|
'condition': 'checkout_mac',
|
|
|
|
'dep_type': 'cipd',
|
|
|
|
},
|
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/isolated/${{platform}}',
|
|
|
|
'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',
|
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',
|
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': [
|
|
|
|
'python',
|
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',
|
|
|
|
'action': [ 'download_from_google_storage',
|
|
|
|
'--bucket', 'chromium-v8-prebuilt-bazel/linux',
|
|
|
|
'--no_resume',
|
|
|
|
'-s', 'tools/bazel/bazel.sha1',
|
|
|
|
'--platform=linux*',
|
|
|
|
],
|
|
|
|
},
|
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',
|
2020-08-03 14:09:55 +00:00
|
|
|
'-s', 'buildtools/win/clang-format.exe.sha1',
|
2014-06-26 10:49:27 +00:00
|
|
|
],
|
|
|
|
},
|
|
|
|
{
|
|
|
|
'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',
|
2020-08-03 14:09:55 +00:00
|
|
|
'-s', 'buildtools/mac/clang-format.sha1',
|
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"',
|
2014-06-26 10:49:27 +00:00
|
|
|
'action': [ 'download_from_google_storage',
|
|
|
|
'--no_resume',
|
|
|
|
'--platform=linux*',
|
|
|
|
'--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',
|
|
|
|
'action': [ 'download_from_google_storage',
|
|
|
|
'--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',
|
|
|
|
'action': [ 'download_from_google_storage',
|
|
|
|
'--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': '.',
|
|
|
|
'action': [ 'download_from_google_storage',
|
|
|
|
'--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': '.',
|
|
|
|
'action': [ 'download_from_google_storage',
|
|
|
|
'--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)',
|
2020-08-03 14:09:55 +00:00
|
|
|
'action': ['python', '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)',
|
2020-08-03 14:09:55 +00:00
|
|
|
'action': ['python', '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))',
|
2020-08-03 14:09:55 +00:00
|
|
|
'action': ['python', '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',
|
2020-08-03 14:09:55 +00:00
|
|
|
'action': ['python', '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',
|
|
|
|
'action': [ 'download_from_google_storage',
|
|
|
|
'--no_resume',
|
|
|
|
'--no_auth',
|
|
|
|
'--bucket', 'chromium-instrumented-libraries',
|
2020-08-03 14:09:55 +00:00
|
|
|
'-s', 'third_party/instrumented_libraries/binaries/msan-chained-origins-trusty.tgz.sha1',
|
2017-10-11 12:58:07 +00:00
|
|
|
],
|
|
|
|
},
|
|
|
|
{
|
|
|
|
'name': 'msan_no_origins',
|
|
|
|
'pattern': '.',
|
|
|
|
'condition': 'checkout_instrumented_libraries',
|
|
|
|
'action': [ 'download_from_google_storage',
|
|
|
|
'--no_resume',
|
|
|
|
'--no_auth',
|
|
|
|
'--bucket', 'chromium-instrumented-libraries',
|
2020-08-03 14:09:55 +00:00
|
|
|
'-s', 'third_party/instrumented_libraries/binaries/msan-no-origins-trusty.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"',
|
|
|
|
'action': [ 'download_from_google_storage',
|
|
|
|
'--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-04-06 18:26:21 +00:00
|
|
|
'action': ['python', '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',
|
2020-11-13 16:03:41 +00:00
|
|
|
'action': ['python', '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"',
|
2020-08-03 14:09:55 +00:00
|
|
|
'action': ['python', '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',
|
2020-08-03 14:09:55 +00:00
|
|
|
'action': ['python', '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': '.',
|
2020-08-03 14:09:55 +00:00
|
|
|
'action': ['python', 'build/util/lastchange.py',
|
|
|
|
'-o', 'build/util/LASTCHANGE'],
|
2018-08-17 12:29:23 +00:00
|
|
|
},
|
2017-10-11 07:56:41 +00:00
|
|
|
{
|
2020-10-12 14:12:19 +00:00
|
|
|
'name': 'Download Fuchsia SDK',
|
2017-10-11 07:56:41 +00:00
|
|
|
'pattern': '.',
|
|
|
|
'condition': 'checkout_fuchsia',
|
|
|
|
'action': [
|
|
|
|
'python',
|
2020-08-03 14:09:55 +00:00
|
|
|
'build/fuchsia/update_sdk.py',
|
2020-10-12 14:12:19 +00:00
|
|
|
],
|
|
|
|
},
|
|
|
|
{
|
|
|
|
'name': 'Download Fuchsia system images',
|
|
|
|
'pattern': '.',
|
|
|
|
'condition': 'checkout_fuchsia',
|
|
|
|
'action': [
|
|
|
|
'python',
|
|
|
|
'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
|
|
|
{
|
|
|
|
# Mac does not have llvm-objdump, download it for cross builds in Fuchsia.
|
|
|
|
'name': 'llvm-objdump',
|
|
|
|
'pattern': '.',
|
|
|
|
'condition': 'host_os == "mac" and checkout_fuchsia',
|
2020-08-03 14:09:55 +00:00
|
|
|
'action': ['python', 'tools/clang/scripts/update.py',
|
2019-11-06 14:29:03 +00:00
|
|
|
'--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',
|
2020-08-03 14:09:55 +00:00
|
|
|
'-vpython-spec', '.vpython',
|
2017-10-24 09:01:39 +00:00
|
|
|
'-vpython-tool', 'install',
|
|
|
|
],
|
|
|
|
},
|
2018-07-20 13:13:31 +00:00
|
|
|
{
|
|
|
|
'name': 'check_v8_header_includes',
|
|
|
|
'pattern': '.',
|
|
|
|
'condition': 'check_v8_header_includes',
|
|
|
|
'action': [
|
|
|
|
'python',
|
2020-08-03 14:09:55 +00:00
|
|
|
'tools/generate-header-include-checks.py',
|
2018-07-20 13:13:31 +00:00
|
|
|
],
|
|
|
|
},
|
2012-05-11 12:18:09 +00:00
|
|
|
]
|