blob: ad2b1855dc4ff4f4cb9e093db06627b86c4bc8ce [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_libpng',
'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"',
'checkout_libpng': True,
# 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': '435e7d977fb36fb47854a4c552c0706dad0bd7cf',
# 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.16138531'),
# 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': '2cd94c0abeada712aeea6906d99021913c9fc28d',
# 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': '6f6a5dbf04b734214f3b1f386567d101ec9d607e',
# 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': '50c971fc0958d8c1fb0adcc97f41b90042fa7c87',
# 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': '70510081984cfcdb14a15b3e08dfe9776dc7ed37',
# 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': '450d823868eaee61e2b2cb986e19aec287f16d58',
# 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': 'e1878fbb1ff79de75d54b6b57caa19a92b90079b',
# 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': '4800589f76dc62fbe523a74a59e0d4850a5dd7df',
# 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:150a9d6ba0aa7f407aa4feeabc5f03ce9aa7e04b',
# 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': '886fc1e645388080b72f6d9b06347533a0018045',
# 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': '8cc91d9b6ab9991802fd208ee03a69714fd0251c',
# 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': '97b436da4c33663581d394f4ee0a5977fc38c2f4',
# 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': 'fc1897a2c12aa27e703c3ed48b62eba8abf4ce19',
# 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': '45120ee2331193c3650acc9c427ed267fab31d62',
# 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': '320824188c37e5c28738b9652a0ca8087c934bc9',
# 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': '89615a645f0220fb03875111c2d9ae4dea9887d8',
# 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': '4dec6f65bcb34c4c289736b0e6fd571b35c6c665',
# 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:efbbe7f1892211b5e9512576843a3c247b6a6d7c',
# 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': '5549c93c9a1c66137ceed424f08c86ce9988290c',
# 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': 'ead1c91bc31ed99788b7d667d0325455c0fa2568',
# 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': '54d1148695dbbbfc3e00dfd05aff502acaa602e3',
# 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': '13cb6e5d223dc49eadd082d3aef4c2a5b0e4c0a0',
# 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': 'df65d5c8f2932045c5af72cd7ecd0c8002fa631e',
# 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/${{platform}}',
'version': 'version:' + Var('android_ndk_version'),
},
],
'condition': 'checkout_android_native_support and '
'((host_os == "linux" and host_cpu == "x64") or '
'(host_os == "mac" and host_cpu == "arm64"))',
'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': {
'url': Var('chromium_git') + '/chromium/src/third_party/libpng.git@' +
Var('libpng_revision'),
'condition': 'checkout_libpng',
},
'third_party/llvm-build/Release+Asserts': {
'dep_type': 'gcs',
'bucket': 'chromium-browser-clang',
'objects': [
{
'object_name': 'Linux_x64/clang-android-runtime-library-llvmorg-24-init-3796-g20e97c4b-4.tar.xz',
'sha256sum': '780597375163e78615a307a73ec66346b54c58ea3164aa6fbedf24eae85382fc',
'size_bytes': 6210856,
'generation': 1787607008868327,
'condition': 'checkout_android and non_git_source',
},
{
'object_name': 'Linux_x64/clang-llvmorg-24-init-3796-g20e97c4b-4.tar.xz',
'sha256sum': '565f7d980b31411e76d9478731cf3f0ac907a46f274d289ea7f03d9137354053',
'size_bytes': 56894668,
'generation': 1787607001504676,
'condition': 'host_os == "linux" and non_git_source',
},
{
'object_name': 'Linux_x64/clang-tidy-llvmorg-24-init-3796-g20e97c4b-4.tar.xz',
'sha256sum': '4290664a4fa8aa11fd1e6b2d3ff4965d26b41cca1a4950f9835ff19115c2384f',
'size_bytes': 14877500,
'generation': 1787607001575317,
'condition': 'host_os == "linux" and checkout_clang_tidy and non_git_source',
},
{
'object_name': 'Linux_x64/clangd-llvmorg-24-init-3796-g20e97c4b-4.tar.xz',
'sha256sum': '9db50937915608c466da28ba4166cfa69a5f6bcad346233e47807f532cc3075b',
'size_bytes': 15049952,
'generation': 1787607001603946,
'condition': 'host_os == "linux" and checkout_clangd and non_git_source',
},
{
'object_name': 'Linux_x64/llvm-code-coverage-llvmorg-24-init-3796-g20e97c4b-4.tar.xz',
'sha256sum': '34747a8e113c399daa36f75a5a0a4c0963871ceafbce7c49a3b5133f81a63bae',
'size_bytes': 2352288,
'generation': 1787607001865886,
'condition': 'host_os == "linux" and checkout_clang_coverage_tools and non_git_source',
},
{
'object_name': 'Linux_x64/llvmobjdump-llvmorg-24-init-3796-g20e97c4b-4.tar.xz',
'sha256sum': 'cc8a621ec8cc3c48471c90cf4ed88dcc56bfb403824eda10f8b55796abaec280',
'size_bytes': 5912568,
'generation': 1787607001713199,
'condition': '((checkout_linux or checkout_mac or checkout_android) and host_os == "linux") and non_git_source',
},
{
'object_name': 'Mac/clang-llvmorg-24-init-3796-g20e97c4b-4.tar.xz',
'sha256sum': 'ba2b707d83f7a19d81b9403b4ebe8e999d41ae35fead00a142f02b67e197fe2f',
'size_bytes': 56420628,
'generation': 1787607010939621,
'condition': 'host_os == "mac" and host_cpu == "x64"',
},
{
'object_name': 'Mac/clang-mac-runtime-library-llvmorg-24-init-3796-g20e97c4b-4.tar.xz',
'sha256sum': 'da06337f54ba4b36c79e0d379557832bf82b9c7e85fe8ef78a5b953567d98de1',
'size_bytes': 1012348,
'generation': 1787607018227451,
'condition': 'checkout_mac and not host_os == "mac"',
},
{
'object_name': 'Mac/clang-tidy-llvmorg-24-init-3796-g20e97c4b-4.tar.xz',
'sha256sum': 'ae5cbec1362517b6928162fddb9b160bd1c75e8fd90789718393e1cadf1342ae',
'size_bytes': 14882308,
'generation': 1787607010909866,
'condition': 'host_os == "mac" and host_cpu == "x64" and checkout_clang_tidy',
},
{
'object_name': 'Mac/clangd-llvmorg-24-init-3796-g20e97c4b-4.tar.xz',
'sha256sum': '73f5de0f007f8c588593d824147963ec770b66d487a707d1c377a06e34952d89',
'size_bytes': 16779464,
'generation': 1787607010899287,
'condition': 'host_os == "mac" and host_cpu == "x64" and checkout_clangd',
},
{
'object_name': 'Mac/llvm-code-coverage-llvmorg-24-init-3796-g20e97c4b-4.tar.xz',
'sha256sum': 'c47eb37873d3290cc95ba5f9027337895eeeaa199c3f70e63c5d09b710faf250',
'size_bytes': 2411184,
'generation': 1787607011184644,
'condition': 'host_os == "mac" and host_cpu == "x64" and checkout_clang_coverage_tools',
},
{
'object_name': 'Mac/llvmobjdump-llvmorg-24-init-3796-g20e97c4b-4.tar.xz',
'sha256sum': '4ddefa96f6aaa04ac502610fc736528f65dc3e1b997fc4a5380081937f6ffb1a',
'size_bytes': 5874672,
'generation': 1787607011035157,
'condition': 'host_os == "mac" and host_cpu == "x64"',
},
{
'object_name': 'Mac_arm64/clang-llvmorg-24-init-3796-g20e97c4b-4.tar.xz',
'sha256sum': '264d803970f9b58ddbdc90464ad82e54cef642c58ec371ba5356dfa7342ece4d',
'size_bytes': 47226204,
'generation': 1787607020088085,
'condition': 'host_os == "mac" and host_cpu == "arm64"',
},
{
'object_name': 'Mac_arm64/clang-tidy-llvmorg-24-init-3796-g20e97c4b-4.tar.xz',
'sha256sum': '3e02eae391e05018fb4e95d3c90b270688a5e3d5f5b31df6c59512e602478f36',
'size_bytes': 12960456,
'generation': 1787607020070956,
'condition': 'host_os == "mac" and host_cpu == "arm64" and checkout_clang_tidy',
},
{
'object_name': 'Mac_arm64/clangd-llvmorg-24-init-3796-g20e97c4b-4.tar.xz',
'sha256sum': 'a56514d09cfcb216efa297e5fecd51a2e248faf7db6edd2d444cfe78e0e219d3',
'size_bytes': 13320572,
'generation': 1787607020209265,
'condition': 'host_os == "mac" and host_cpu == "arm64" and checkout_clangd',
},
{
'object_name': 'Mac_arm64/llvm-code-coverage-llvmorg-24-init-3796-g20e97c4b-4.tar.xz',
'sha256sum': 'b593c509e8f4269cf4a16272f6eddcea0f9dd47f6f3fe39b9813041d0f96d4e3',
'size_bytes': 2031112,
'generation': 1787607020489366,
'condition': 'host_os == "mac" and host_cpu == "arm64" and checkout_clang_coverage_tools',
},
{
'object_name': 'Mac_arm64/llvmobjdump-llvmorg-24-init-3796-g20e97c4b-4.tar.xz',
'sha256sum': 'c67f5dba316d6367be8c153ede456fdbef0dfffad4da10aaf597ff967c07378c',
'size_bytes': 5610096,
'generation': 1787607020228775,
'condition': 'host_os == "mac" and host_cpu == "arm64"',
},
{
'object_name': 'Win/clang-llvmorg-24-init-3796-g20e97c4b-4.tar.xz',
'sha256sum': '166437ede456b3d7cf0d9317287511e47714f91da547dbde02992261aeef7174',
'size_bytes': 51467544,
'generation': 1787607030157700,
'condition': 'host_os == "win"',
},
{
'object_name': 'Win/clang-tidy-llvmorg-24-init-3796-g20e97c4b-4.tar.xz',
'sha256sum': '13cae70dfa207c9ec27e294f38b732b5c820ef637f48d24cc8b97f5f3a96e220',
'size_bytes': 15134360,
'generation': 1787607030186388,
'condition': 'host_os == "win" and checkout_clang_tidy',
},
{
'object_name': 'Win/clang-win-runtime-library-llvmorg-24-init-3796-g20e97c4b-4.tar.xz',
'sha256sum': '4ff9a06f5fc4a711103cd890e724ae4448d67873de438542f3ac6772e68d3c63',
'size_bytes': 2638196,
'generation': 1787607037249082,
'condition': 'checkout_win and not host_os == "win"',
},
{
'object_name': 'Win/clangd-llvmorg-24-init-3796-g20e97c4b-4.tar.xz',
'sha256sum': '17f1d575127724051099a778d77e609f650702248cf4e7ff3ec33b377053edd9',
'size_bytes': 15444040,
'generation': 1787607030301504,
'condition': 'host_os == "win" and checkout_clangd',
},
{
'object_name': 'Win/llvm-code-coverage-llvmorg-24-init-3796-g20e97c4b-4.tar.xz',
'sha256sum': '78aa6b2b9cf057077be6705b76e43ffed83e46e17ee86da1ab699340129b1aca',
'size_bytes': 2512968,
'generation': 1787607030493491,
'condition': 'host_os == "win" and checkout_clang_coverage_tools',
},
{
'object_name': 'Win/llvmobjdump-llvmorg-24-init-3796-g20e97c4b-4.tar.xz',
'sha256sum': '4b899193da883a447c75f057e3a94f5e7ab93e5df5724ad94cbd6bf82ea792b4',
'size_bytes': 5994644,
'generation': 1787607030276791,
'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-0913b18e489ac1011b580e31fa5559654be12bfc-2-llvmorg-24-init-3796-g20e97c4b.tar.xz',
'sha256sum': '4b131e81d157a97bcf454ad0fbb71bc2063b2a3708c858410c04201ef06134e5',
'size_bytes': 276314860,
'generation': 1786821088882867,
'condition': 'host_os == "linux" and non_git_source',
},
{
'object_name': 'Mac/rust-toolchain-0913b18e489ac1011b580e31fa5559654be12bfc-2-llvmorg-24-init-3796-g20e97c4b.tar.xz',
'sha256sum': '12ca849195c27495073ba52ae7126d8a4a9a5807cd7a0dc6ba6b6fa612302a6d',
'size_bytes': 264031896,
'generation': 1786821092536805,
'condition': 'host_os == "mac" and host_cpu == "x64"',
},
{
'object_name': 'Mac_arm64/rust-toolchain-0913b18e489ac1011b580e31fa5559654be12bfc-2-llvmorg-24-init-3796-g20e97c4b.tar.xz',
'sha256sum': 'fe128475561d7a51c797d1cb3ccea6f94fd770b167c8e0cc33bf75e7c25d8225',
'size_bytes': 248465344,
'generation': 1786821096222521,
'condition': 'host_os == "mac" and host_cpu == "arm64"',
},
{
'object_name': 'Win/rust-toolchain-0913b18e489ac1011b580e31fa5559654be12bfc-2-llvmorg-24-init-3796-g20e97c4b.tar.xz',
'sha256sum': '14bc9cea5e00cb191f58204ef44d68a6794f856a76f885c50298a12d052035bc',
'size_bytes': 414479372,
'generation': 1786821099612317,
'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'),
],
},
]