| # Copyright 2019 The Chromium Authors |
| # Use of this source code is governed by a BSD-style license that can be |
| # found in the LICENSE file. |
| |
| use_relative_paths = True |
| git_dependencies = 'SYNC' |
| gclient_gn_args_file = 'build/config/gclient_args.gni' |
| gclient_gn_args = [ |
| ] |
| |
| vars = { |
| 'build_with_chromium': False, |
| |
| 'build_url': 'https://chromium.googlesource.com/chromium/src/build.git', |
| 'build_revision': 'b3aa26b99929fcf5781ca78dca2abc8572951117', |
| |
| 'buildtools_url': 'https://chromium.googlesource.com/chromium/src/buildtools.git', |
| 'buildtools_revision': 'c202b4a9dac30e789ed6e3b2354efa94357a56f3', |
| |
| 'depot_tools_url': 'https://chromium.googlesource.com/chromium/tools/depot_tools.git', |
| 'depot_tools_revision': '36a8df4ad006eaa0572fb446edb8145fe5403592', |
| |
| 'inspector_protocol_url': 'https://chromium.googlesource.com/deps/inspector_protocol', |
| 'inspector_protocol_revision': '3b2e0c4229527af1e077d9b849fe70e5991bb88a', |
| |
| # Keeping track of the last time we rolled the browser protocol files. |
| 'chromium_browser_protocol_revision' : '94c2d3be993e302928a7ec87401d5606b87e0833', |
| |
| 'clang_format_url': 'https://chromium.googlesource.com/external/github.com/llvm/llvm-project/clang/tools/clang-format.git', |
| 'clang_format_revision': '70510081984cfcdb14a15b3e08dfe9776dc7ed37', |
| |
| 'emscripten_tag': 'ade9d780ff17c88d81aa13860361743e3c1e1396', |
| |
| # GN CIPD package version. |
| 'gn_version': 'git_revision:cfcd774b98f3433e18b722f9a7ff06119825b8eb', |
| |
| 'cmake_version': 'version:2@3.21.3', |
| |
| 'llvm_url': 'https://chromium.googlesource.com/external/github.com/llvm/llvm-project/', |
| 'llvm_revision': '3c51ea3619e488db19cd26840ed46d58cfc7062f', |
| |
| 'lldb_eval_url': 'https://chromium.googlesource.com/external/github.com/google/lldb-eval.git', |
| 'lldb_eval_revision': 'e87123a7e639bf1d86f24c37079570fb7fa00b72', |
| |
| # ninja CIPD package version. |
| # https://chrome-infra-packages.appspot.com/p/infra/3pp/tools/ninja |
| 'ninja_version': 'version:3@1.12.1.chromium.4', |
| |
| # Chrome version used for tests. It should be regularly updated to |
| # match the Canary version listed here: |
| # https://googlechromelabs.github.io/chrome-for-testing/last-known-good-versions.json |
| # Note: This var is no longer referenced in the body of this DEPS file. |
| # However it is used by the roll script (scripts/deps/roll_deps.py) to ease |
| # version resolution. DO NOT REMOVE! |
| 'chrome': '155.0.8050.0', |
| |
| # 'magic' text to tell depot_tools that git submodules should be accepted but |
| # but parity with DEPS file is expected. |
| 'SUBMODULE_MIGRATION': 'True', |
| |
| # condition to allowlist deps for non-git-source processing. |
| 'non_git_source': 'True', |
| |
| # CPython 3 CIPD package version for Siso hermetic toolchain. |
| 'cpython3_version': 'version:3@3.11.9.chromium.38', |
| |
| # siso CIPD package version |
| 'siso_version': 'git_revision:2f0eb0113740f469481a64760ab8feabe529a5b1', |
| } |
| |
| # Only these hosts are allowed for dependencies in this DEPS file. |
| # If you need to add a new host, contact chrome infrastructure team. |
| allowed_hosts = [ |
| 'chromium.googlesource.com', |
| 'chrome-infra-packages.appspot.com', |
| |
| # TODO(b/337061377): Move into a separate allowed gcs bucket list. |
| 'chromium-nodejs', |
| ] |
| |
| deps = { |
| 'third_party/clang-format/script': { |
| 'url': Var('clang_format_url') + '@' + Var('clang_format_revision'), |
| 'condition': 'build_with_chromium == False', |
| }, |
| 'third_party/cmake': { |
| 'packages': [{ |
| 'package': 'infra/3pp/tools/cmake/${{platform}}', |
| 'version': Var('cmake_version') |
| }], |
| 'dep_type': |
| 'cipd', |
| 'condition': 'checkout_cxx_debugging_extension_deps == True', |
| }, |
| 'extensions/cxx_debugging/third_party/llvm/src': { |
| 'url': Var('llvm_url') + '@' + Var('llvm_revision'), |
| 'condition': 'checkout_cxx_debugging_extension_deps == True', |
| }, |
| 'extensions/cxx_debugging/third_party/lldb-eval/src': { |
| 'url': Var('lldb_eval_url') + '@' + Var('lldb_eval_revision'), |
| 'condition': 'checkout_cxx_debugging_extension_deps == True', |
| }, |
| |
| 'buildtools': { |
| 'url': Var('buildtools_url') + '@' + Var('buildtools_revision'), |
| 'condition': 'build_with_chromium == False', |
| }, |
| |
| 'buildtools/linux64': { |
| 'packages': [ |
| { |
| 'package': 'gn/gn/linux-${{arch}}', |
| 'version': Var('gn_version'), |
| } |
| ], |
| 'dep_type': 'cipd', |
| 'condition': 'host_os == "linux" and build_with_chromium == False', |
| }, |
| 'buildtools/mac': { |
| 'packages': [ |
| { |
| 'package': 'gn/gn/mac-${{arch}}', |
| 'version': Var('gn_version'), |
| } |
| ], |
| 'dep_type': 'cipd', |
| 'condition': 'host_os == "mac" and build_with_chromium == False', |
| }, |
| 'buildtools/win': { |
| 'packages': [ |
| { |
| 'package': 'gn/gn/windows-amd64', |
| 'version': Var('gn_version'), |
| } |
| ], |
| 'dep_type': 'cipd', |
| 'condition': 'host_os == "win" and build_with_chromium == False', |
| }, |
| 'third_party/esbuild': { |
| 'packages': [ |
| { |
| 'package': 'infra/3pp/tools/esbuild/${{platform}}', |
| 'version': 'version:3@0.28.2.chromium.2', |
| } |
| ], |
| 'dep_type': 'cipd', |
| 'condition': 'non_git_source', |
| }, |
| |
| # Always download Linux x64 package regardless of host OS for RBE workers. |
| 'third_party/cpython3/linux-amd64': { |
| 'packages': [ |
| { |
| 'package': 'infra/3pp/tools/cpython3/linux-amd64', |
| 'version': Var('cpython3_version'), |
| }, |
| ], |
| 'condition': 'build_with_chromium == False and non_git_source', |
| 'dep_type': 'cipd', |
| }, |
| |
| # Host platform package. |
| 'third_party/cpython3/host': { |
| 'packages': [ |
| { |
| 'package': 'infra/3pp/tools/cpython3/${{platform}}', |
| 'version': Var('cpython3_version'), |
| }, |
| ], |
| 'condition': 'build_with_chromium == False and non_git_source', |
| 'dep_type': 'cipd', |
| }, |
| |
| 'build': { |
| 'url': Var('build_url') + '@' + Var('build_revision'), |
| 'condition': 'build_with_chromium == False', |
| }, |
| 'third_party/siso/cipd': { |
| 'packages': [ |
| { |
| 'package': 'build/siso/${{platform}}', |
| 'version': Var('siso_version'), |
| } |
| ], |
| 'dep_type': 'cipd', |
| 'condition': 'not build_with_chromium and host_cpu != "s390" and host_os != "zos" and host_cpu != "ppc"', |
| }, |
| 'third_party/depot_tools': { |
| 'url': Var('depot_tools_url') + '@' + Var('depot_tools_revision'), |
| 'condition': 'build_with_chromium == False', |
| }, |
| 'third_party/inspector_protocol': { |
| 'url': Var('inspector_protocol_url') + '@' + Var('inspector_protocol_revision'), |
| 'condition': 'build_with_chromium == False', |
| }, |
| 'third_party/ninja': { |
| 'packages': [ |
| { |
| 'package': 'infra/3pp/tools/ninja/${{platform}}', |
| 'version': Var('ninja_version'), |
| } |
| ], |
| 'dep_type': 'cipd', |
| 'condition': 'build_with_chromium == False', |
| }, |
| # Pull down Node binaries for WebUI toolchain. |
| 'third_party/node/linux': { |
| 'dep_type': 'gcs', |
| 'condition': 'host_os == "linux" and build_with_chromium == False and non_git_source', |
| 'bucket': 'chromium-nodejs', |
| 'objects': [ |
| { |
| 'object_name': '744e6926ffdd4a4fb2080ae2b9ce4575490261e7', |
| 'sha256sum': 'bdea62a6857735d62165ec97242d79a693564c72d551890c4d009d2355abf14c', |
| 'size_bytes': 53566970, |
| 'generation': 1767604834866657, |
| 'output_file': 'node-linux-x64.tar.gz', |
| }, |
| ], |
| }, |
| 'third_party/node/mac': { |
| 'dep_type': 'gcs', |
| 'condition': 'host_os == "mac" and build_with_chromium == False and host_cpu != "arm64" and non_git_source', |
| 'bucket': 'chromium-nodejs', |
| 'objects': [ |
| { |
| 'object_name': '9202c05a8e7c67cb2bb2fec1e50fb6188d26f281', |
| 'sha256sum': 'a25cd3ef35d8b4b5a59498a5a62b5b12cc271dc420ee809abaa76110d12c156e', |
| 'size_bytes': 49563652, |
| 'generation': 1767604826991919, |
| 'output_file': 'node-darwin-x64.tar.gz', |
| }, |
| ], |
| }, |
| 'third_party/node/mac_arm64': { |
| 'dep_type': 'gcs', |
| 'condition': 'host_os == "mac" and build_with_chromium == False and host_cpu == "arm64" and non_git_source', |
| 'bucket': 'chromium-nodejs', |
| 'objects': [ |
| { |
| 'object_name': '6661e9b9bd7df6b45daf506c82d06d303597cb27', |
| 'sha256sum': 'b1be502d1635330ebf51d85f8d32a0d3dd92b35c6700def56ae6f903906ea825', |
| 'size_bytes': 48369082, |
| 'generation': 1767604830942392, |
| 'output_file': 'node-darwin-arm64.tar.gz', |
| }, |
| ], |
| }, |
| "scripts/ai_assistance/suite/outputs": { |
| "dep_type": "gcs", |
| 'condition': 'checkout_ai_evals == True', |
| "bucket": "chrome-devtools-ai-evals", |
| "objects": [ |
| { |
| "object_name": "2c91e963a2a3cd91e1c693437244faf1a134b0517894c34886e203beb7794400", |
| "sha256sum": "a76bb05985291000c8c8e8f4c15339e789a4440e7ecf6f2152f6f5dcfc94b4a5", |
| "size_bytes": 33421, |
| "generation": 1787920118458869 |
| } |
| ] |
| }, |
| 'third_party/chrome/chrome-win': { |
| 'dep_type': 'gcs', |
| 'condition': 'host_os == "win" and build_with_chromium == False and non_git_source', |
| 'bucket': 'chrome-for-testing-public', |
| 'objects': [ |
| { |
| 'object_name': '155.0.8050.0/win64/chrome-win64.zip', |
| 'sha256sum': '76ea7255e516d57a4e5e0cc484a06b8a27cbf283a71516bb60404364d00f9edc', |
| 'size_bytes': 206847123, |
| 'generation': 1789016608522128, |
| }, |
| ], |
| }, |
| 'third_party/chrome/chrome-mac-x64': { |
| 'dep_type': 'gcs', |
| 'condition': 'host_os == "mac" and build_with_chromium == False and host_cpu != "arm64" and non_git_source', |
| 'bucket': 'chrome-for-testing-public', |
| 'objects': [ |
| { |
| 'object_name': '155.0.8050.0/mac-x64/chrome-mac-x64.zip', |
| 'sha256sum': '05f9ce7f2ed6b9ae8bfe8edc740eaaadeb621f3e074c19aacfcb1349e758e93a', |
| 'size_bytes': 202989331, |
| 'generation': 1789026231116598, |
| }, |
| ], |
| }, |
| 'third_party/chrome/chrome-mac-arm64': { |
| 'dep_type': 'gcs', |
| 'condition': 'host_os == "mac" and build_with_chromium == False and host_cpu == "arm64" and non_git_source', |
| 'bucket': 'chrome-for-testing-public', |
| 'objects': [ |
| { |
| 'object_name': '155.0.8050.0/mac-arm64/chrome-mac-arm64.zip', |
| 'sha256sum': '6c0daffd4b494d5ea8119adc1e5c2d548d718de1f43f2cb075e1f37aa32fbcdb', |
| 'size_bytes': 192682538, |
| 'generation': 1789019282437857, |
| }, |
| ], |
| }, |
| 'third_party/chrome/chrome-linux': { |
| 'dep_type': 'gcs', |
| 'condition': 'host_os == "linux" and build_with_chromium == False and non_git_source', |
| 'bucket': 'chrome-for-testing-public', |
| 'objects': [ |
| { |
| 'object_name': '155.0.8050.0/linux64/chrome-linux64.zip', |
| 'sha256sum': '78224209af00866d26b91ad42668917e07162e8c82bd4543f678ede39b315ac7', |
| 'size_bytes': 197809307, |
| 'generation': 1789015173835882, |
| }, |
| ], |
| }, |
| 'third_party/node/win': { |
| 'dep_type': 'gcs', |
| 'condition': 'host_os == "win" and build_with_chromium == False and non_git_source', |
| 'bucket': 'chromium-nodejs', |
| 'objects': [ |
| { |
| 'object_name': '2f710ced2db2beb7c3debf6097196c35ee5adb74', |
| 'sha256sum': '2ffe3acc0458fdde999f50d11809bbe7c9b7ef204dcf17094e325d26ace101d8', |
| 'size_bytes': 89935872, |
| 'generation': 1767604839180114, |
| 'output_file': 'node.exe', |
| }, |
| ], |
| }, |
| |
| 'third_party/typescript/linux-amd64/src': { |
| 'dep_type': 'cipd', |
| 'condition': 'host_os == "linux" and build_with_chromium == False and non_git_source', |
| 'packages': [ |
| { |
| 'package': 'chromium/third_party/typescript/linux-amd64', |
| 'version': 'version:2@7.0.2', |
| }, |
| ], |
| }, |
| |
| 'third_party/typescript/mac-amd64/src': { |
| 'dep_type': 'cipd', |
| 'condition': 'host_os == "mac" and build_with_chromium == False and host_cpu != "arm64" and non_git_source', |
| 'packages': [ |
| { |
| 'package': 'chromium/third_party/typescript/mac-amd64', |
| 'version': 'version:2@7.0.2', |
| }, |
| ], |
| }, |
| 'third_party/typescript/mac-arm64/src': { |
| 'dep_type': 'cipd', |
| 'condition': 'host_os == "mac" and build_with_chromium == False and host_cpu == "arm64" and non_git_source', |
| 'packages': [ |
| { |
| 'package': 'chromium/third_party/typescript/mac-arm64', |
| 'version': 'version:2@7.0.2', |
| }, |
| ], |
| }, |
| 'third_party/typescript/windows-amd64/src': { |
| 'dep_type': 'cipd', |
| 'condition': 'host_os == "win" and build_with_chromium == False and non_git_source', |
| 'packages': [ |
| { |
| 'package': 'chromium/third_party/typescript/windows-amd64', |
| 'version': 'version:2@7.0.2', |
| }, |
| ], |
| }, |
| } |
| |
| hooks = [ |
| { |
| # Ensure that the DEPS'd "depot_tools" has its self-update capability |
| # disabled. |
| 'name': 'disable_depot_tools_selfupdate', |
| 'pattern': '.', |
| 'condition': 'build_with_chromium == False', |
| 'action': [ |
| 'vpython3', |
| 'third_party/depot_tools/update_depot_tools_toggle.py', |
| '--disable', |
| ], |
| }, |
| { |
| # Update LASTCHANGE for build script timestamps |
| 'name': 'lastchange', |
| 'condition': 'build_with_chromium == False', |
| 'pattern': '.', |
| 'action': ['vpython3', 'build/util/lastchange.py', |
| '-o', 'build/util/LASTCHANGE'], |
| }, |
| { |
| 'name': 'emscripten', |
| 'pattern': '.', |
| 'condition': 'build_with_chromium == False', |
| 'action': ['vpython3', 'scripts/deps/download_emscripten.py', Var('emscripten_tag'), 'third_party/emscripten-releases'], |
| }, |
| { |
| 'name': 'VS Code settings', |
| 'pattern': '.', |
| 'condition': 'build_with_chromium == False', |
| 'action': [ |
| 'vpython3', |
| 'third_party/node/node.py', |
| '--output', |
| 'scripts/deps/sync-vscode-settings.mjs' |
| ] |
| }, |
| { |
| 'name': 'configure_siso', |
| 'pattern': '.', |
| 'condition': 'build_with_chromium == False', |
| 'action': ['python3', |
| 'build/config/siso/configure_siso.py', |
| '--rbe_instance', |
| 'projects/rbe-chrome-untrusted/instances/default_instance', |
| ], |
| }, |
| { |
| 'name': 'fix_cft_permissions', |
| 'pattern': '.', |
| 'condition': 'build_with_chromium == False', |
| 'action': [ 'vpython3', 'scripts/deps/fix_cft_permissions.py'], |
| }, |
| ] |
| |
| recursedeps = [ |
| 'build', |
| 'buildtools', |
| ] |