blob: d7d764d292bc4c07091607116bd3c0e8ca93cd01 [file] [log] [blame]
# Copyright 2019 the V8 project authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
vars = {
'build_revision': 'd35a96ac2e0fd0fe3d7c106036417b9c4ec96085',
'build_url': 'https://chromium.googlesource.com/chromium/src/build.git',
'buildtools_revision': '74cfb57006f83cfe050817526db359d5c8a11628',
'buildtools_url': 'https://chromium.googlesource.com/chromium/src/buildtools.git',
'buildtools_clang_format_revision': '96636aa0e9f047f17447f2d45a094d0b59ed7917',
'buildtools_clang_format_url': 'https://chromium.googlesource.com/chromium/llvm-project/cfe/tools/clang-format.git',
'buildtools_libcxx_revision': '5938e0582bac570a41edb3d6a2217c299adc1bc6',
'buildtools_libcxx_url': 'https://chromium.googlesource.com/chromium/llvm-project/libcxx.git',
'buildtools_libcxxabi_revision': '0d529660e32d77d9111912d73f2c74fc5fa2a858',
'buildtools_libcxxabi_url': 'https://chromium.googlesource.com/chromium/llvm-project/libcxxabi.git',
'buildtools_libunwind_revision': '69d9b84cca8354117b9fe9705a4430d789ee599b',
'buildtools_libunwind_url': 'https://chromium.googlesource.com/external/llvm.org/libunwind.git',
'clang_revision': '57e1363519e28ecffd57567dc02d704f1a2b1f4d',
'clang_url': 'https://chromium.googlesource.com/chromium/src/tools/clang.git',
'depot_tools_revision': 'df746d0e6fd46f4817100ccbe6892424daf7e244',
'depot_tools_url': 'https://chromium.googlesource.com/chromium/tools/depot_tools.git',
# GN CIPD package version.
'gn_version': 'git_revision:81ee1967d3fcbc829bac1c005c3da59739c88df9',
'googletest_revision': '2134e3fd857d952e03ce76064fad5ac6e9036104',
'googletest_url': 'https://chromium.googlesource.com/external/github.com/google/googletest.git',
'icu_revision': '682a230923933a7157a41b88c7804b6b7d2abdfa',
'icu_url': 'https://chromium.googlesource.com/chromium/deps/icu.git',
'jinja2_revision': 'b41863e42637544c2941b574c7877d3e1f663e25',
'jinja2_url': 'https://chromium.googlesource.com/chromium/src/third_party/jinja2.git',
'markupsafe_revision': '8f45f5cfa0009d2a70589bcda0349b8cb2b72783',
'markupsafe_url': 'https://chromium.googlesource.com/chromium/src/third_party/markupsafe.git',
'node_revision': '49da15195fa8390265fb0e685262333c8cf8863c',
'node_url': 'https://chromium.googlesource.com/external/github.com/v8/node.git',
'trace_common_revision' : 'd0793a09d63308706b1aca274414daf57de6c81b',
'trace_common_url': 'https://chromium.googlesource.com/chromium/src/base/trace_event/common.git',
'v8_revision': '90c6444292997bbd2accfef9b93134241f55b64d',
'v8_url': 'https://chromium.googlesource.com/v8/v8.git',
'zlib_revision': 'e5c4d8c45ed18f84ea68f5029c9bceb1f67268b8',
'zlib_url': 'https://chromium.googlesource.com/chromium/src/third_party/zlib.git',
}
deps = {
'node-ci/base/trace_event/common': Var('trace_common_url') + '@' + Var('trace_common_revision'),
'node-ci/build': Var('build_url') + '@' + Var('build_revision'),
'node-ci/buildtools': Var('buildtools_url') + '@' + Var('buildtools_revision'),
'node-ci/buildtools/clang_format/script': Var('buildtools_clang_format_url') + '@' + Var('buildtools_clang_format_revision'),
'node-ci/buildtools/third_party/libc++/trunk': Var('buildtools_libcxx_url') + '@' + Var('buildtools_libcxx_revision'),
'node-ci/buildtools/third_party/libc++abi/trunk': Var('buildtools_libcxxabi_url') + '@' + Var('buildtools_libcxxabi_revision'),
'node-ci/buildtools/third_party/libunwind/trunk': Var('buildtools_libunwind_url') + '@' + Var('buildtools_libunwind_revision'),
'node-ci/node': Var('node_url') + '@' + Var('node_revision'),
'node-ci/third_party/depot_tools': Var('depot_tools_url') + '@' + Var('depot_tools_revision'),
'node-ci/third_party/googletest/src': Var('googletest_url') + '@' + Var('googletest_revision'),
'node-ci/third_party/icu': Var('icu_url') + '@' + Var('icu_revision'),
'node-ci/third_party/jinja2': Var('jinja2_url') + '@' + Var('jinja2_revision'),
'node-ci/third_party/markupsafe': Var('markupsafe_url') + '@' + Var('markupsafe_revision'),
'node-ci/third_party/zlib': Var('zlib_url') + '@' + Var('zlib_revision'),
'node-ci/tools/clang': Var('clang_url') + '@' + Var('clang_revision'),
'node-ci/v8': Var('v8_url') + '@' + Var('v8_revision'),
'node-ci/buildtools/linux64': {
'packages': [
{
'package': 'gn/gn/linux-amd64',
'version': Var('gn_version'),
}
],
'dep_type': 'cipd',
'condition': 'host_os == "linux"',
},
'node-ci/buildtools/mac': {
'packages': [
{
'package': 'gn/gn/mac-amd64',
'version': Var('gn_version'),
}
],
'dep_type': 'cipd',
'condition': 'host_os == "mac"',
},
'node-ci/buildtools/win': {
'packages': [
{
'package': 'gn/gn/windows-amd64',
'version': Var('gn_version'),
}
],
'dep_type': 'cipd',
'condition': 'host_os == "win"',
},
}
hooks = [
{
'name': 'generate_node_filelist',
'pattern': 'node-ci/node',
'action': ['python', 'node-ci/tools/generate_node_files_json.py'],
},
{
# Update the Windows toolchain if necessary.
'name': 'win_toolchain',
'pattern': '.',
'condition': 'checkout_win',
'action': ['python', 'node-ci/build/vs_toolchain.py', 'update'],
},
{
# Update the Mac toolchain if necessary.
'name': 'mac_toolchain',
'pattern': '.',
'condition': 'checkout_mac',
'action': ['python', 'node-ci/build/mac_toolchain.py'],
},
{
'name': 'clang',
'pattern': '.',
'action': ['python', 'node-ci/tools/clang/scripts/update.py'],
},
{
# Update LASTCHANGE.
'name': 'lastchange',
'pattern': '.',
'action': ['python', 'node-ci/build/util/lastchange.py',
'-o', 'node-ci/build/util/LASTCHANGE'],
},
{
'name': 'sysroot_x64',
'pattern': '.',
'condition': 'checkout_linux and checkout_x64',
'action': ['python',
'node-ci/build/linux/sysroot_scripts/install-sysroot.py',
'--arch=x64'],
},
]