blob: e41a43b3282d6da8b400da912b45f4508f508bdf [file] [edit]
use_relative_paths = True
gclient_gn_args_file = 'build/config/gclient_args.gni'
gclient_gn_args = [
'android_ndk_version',
'build_with_chromium',
'checkout_android',
'checkout_skia',
]
vars = {
# Variable that can be used to support multiple build scenarios, like having
# Chromium specific targets in a client project's GN file or sync dependencies
# conditionally etc.
# Standalone PDFium, by definition, does not build with Chromium.
'build_with_chromium': False,
# By default, we should check out everything needed to run on the main
# pdfium waterfalls. This var can be also be set to 'small', in order to skip
# things are not strictly needed to build pdfium for development purposes,
# by adding the following line to the .gclient file inside a solutions entry:
# "custom_vars": { "checkout_configuration": "small" },
# Similarly, this var can be set to 'minimal' to also skip the Skia and V8
# checkouts for the smallest possible checkout, where some features will not
# work.
'checkout_configuration': 'default',
# By default, don't check out android. Will be overridden by gclient
# variables.
# TODO(crbug.com/875037): Remove this once the bug in gclient is fixed.
'checkout_android': False,
# Fetch the prebuilt binaries for llvm-cov and llvm-profdata. Needed to
# process the raw profiles produced by instrumented targets (built with
# the gn arg 'use_clang_coverage').
'checkout_clang_coverage_tools': 'False',
# Fetch clang-tidy into the same bin/ directory as the clang binary.
'checkout_clang_tidy': 'False',
# Fetch clangd into the same bin/ directory as the clang binary.
'checkout_clangd': 'False',
# Pull in Android native toolchain dependencies, so we can build ARC++
# support libraries.
'checkout_android_native_support': 'checkout_android',
'checkout_instrumented_libraries': 'checkout_linux and checkout_configuration != "small" and checkout_configuration != "minimal"',
# Fetch the rust toolchain.
#
# Use a custom_vars section to enable it:
# "custom_vars": {
# "checkout_rust": True,
# }
'checkout_rust': False,
'checkout_skia': 'checkout_configuration != "minimal"',
'checkout_testing_corpus': 'checkout_configuration != "small" and checkout_configuration != "minimal"',
'checkout_v8': 'checkout_configuration != "minimal"',
# condition to allowlist deps for non-git-source processing.
'non_git_source': 'True',
# Fetch configuration files required for the 'use_remoteexec' gn arg
'download_remoteexec_cfg': False,
# RBE instance to use for running remote builds
'rbe_instance': Str('projects/rbe-chrome-untrusted/instances/default_instance'),
# RBE project to download rewrapper config files for. Only needed if
# different from the project used in 'rbe_instance'
'rewrapper_cfg_project': Str(''),
# reclient CIPD package
'reclient_package': 'infra/rbe/client/',
# reclient CIPD package version
'reclient_version': 're_client_version:0.185.0.db415f21-gomaip',
'chromium_git': 'https://chromium.googlesource.com',
'pdfium_git': 'https://pdfium.googlesource.com',
'skia_git': 'https://skia.googlesource.com',
# Three lines of non-changing comments so that
# the commit queue can handle CLs rolling abseil
# and whatever else without interference from each other.
'abseil_revision': 'df548c50b2cda67158364d3d23c63043881b391d',
# Three lines of non-changing comments so that
# the commit queue can handle CLs rolling android_ndk
# and whatever else without interference from each other.
'android_ndk_version': Str('2@30.0.15729638'),
# Three lines of non-changing comments so that
# the commit queue can handle CLs rolling brotli
# and whatever else without interference from each other.
'brotli_revision': '803ac71664ad62af1de39ff55e63ebbe07006fc8',
# Three lines of non-changing comments so that
# the commit queue can handle CLs rolling build
# and whatever else without interference from each other.
'build_revision': '617bbacedcc57e59660ab838d3686854822c6ea7',
# Three lines of non-changing comments so that
# the commit queue can handle CLs rolling buildtools
# and whatever else without interference from each other.
'buildtools_revision': '9e7655f4ee433ef4c6efcffd57e379db8f8c0432',
# Three lines of non-changing comments so that
# the commit queue can handle CLs rolling catapult
# and whatever else without interference from each other.
'catapult_revision': 'e4d1a01c96deb68b0aa26a66dca45fc290885cbf',
# Three lines of non-changing comments so that
# the commit queue can handle CLs rolling clang format
# and whatever else without interference from each other.
'clang_format_revision': '6eddfb5ec5f92127a531eda66c568d3a11e7ec11',
# Three lines of non-changing comments so that
# the commit queue can handle CLs rolling clang
# and whatever else without interference from each other.
'clang_revision': 'e4816757c45a072f08279139108a0a937bbeb239',
# Three lines of non-changing comments so that
# the commit queue can handle CLs rolling code_coverage
# and whatever else without interference from each other.
'code_coverage_revision': 'f2c64929fbd5ee89eb7e5c06d73bc9cbda7796ae',
# Three lines of non-changing comments so that
# the commit queue can handle CLs rolling cpu_features
# and whatever else without interference from each other.
'cpu_features_revision': '81d13c49649f0714dd41fb56bb246398b6584085',
# Three lines of non-changing comments so that
# the commit queue can handle CLs rolling cpython3_version
# and whatever else without interference from each other.
'cpython3_version': 'version:3@3.11.9.chromium.38',
# Three lines of non-changing comments so that
# the commit queue can handle CLs rolling depot_tools
# and whatever else without interference from each other.
'depot_tools_revision': '732902ab86f8bd629bee00af102d5aa2d9336166',
# Three lines of non-changing comments so that
# the commit queue can handle CLs rolling dragonbox
# and whatever else without interference from each other.
'dragonbox_revision': 'beeeef91cf6fef89a4d4ba5e95d47ca64ccb3a44',
# Three lines of non-changing comments so that
# the commit queue can handle CLs rolling fast_float
# and whatever else without interference from each other.
'fast_float_revision': '34164f547b7df3f5d794ff67e9f885c36819ebfc',
# Three lines of non-changing comments so that
# the commit queue can handle CLs rolling fp16
# and whatever else without interference from each other.
'fp16_revision': '782eea126dc5c755827be751a099eb01826175cf',
# Three lines of non-changing comments so that
# the commit queue can handle CLs rolling freetype
# and whatever else without interference from each other.
'freetype_revision': '656cb777798fa420a13faba3758779e9ed6c4798',
# Three lines of non-changing comments so that
# the commit queue can handle CLs rolling GN CIPD package version
# and whatever else without interference from each other.
'gn_version': 'git_revision:1c79e13d17a1760d6c6401c90061411842bd4881',
# Three lines of non-changing comments so that
# the commit queue can handle CLs rolling goldctl CIPD package version
# and whatever else without interference from each other.
'goldctl_version': 'git_revision:9379dad302e027bb42a09c353bfbac0166c8c845',
# Three lines of non-changing comments so that
# the commit queue can handle CLs rolling gtest
# and whatever else without interference from each other.
'gtest_revision': '4fe3307fb2d9f86d19777c7eb0e4809e9694dde7',
# Three lines of non-changing comments so that
# the commit queue can handle CLs rolling HarfBuzz
# and whatever else without interference from each other.
'harfbuzz_revision': '28f4dc622fef010dab12f4275ac195b5d4a4a704',
# Three lines of non-changing comments so that
# the commit queue can handle CLs rolling highway
# and whatever else without interference from each other.
'highway_revision': '2607d3b5b0113992fe84d3848859eae13b3b52c1',
# Three lines of non-changing comments so that
# the commit queue can handle CLs rolling icu
# and whatever else without interference from each other.
'icu_revision': 'd578f2e8b7bd5938e21cfb6bf15c079e0aa5b738',
# Three lines of non-changing comments so that
# the commit queue can handle CLs rolling instrumented_lib
# and whatever else without interference from each other.
'instrumented_lib_revision': 'd15c278eed5d38d9acf2d8054cf37baba93cef8e',
# Three lines of non-changing comments so that
# the commit queue can handle CLs rolling jinja2
# and whatever else without interference from each other.
'jinja2_revision': 'c3027d884967773057bf74b957e3fea87e5df4d7',
# Three lines of non-changing comments so that
# the commit queue can handle CLs rolling jpeg_turbo
# and whatever else without interference from each other.
'jpeg_turbo_revision': '640f254ad0fa03f6b1f29f89b7dd9366f2f6e533',
# Three lines of non-changing comments so that
# the commit queue can handle CLs rolling libc++
# and whatever else without interference from each other.
# If you change this, also update the libc++ revision in
# //buildtools/deps_revisions.gni.
'libcxx_revision': 'b16984ce99c702355a5b2b4c52574e82cec41fb9',
# Three lines of non-changing comments so that
# the commit queue can handle CLs rolling libc++abi
# and whatever else without interference from each other.
'libcxxabi_revision': '14cefa83943c62cf7c42f20bdf8c939c855a8b34',
# Three lines of non-changing comments so that
# the commit queue can handle CLs rolling libpng
# and whatever else without interference from each other.
'libpng_revision': '6d5341764ef4e38cbc07d35514a8aa73de50de8a',
# Three lines of non-changing comments so that
# the commit queue can handle CLs rolling libunwind
# and whatever else without interference from each other.
'libunwind_revision': 'ec7ac638dae6f39c950d4606809b81fdca815a19',
# Three lines of non-changing comments so that
# the commit queue can handle CLs rolling llvm-libc
# and whatever else without interference from each other.
'llvm_libc_revision': '6622df0b6261ceaccdbfe199040eb9d9e7166fe7',
# Three lines of non-changing comments so that
# the commit queue can handle CLs rolling markupsafe
# and whatever else without interference from each other.
'markupsafe_revision': '4256084ae14175d38a3ff7d739dca83ae49ccec6',
# Three lines of non-changing comments so that
# the commit queue can handle CLs rolling nasm_source
# and whatever else without interference from each other.
'nasm_source_revision': '525a09a813be0f75b646ee93fc2a31c27b87d722',
# Three lines of non-changing comments so that
# the commit queue can handle CLs rolling Ninja CIPD package version
# and whatever else without interference from each other.
'ninja_version': 'version:3@1.12.1.chromium.4',
# Three lines of non-changing comments so that
# the commit queue can handle CLs rolling partition_allocator
# and whatever else without interference from each other.
'partition_allocator_revision': '29013c81d1fa46475bdf6608d71a10b5ebab3f48',
# Three lines of non-changing comments so that
# the commit queue can handle CLs rolling pdfium_tests
# and whatever else without interference from each other.
'pdfium_tests_revision': 'd4ec3e1987a094b1eae612943b57782d3b0038ff',
# Three lines of non-changing comments so that
# the commit queue can handle CLs rolling result_adapter_revision
# and whatever else without interference from each other.
'result_adapter_revision': 'git_revision:5fb3ca203842fd691cab615453f8e5a14302a1d8',
# Three lines of non-changing comments so that
# the commit queue can handle CLs rolling rust
# and whatever else without interference from each other.
'rust_revision': '7c4e7d9b0e7c65639a375c3f0d338280ca0f28a4',
# Three lines of non-changing comments so that
# the commit queue can handle CLs rolling simdutf
# and whatever else without interference from each other.
'simdutf_revision': 'f7356eed293f8208c40b3c1b344a50bd70971983',
# Three lines of non-changing comments so that
# the commit queue can handle CLs rolling siso
# and whatever else without interference from each other.
'siso_version': 'git_revision:bc45e8f67ae0f37d337190ad64aa8bb440c791eb',
# Three lines of non-changing comments so that
# the commit queue can handle CLs rolling skia
# and whatever else without interference from each other.
'skia_revision': '7ef86a5b0eb91db85580bd71ebed3c4ba489d5ba',
# Three lines of non-changing comments so that
# the commit queue can handle CLs rolling test_fonts
# and whatever else without interference from each other.
'test_fonts_revision': '7f51783942943e965cd56facf786544ccfc07713',
# Three lines of non-changing comments so that
# the commit queue can handle CLs rolling testing_rust
# and whatever else without interference from each other.
'testing_rust_revision': '6712dc59f4a6c5626f391057cded3842700a17eb',
# Three lines of non-changing comments so that
# the commit queue can handle CLs rolling tools_memory
# and whatever else without interference from each other.
'tools_memory_revision': '8d3182bb3c86948e9e27fbfe11d2134c7e29c898',
# Three lines of non-changing comments so that
# the commit queue can handle CLs rolling tools_rust
# and whatever else without interference from each other.
'tools_rust_revision': '63b87afd75805d610ff67f540318664369932f0b',
# Three lines of non-changing comments so that
# the commit queue can handle CLs rolling tools_win_revision
# and whatever else without interference from each other.
'tools_win_revision': '45843c2c1e993427751e2a07f904db069dc26ad6',
# Three lines of non-changing comments so that
# the commit queue can handle CLs rolling v8
# and whatever else without interference from each other.
'v8_revision': 'caa723ab9c621fcec3534de035b08d35e2947760',
# Three lines of non-changing comments so that
# the commit queue can handle CLs rolling zlib
# and whatever else without interference from each other.
'zlib_revision': 'c5cc9edf8992ff36dfca3c2c4f6c8327a66b6782',
}
# Only these hosts are allowed for dependencies in this DEPS file.
# If you need to add a new host, and the new host is not in Chromium's DEPS
# file's allowed_hosts list, contact Chrome infrastructure team.
allowed_hosts = [
'chromium.googlesource.com',
'pdfium.googlesource.com',
'skia.googlesource.com',
# TODO(337061377): Move into a separate allowed gcs bucket list.
'chromium-browser-clang',
]
deps = {
'base/allocator/partition_allocator':
Var('chromium_git') +
'/chromium/src/base/allocator/partition_allocator.git@' +
Var('partition_allocator_revision'),
'build':
Var('chromium_git') + '/chromium/src/build.git@' + Var('build_revision'),
'buildtools':
Var('chromium_git') + '/chromium/src/buildtools.git@' +
Var('buildtools_revision'),
'buildtools/linux64': {
'packages': [
{
'package': 'gn/gn/linux-${{arch}}',
'version': Var('gn_version'),
}
],
'dep_type': 'cipd',
'condition': 'host_os == "linux"',
},
'buildtools/mac': {
'packages': [
{
'package': 'gn/gn/mac-${{arch}}',
'version': Var('gn_version'),
}
],
'dep_type': 'cipd',
'condition': 'host_os == "mac"',
},
'buildtools/reclient': {
'packages': [
{
'package': Var('reclient_package') + '${{platform}}',
'version': Var('reclient_version'),
}
],
'dep_type': 'cipd',
},
'buildtools/win': {
'packages': [
{
'package': 'gn/gn/windows-amd64',
'version': Var('gn_version'),
}
],
'dep_type': 'cipd',
'condition': 'host_os == "win"',
},
'testing/corpus': {
'url': Var('pdfium_git') + '/pdfium_tests@' + Var('pdfium_tests_revision'),
'condition': 'checkout_testing_corpus',
},
'testing/scripts/rust': {
'url': Var('chromium_git') + '/chromium/src/testing/scripts/rust.git@' +
Var('testing_rust_revision'),
'condition': 'checkout_rust',
},
'third_party/abseil-cpp':
Var('chromium_git') + '/chromium/src/third_party/abseil-cpp.git@' +
Var('abseil_revision'),
'third_party/android_toolchain/ndk': {
'packages': [
{
'package': 'chromium/third_party/android_toolchain/android_toolchain',
'version': 'version:' + Var('android_ndk_version'),
},
],
'condition': 'checkout_android_native_support',
'dep_type': 'cipd',
},
'third_party/brotli':
Var('chromium_git') + '/chromium/src/third_party/brotli.git@' +
Var('brotli_revision'),
'third_party/catapult': {
'url': Var('chromium_git') + '/catapult.git@' + Var('catapult_revision'),
'condition': 'checkout_android',
},
'third_party/clang-format/script':
Var('chromium_git') +
'/external/github.com/llvm/llvm-project/clang/tools/clang-format.git@' +
Var('clang_format_revision'),
'third_party/cpu_features/src': {
'url': Var('chromium_git') +
'/external/github.com/google/cpu_features.git@' +
Var('cpu_features_revision'),
'condition': 'checkout_android',
},
# Host platform package.
'third_party/cpython3/host': {
'packages': [
{
'package': 'infra/3pp/tools/cpython3/${{platform}}',
'version': Var('cpython3_version'),
},
],
'condition': 'non_git_source',
'dep_type': 'cipd',
},
# 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': 'non_git_source',
'dep_type': 'cipd',
},
'third_party/depot_tools':
Var('chromium_git') + '/chromium/tools/depot_tools.git@' +
Var('depot_tools_revision'),
'third_party/dragonbox/src':
Var('chromium_git') + '/external/github.com/jk-jeon/dragonbox.git@' +
Var('dragonbox_revision'),
'third_party/fast_float/src':
Var('chromium_git') + '/external/github.com/fastfloat/fast_float.git@' +
Var('fast_float_revision'),
'third_party/fp16/src': {
'url': Var('chromium_git') + '/external/github.com/Maratyszcza/FP16.git@' +
Var('fp16_revision'),
'condition': 'checkout_v8',
},
'third_party/freetype/src':
Var('chromium_git') + '/chromium/src/third_party/freetype2.git@' +
Var('freetype_revision'),
'third_party/googletest/src':
Var('chromium_git') + '/external/github.com/google/googletest.git@' +
Var('gtest_revision'),
'third_party/harfbuzz/src':
Var('chromium_git') + '/external/github.com/harfbuzz/harfbuzz.git@' +
Var('harfbuzz_revision'),
'third_party/highway/src': {
'url': Var('chromium_git') + '/external/github.com/google/highway.git@' +
Var('highway_revision'),
'condition': 'checkout_v8',
},
'third_party/icu':
Var('chromium_git') + '/chromium/deps/icu.git@' + Var('icu_revision'),
'third_party/instrumented_libs':
Var('chromium_git') +
'/chromium/third_party/instrumented_libraries.git@' +
Var('instrumented_lib_revision'),
'third_party/jinja2': {
'url': Var('chromium_git') + '/chromium/src/third_party/jinja2.git@' +
Var('jinja2_revision'),
'condition': 'checkout_v8',
},
'third_party/libc++/src':
Var('chromium_git') +
'/external/github.com/llvm/llvm-project/libcxx.git@' +
Var('libcxx_revision'),
'third_party/libc++abi/src':
Var('chromium_git') +
'/external/github.com/llvm/llvm-project/libcxxabi.git@' +
Var('libcxxabi_revision'),
'third_party/libunwind/src': {
'url': Var('chromium_git') +
'/external/github.com/llvm/llvm-project/libunwind.git@' +
Var('libunwind_revision'),
'condition': 'checkout_android',
},
'third_party/libjpeg_turbo':
Var('chromium_git') + '/chromium/deps/libjpeg_turbo.git@' +
Var('jpeg_turbo_revision'),
'third_party/libpng':
Var('chromium_git') + '/chromium/src/third_party/libpng.git@' +
Var('libpng_revision'),
'third_party/llvm-build/Release+Asserts': {
'dep_type': 'gcs',
'bucket': 'chromium-browser-clang',
'objects': [
{
# The Android libclang_rt.builtins libraries are currently only included in the Linux clang package.
'object_name': 'Linux_x64/clang-llvmorg-23-init-19482-g53d18800-2.tar.xz',
'sha256sum': '94940b8da1c3e7fec9020a75cfc4e852922a4d163dab8957e691a36ae5d49f0b',
'size_bytes': 59100444,
'generation': 1785366626567993,
'condition': '(host_os == "linux" or checkout_android) and non_git_source',
},
{
'object_name': 'Linux_x64/clang-tidy-llvmorg-23-init-19482-g53d18800-2.tar.xz',
'sha256sum': '355a938fd3ab277dee7b2df50264416a0ebbdfd101e4b6beb82cc176f0ae300d',
'size_bytes': 14809560,
'generation': 1785366626548898,
'condition': 'host_os == "linux" and checkout_clang_tidy and non_git_source',
},
{
'object_name': 'Linux_x64/clangd-llvmorg-23-init-19482-g53d18800-2.tar.xz',
'sha256sum': '7eab6663df18976874c774eb2dee38f79287ac2dbdd336fcda2d955438fe131a',
'size_bytes': 14988320,
'generation': 1785366626796669,
'condition': 'host_os == "linux" and checkout_clangd and non_git_source',
},
{
'object_name': 'Linux_x64/llvm-code-coverage-llvmorg-23-init-19482-g53d18800-2.tar.xz',
'sha256sum': '2cb5220dceb4be408c306537e83b323219ed0129cf3512fb4bbf49aa0c334b7f',
'size_bytes': 2332356,
'generation': 1785366626986503,
'condition': 'host_os == "linux" and checkout_clang_coverage_tools and non_git_source',
},
{
'object_name': 'Linux_x64/llvmobjdump-llvmorg-23-init-19482-g53d18800-2.tar.xz',
'sha256sum': '61ac1326d1fd10fe3527f1ca0ce78aa357923157442056eaa53a027931db986e',
'size_bytes': 5873792,
'generation': 1785366626833938,
'condition': '((checkout_linux or checkout_mac or checkout_android) and host_os == "linux") and non_git_source',
},
{
'object_name': 'Mac/clang-llvmorg-23-init-19482-g53d18800-2.tar.xz',
'sha256sum': '51350c8f6da5c92ab19b0b17a3cbc7762b960b29fd68530e9feb52eb5079ae19',
'size_bytes': 56088216,
'generation': 1785366628543558,
'condition': 'host_os == "mac" and host_cpu == "x64"',
},
{
'object_name': 'Mac/clang-mac-runtime-library-llvmorg-23-init-19482-g53d18800-2.tar.xz',
'sha256sum': '0105a7a2e8e6f4b88b6414756a5bfaa04e3cb1e678d29e3df367752a203edb6a',
'size_bytes': 1010844,
'generation': 1785366639043429,
'condition': 'checkout_mac and not host_os == "mac"',
},
{
'object_name': 'Mac/clang-tidy-llvmorg-23-init-19482-g53d18800-2.tar.xz',
'sha256sum': '66d4a4b66e5ad9bee6b6235e9a8fee213afa4c321232e897881c8e4dcf752d61',
'size_bytes': 14767916,
'generation': 1785366628634961,
'condition': 'host_os == "mac" and host_cpu == "x64" and checkout_clang_tidy',
},
{
'object_name': 'Mac/clangd-llvmorg-23-init-19482-g53d18800-2.tar.xz',
'sha256sum': '9866482056c17d3f5b4c13a693c6e7e8417c54e943cf00e58a82a51b65dfd183',
'size_bytes': 16714728,
'generation': 1785366628706685,
'condition': 'host_os == "mac" and host_cpu == "x64" and checkout_clangd',
},
{
'object_name': 'Mac/llvm-code-coverage-llvmorg-23-init-19482-g53d18800-2.tar.xz',
'sha256sum': 'baec5b697375914d0ec1a377f66a6ac3826aad0103de2d6258b8a88cf7dd5c02',
'size_bytes': 2372468,
'generation': 1785366629000854,
'condition': 'host_os == "mac" and host_cpu == "x64" and checkout_clang_coverage_tools',
},
{
'object_name': 'Mac/llvmobjdump-llvmorg-23-init-19482-g53d18800-2.tar.xz',
'sha256sum': 'ab7600041b0db44338b42c55b7ed1224edc10c96283d71e53a373820be9e62f9',
'size_bytes': 5790116,
'generation': 1785366628828288,
'condition': 'host_os == "mac" and host_cpu == "x64"',
},
{
'object_name': 'Mac_arm64/clang-llvmorg-23-init-19482-g53d18800-2.tar.xz',
'sha256sum': 'a9c5ab02bfdc07a6ad6c6711d884dccab1fdf52e05e71aa9328039cddaff3664',
'size_bytes': 47045224,
'generation': 1785366640567652,
'condition': 'host_os == "mac" and host_cpu == "arm64"',
},
{
'object_name': 'Mac_arm64/clang-tidy-llvmorg-23-init-19482-g53d18800-2.tar.xz',
'sha256sum': '51eea196d67444cc33613791193acba52803e0b57cdcbecd8135b4578674145e',
'size_bytes': 12837040,
'generation': 1785366640711645,
'condition': 'host_os == "mac" and host_cpu == "arm64" and checkout_clang_tidy',
},
{
'object_name': 'Mac_arm64/clangd-llvmorg-23-init-19482-g53d18800-2.tar.xz',
'sha256sum': '2e9c4180eaf40a5ffd4f26bfcb2c8b7172de1ad06bb81e98cfbec466cd5eabf9',
'size_bytes': 13199252,
'generation': 1785366640801569,
'condition': 'host_os == "mac" and host_cpu == "arm64" and checkout_clangd',
},
{
'object_name': 'Mac_arm64/llvm-code-coverage-llvmorg-23-init-19482-g53d18800-2.tar.xz',
'sha256sum': '9a2a764f9f2dbb46eba03ed29a87bf55b580a1f7e562ba4002056cb28e2c5902',
'size_bytes': 1999328,
'generation': 1785366641042033,
'condition': 'host_os == "mac" and host_cpu == "arm64" and checkout_clang_coverage_tools',
},
{
'object_name': 'Mac_arm64/llvmobjdump-llvmorg-23-init-19482-g53d18800-2.tar.xz',
'sha256sum': '39fad69229bd7f8b440809f74a711175f5f0ed3cc92c4d6f3652c0ca57e39c2e',
'size_bytes': 5546692,
'generation': 1785366640876543,
'condition': 'host_os == "mac" and host_cpu == "arm64"',
},
{
'object_name': 'Win/clang-llvmorg-23-init-19482-g53d18800-2.tar.xz',
'sha256sum': '0d42e6825a7b5cafb8b6d250e8aae3b9b1920f4cbc2fe4f5a8dd46154d95d25d',
'size_bytes': 51315536,
'generation': 1785366653133084,
'condition': 'host_os == "win"',
},
{
'object_name': 'Win/clang-tidy-llvmorg-23-init-19482-g53d18800-2.tar.xz',
'sha256sum': 'fbd7f3a0aa321c144542a3d97f702ae676306b837febfd7663a036929f8eb0d5',
'size_bytes': 14855356,
'generation': 1785366653263211,
'condition': 'host_os == "win" and checkout_clang_tidy',
},
{
'object_name': 'Win/clang-win-runtime-library-llvmorg-23-init-19482-g53d18800-2.tar.xz',
'sha256sum': 'da5135a86ba5a585abc6dfb38c38803a14e9a83cd39ceaac85eedef50f193a1d',
'size_bytes': 2622056,
'generation': 1785366663332782,
'condition': 'checkout_win and not host_os == "win"',
},
{
'object_name': 'Win/clangd-llvmorg-23-init-19482-g53d18800-2.tar.xz',
'sha256sum': '1e6d5c7e036b4740b7dabaca71e2e3e97a68477515ffc9faa10ba324781faa56',
'size_bytes': 15260276,
'generation': 1785366653344899,
'condition': 'host_os == "win" and checkout_clangd',
},
{
'object_name': 'Win/llvm-code-coverage-llvmorg-23-init-19482-g53d18800-2.tar.xz',
'sha256sum': '6d21c3aebf0238eb31dc8fe41c01f079dde57a06bf628cedca7ef94f4e9cbdcb',
'size_bytes': 2494100,
'generation': 1785366653543218,
'condition': 'host_os == "win" and checkout_clang_coverage_tools',
},
{
'object_name': 'Win/llvmobjdump-llvmorg-23-init-19482-g53d18800-2.tar.xz',
'sha256sum': 'ec5ac24513c7b650b27b638bc46c207b228072fd5cd7c45a86b988820c01ff95',
'size_bytes': 5940460,
'generation': 1785366653406139,
'condition': '(checkout_linux or checkout_mac or checkout_android) and host_os == "win"',
},
]
},
'third_party/llvm-libc/src':
Var('chromium_git') + '/external/github.com/llvm/llvm-project/libc.git@' +
Var('llvm_libc_revision'),
'third_party/markupsafe': {
'url': Var('chromium_git') + '/chromium/src/third_party/markupsafe.git@' +
Var('markupsafe_revision'),
'condition': 'checkout_v8',
},
'third_party/nasm':
Var('chromium_git') + '/chromium/deps/nasm.git@' +
Var('nasm_source_revision'),
'third_party/ninja': {
'packages': [
{
# https://chrome-infra-packages.appspot.com/p/infra/3pp/tools/ninja
'package': 'infra/3pp/tools/ninja/${{platform}}',
'version': Var('ninja_version'),
}
],
'dep_type': 'cipd',
},
'third_party/rust': {
'url': Var('chromium_git') + '/chromium/src/third_party/rust@' +
Var('rust_revision'),
'condition': 'checkout_rust',
},
'third_party/rust-toolchain': {
'dep_type': 'gcs',
'bucket': 'chromium-browser-clang',
'objects': [
{
'object_name': 'Linux_x64/rust-toolchain-b998449636a48e2c4a362809085b600a0174e1f2-6-llvmorg-23-init-19482-g53d18800.tar.xz',
'sha256sum': 'fa341a74b1567fe57af21aa7bccbdf3c0ec3b704fbb01829763faa5292eb4ddd',
'size_bytes': 274829308,
'generation': 1785459300476581,
'condition': 'host_os == "linux" and non_git_source',
},
{
'object_name': 'Mac/rust-toolchain-b998449636a48e2c4a362809085b600a0174e1f2-6-llvmorg-23-init-19482-g53d18800.tar.xz',
'sha256sum': 'd256ca6d43eb8131d78cd908dbc8b07e59acb67902497de324c60b85a6d94635',
'size_bytes': 262354296,
'generation': 1785459303542909,
'condition': 'host_os == "mac" and host_cpu == "x64"',
},
{
'object_name': 'Mac_arm64/rust-toolchain-b998449636a48e2c4a362809085b600a0174e1f2-6-llvmorg-23-init-19482-g53d18800.tar.xz',
'sha256sum': 'a23256540cd7c7c8668abdf4044f2ecc905881089a6b0ca6346a94a97887cc77',
'size_bytes': 246808776,
'generation': 1785459306444750,
'condition': 'host_os == "mac" and host_cpu == "arm64"',
},
{
'object_name': 'Win/rust-toolchain-b998449636a48e2c4a362809085b600a0174e1f2-6-llvmorg-23-init-19482-g53d18800.tar.xz',
'sha256sum': '57272886008b441fa229d2e9997b185fa5670bca7cf1f338a77a07d9bcc8eb49',
'size_bytes': 416157244,
'generation': 1785459309430367,
'condition': 'host_os == "win"',
},
],
},
'third_party/simdutf': {
'url': Var('chromium_git') + '/chromium/src/third_party/simdutf@' +
Var('simdutf_revision'),
},
'third_party/siso/cipd': {
'packages': [
{
'package': 'build/siso/${{platform}}',
'version': Var('siso_version'),
}
],
'dep_type': 'cipd',
},
'third_party/skia': {
'url': Var('skia_git') + '/skia.git@' + Var('skia_revision'),
'condition': 'checkout_skia',
},
'third_party/test_fonts':
Var('chromium_git') + '/chromium/src/third_party/test_fonts.git@' +
Var('test_fonts_revision'),
'third_party/zlib':
Var('chromium_git') + '/chromium/src/third_party/zlib.git@' +
Var('zlib_revision'),
'tools/clang':
Var('chromium_git') + '/chromium/src/tools/clang@' + Var('clang_revision'),
'tools/code_coverage':
Var('chromium_git') + '/chromium/src/tools/code_coverage.git@' +
Var('code_coverage_revision'),
'tools/memory':
Var('chromium_git') + '/chromium/src/tools/memory@' +
Var('tools_memory_revision'),
'tools/resultdb': {
'packages': [
{
'package': 'infra/tools/result_adapter/${{platform}}',
'version': Var('result_adapter_revision'),
},
],
'dep_type': 'cipd',
},
'tools/rust': {
'url': Var('chromium_git') + '/chromium/src/tools/rust@' +
Var('tools_rust_revision'),
'condition': 'checkout_rust',
},
'tools/skia_goldctl/linux': {
'packages': [
{
'package': 'skia/tools/goldctl/linux-amd64',
'version': Var('goldctl_version'),
}
],
'dep_type': 'cipd',
'condition': 'checkout_linux',
},
'tools/skia_goldctl/mac_amd64': {
'packages': [
{
'package': 'skia/tools/goldctl/mac-amd64',
'version': Var('goldctl_version'),
}
],
'dep_type': 'cipd',
'condition': 'checkout_mac',
},
'tools/skia_goldctl/mac_arm64': {
'packages': [
{
'package': 'skia/tools/goldctl/mac-arm64',
'version': Var('goldctl_version'),
}
],
'dep_type': 'cipd',
'condition': 'checkout_mac',
},
'tools/skia_goldctl/win': {
'packages': [
{
'package': 'skia/tools/goldctl/windows-amd64',
'version': Var('goldctl_version'),
}
],
'dep_type': 'cipd',
'condition': 'checkout_win',
},
'tools/win': {
'url': Var('chromium_git') + '/chromium/src/tools/win.git@' +
Var('tools_win_revision'),
'condition': 'checkout_win',
},
'v8': {
'url': Var('chromium_git') + '/v8/v8.git@' + Var('v8_revision'),
'condition': 'checkout_v8',
},
}
recursedeps = [
'build',
'buildtools',
'third_party/instrumented_libs',
]
include_rules = [
# Basic stuff that everyone can use.
# Note: public is not here because core cannot depend on public.
'+build/build_config.h',
'+constants',
'+testing',
# Abseil is allowed by default, but some features are banned. See Chromium's
# //styleguide/c++/c++-features.md.
'+third_party/abseil-cpp',
'-third_party/abseil-cpp/absl/algorithm/container.h',
'-third_party/abseil-cpp/absl/base/attributes.h',
'-third_party/abseil-cpp/absl/base/no_destructor.h',
'-third_party/abseil-cpp/absl/base/nullability.h',
'-third_party/abseil-cpp/absl/container/btree_map.h',
'-third_party/abseil-cpp/absl/container/btree_set.h',
'-third_party/abseil-cpp/absl/flags',
'-third_party/abseil-cpp/absl/functional/any_invocable.h',
'-third_party/abseil-cpp/absl/functional/bind_front.h',
'-third_party/abseil-cpp/absl/functional/function_ref.h',
'-third_party/abseil-cpp/absl/hash',
'-third_party/abseil-cpp/absl/log',
'-third_party/abseil-cpp/absl/random',
'-third_party/abseil-cpp/absl/status/statusor.h',
'-third_party/abseil-cpp/absl/strings',
'+third_party/abseil-cpp/absl/strings/ascii.h',
'+third_party/abseil-cpp/absl/strings/cord.h',
'+third_party/abseil-cpp/absl/strings/str_format.h',
'-third_party/abseil-cpp/absl/synchronization',
'-third_party/abseil-cpp/absl/time',
'-third_party/abseil-cpp/absl/types/any.h',
'-third_party/abseil-cpp/absl/types/optional.h',
'-third_party/abseil-cpp/absl/types/span.h',
'-third_party/abseil-cpp/absl/types/variant.h',
'-third_party/abseil-cpp/absl/utility/utility.h',
]
specific_include_rules = {
# Allow embedder tests to use public APIs.
r'(.*embeddertest\.cpp)': [
'+public',
]
}
hooks = [
{
# Ensure that the DEPS'd "depot_tools" has its self-update capability
# disabled.
'name': 'disable_depot_tools_selfupdate',
'pattern': '.',
'action': [ 'python3',
'third_party/depot_tools/update_depot_tools_toggle.py',
'--disable',
],
},
{
# Case-insensitivity for the Win SDK. Must run before win_toolchain below.
'name': 'ciopfs_linux',
'pattern': '.',
'condition': 'checkout_win and host_os == "linux"',
'action': [ 'python3',
'third_party/depot_tools/download_from_google_storage.py',
'--no_resume',
'--bucket', 'chromium-browser-clang/ciopfs',
'-s', 'build/ciopfs.sha1',
]
},
{
# Update the Windows toolchain if necessary. Must run before 'clang' below.
'name': 'win_toolchain',
'pattern': '.',
'condition': 'checkout_win',
'action': ['python3', 'build/vs_toolchain.py', 'update', '--force'],
},
{
# Update the Mac toolchain if necessary.
'name': 'mac_toolchain',
'pattern': '.',
'condition': 'checkout_mac',
'action': ['python3', 'build/mac_toolchain.py'],
},
# 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',
'--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',
'--bucket', 'chromium-browser-clang',
'-s', 'tools/clang/dsymutil/bin/dsymutil.x64.sha1',
'-o', 'tools/clang/dsymutil/bin/dsymutil',
],
},
{
'name': 'test_fonts',
'pattern': '.',
'action': [ 'python3',
'third_party/depot_tools/download_from_google_storage.py',
'--no_resume',
'--extract',
'--bucket', 'chromium-fonts',
'-s', 'third_party/test_fonts/test_fonts.tar.gz.sha1',
],
},
{
# Update LASTCHANGE.
'name': 'lastchange',
'pattern': '.',
'action': ['python3', 'build/util/lastchange.py',
'-o', 'build/util/LASTCHANGE'],
},
# Configure remote exec cfg files
{
# Use luci_auth if on windows and using chrome-untrusted project
'name': 'download_and_configure_reclient_cfgs',
'pattern': '.',
'condition': 'download_remoteexec_cfg and host_os == "win"',
'action': ['python3',
'buildtools/reclient_cfgs/configure_reclient_cfgs.py',
'--rbe_instance',
Var('rbe_instance'),
'--reproxy_cfg_template',
'reproxy.cfg.template',
'--rewrapper_cfg_project',
Var('rewrapper_cfg_project'),
'--use_luci_auth_credshelper',
'--quiet',
],
}, {
'name': 'download_and_configure_reclient_cfgs',
'pattern': '.',
'condition': 'download_remoteexec_cfg and not host_os == "win"',
'action': ['python3',
'buildtools/reclient_cfgs/configure_reclient_cfgs.py',
'--rbe_instance',
Var('rbe_instance'),
'--reproxy_cfg_template',
'reproxy.cfg.template',
'--rewrapper_cfg_project',
Var('rewrapper_cfg_project'),
'--quiet',
],
},
{
'name': 'configure_reclient_cfgs',
'pattern': '.',
'condition': 'not download_remoteexec_cfg',
'action': ['python3',
'buildtools/reclient_cfgs/configure_reclient_cfgs.py',
'--rbe_instance',
Var('rbe_instance'),
'--reproxy_cfg_template',
'reproxy.cfg.template',
'--rewrapper_cfg_project',
Var('rewrapper_cfg_project'),
'--skip_remoteexec_cfg_fetch',
'--quiet',
],
},
# Configure Siso for developer builds.
{
'name': 'configure_siso',
'pattern': '.',
'action': ['python3',
'build/config/siso/configure_siso.py',
'--rbe_instance',
Var('rbe_instance'),
],
},
]