blob: 355db5168b95b33a6627575baded8933fcafd32f [file]
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': 'a00d74bb55b38f213a3c6110b4bcab5bb565bd56',
# 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.16248370'),
# 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': 'ebdaeefa62db7c40f27cacb0eb034db3a5cdb849',
# 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': '64e87f9fbdaf6f53f6cff8f15e4b06f17cead514',
# 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': '9f796802e5d633c96dbe97e0b6683d5e62594f9f',
# 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': '52b22f34fa143721c794752f01fbd9f95e7692f0',
# 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': 'a81032f8d6f57774af865e502c5661cf24780ca2',
# 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': '36a8df4ad006eaa0572fb446edb8145fe5403592',
# 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': 'b0ab987b3dfdde13fa1915f65ef2a5c068d9208c',
# 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:841e072bef419ae1116477dc75e8c5a662c0212c',
# 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:63df9e9df52e8edfd3cd86b642ba79f440e96ecd',
# 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': 'ff36703b95013ec1d437e6038e1aa7c881275f4e',
# 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': '5aa526207171ecadf31597f0980a7b7ad8872f33',
# 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': '423262e4438b032c0ba5ea61f78a85ac3690298c',
# 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': '09351f6ec00c2b65f2d03585ae6da07098b024dc',
# 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': '0179a807421cf96731cdfa10008bba04fda243c1',
# 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': 'eb1ca4993b534b7d565daee144bbc7f9072b967b',
# 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': '14e51fd2cd7ec21294f18a3a0b2fc5339afea271',
# 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': 'dc6144ac93b23232ea8d2b931f661a917ad7d4fd',
# 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': '6a4136071608f159f45e274fed1b7d5f4272ca8f',
# 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': 'b8c38a533c84f01fe194fed455f1d53132b0cf36',
# 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:c574896b272b40aac6e44c228ee0b471ea7e3d7d',
# 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': '5b1a7f7c06448e5d5f38f3c9360b18cae315576e',
# 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': '9c16e2f4c17e384708c68ecc8596c80df5689b48',
# 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': '0732f7097d066a81e673f90862994f76886fc638',
# 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': 'e61a63fae23826e5bf5650a1bd7da255ba950577',
# 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': 'ae34cdd9867c5d2b185fadc9d4a9cc82bb741760',
# 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': 'e110f6a9dff3afca8b9e0836d10d1844d4a3dff2',
# 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': '285e94b8fa95ad3b7d16b80798ec8dce6febb8c8',
}
# 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-7747-g62397f8b-57.tar.xz',
'sha256sum': '9551f7013b0210e4d291bfe09191682796240d93002b4317673c7fc280045e62',
'size_bytes': 6207356,
'generation': 1790797384572756,
'condition': 'checkout_android and non_git_source',
},
{
'object_name': 'Linux_x64/clang-linux-runtime-library-llvmorg-24-init-7747-g62397f8b-57.tar.xz',
'sha256sum': '4e5a4831e4eec7408c0809d2033032d157fe82dc16b5096d32b6536ed4b8c43b',
'size_bytes': 3102700,
'generation': 1790797389651907,
'condition': 'checkout_linux and not host_os == "linux"',
},
{
'object_name': 'Linux_x64/clang-llvmorg-24-init-7747-g62397f8b-57.tar.xz',
'sha256sum': '878495372b935b667f84203f9f62529b6191ff1ac6ab40b9cdf482c84bd1ecab',
'size_bytes': 57260672,
'generation': 1790797381909597,
'condition': 'host_os == "linux" and non_git_source',
},
{
'object_name': 'Linux_x64/clang-tidy-llvmorg-24-init-7747-g62397f8b-57.tar.xz',
'sha256sum': '3815203f9987a08b1bf67555125d95a67c1136de074e6e7dbe11957d70cf784d',
'size_bytes': 14944572,
'generation': 1790797381856065,
'condition': 'host_os == "linux" and checkout_clang_tidy and non_git_source',
},
{
'object_name': 'Linux_x64/clangd-llvmorg-24-init-7747-g62397f8b-57.tar.xz',
'sha256sum': '84ee10cf3a4b4cccf9878c464f33eee756751920187d26dfc46481f195b0c177',
'size_bytes': 15081268,
'generation': 1790797381894014,
'condition': 'host_os == "linux" and checkout_clangd and non_git_source',
},
{
'object_name': 'Linux_x64/llvm-code-coverage-llvmorg-24-init-7747-g62397f8b-57.tar.xz',
'sha256sum': 'f9990e7dc5a3630c8a962726fac172eeff5c6012e027eb342e9df8bc702198c8',
'size_bytes': 2373504,
'generation': 1790797382242083,
'condition': 'host_os == "linux" and checkout_clang_coverage_tools and non_git_source',
},
{
'object_name': 'Linux_x64/llvmobjdump-llvmorg-24-init-7747-g62397f8b-57.tar.xz',
'sha256sum': 'ad3042a17255b065a75fa7f9d80be2eb07df0902bd762cec53b9f2f5c3beba87',
'size_bytes': 5925392,
'generation': 1790797381953168,
'condition': '((checkout_linux or checkout_mac or checkout_android) and host_os == "linux") and non_git_source',
},
{
'object_name': 'Mac/clang-llvmorg-24-init-7747-g62397f8b-57.tar.xz',
'sha256sum': 'eb03cb8b944dde55677427322bc5a8c6fa0cad4ceacba4653a42c6b1290fea2f',
'size_bytes': 53873488,
'generation': 1790797391417548,
'condition': 'host_os == "mac" and host_cpu == "x64"',
},
{
'object_name': 'Mac/clang-mac-runtime-library-llvmorg-24-init-7747-g62397f8b-57.tar.xz',
'sha256sum': '31569c5a0a8e133ea5033d3a462273ce65100e0402307319af644ee4fb78d77c',
'size_bytes': 978876,
'generation': 1790797399057345,
'condition': 'checkout_mac and not host_os == "mac"',
},
{
'object_name': 'Mac/clang-tidy-llvmorg-24-init-7747-g62397f8b-57.tar.xz',
'sha256sum': '5dc210d6e7a1f2d8decba74a475bef9457db132a7ae1f4cf0fc4b91fd008e146',
'size_bytes': 14224492,
'generation': 1790797391469624,
'condition': 'host_os == "mac" and host_cpu == "x64" and checkout_clang_tidy',
},
{
'object_name': 'Mac/clangd-llvmorg-24-init-7747-g62397f8b-57.tar.xz',
'sha256sum': 'f988b7dc66993f8612ac036b62828bcb29315ec9e6927331bf6a32bf986a5df7',
'size_bytes': 15131696,
'generation': 1790797391569653,
'condition': 'host_os == "mac" and host_cpu == "x64" and checkout_clangd',
},
{
'object_name': 'Mac/llvm-code-coverage-llvmorg-24-init-7747-g62397f8b-57.tar.xz',
'sha256sum': 'acb0db493e23a145f733a871ac868468932be7fb4988fe2b7b9b568e70c45682',
'size_bytes': 2260736,
'generation': 1790797391738507,
'condition': 'host_os == "mac" and host_cpu == "x64" and checkout_clang_coverage_tools',
},
{
'object_name': 'Mac/llvmobjdump-llvmorg-24-init-7747-g62397f8b-57.tar.xz',
'sha256sum': '85b912bf5182b5c7092ce92cdc58a35b5e3d04fa9a49514aa51b28bec4c277fc',
'size_bytes': 5524828,
'generation': 1790797391756333,
'condition': 'host_os == "mac" and host_cpu == "x64"',
},
{
'object_name': 'Mac_arm64/clang-llvmorg-24-init-7747-g62397f8b-57.tar.xz',
'sha256sum': 'bbf4ee5fc42bf134aee682d6afaaaddcc64415d20b080e349a45abf6df927070',
'size_bytes': 44508976,
'generation': 1790797400949995,
'condition': 'host_os == "mac" and host_cpu == "arm64"',
},
{
'object_name': 'Mac_arm64/clang-tidy-llvmorg-24-init-7747-g62397f8b-57.tar.xz',
'sha256sum': '35b3e2e5eee220259f7908eaf208507aba78f7cfb8dd990c9854558f056ad890',
'size_bytes': 12220676,
'generation': 1790797401142057,
'condition': 'host_os == "mac" and host_cpu == "arm64" and checkout_clang_tidy',
},
{
'object_name': 'Mac_arm64/clangd-llvmorg-24-init-7747-g62397f8b-57.tar.xz',
'sha256sum': '5dff03b1fdf59ffe374d6c55deb07c65791825737487a7ec2b39d80539144c6b',
'size_bytes': 12229100,
'generation': 1790797401064932,
'condition': 'host_os == "mac" and host_cpu == "arm64" and checkout_clangd',
},
{
'object_name': 'Mac_arm64/llvm-code-coverage-llvmorg-24-init-7747-g62397f8b-57.tar.xz',
'sha256sum': '1d92f7504529998f971fffbb2dd6214273ed3e6bcfe66e5ca9c1227856df5b4b',
'size_bytes': 1861564,
'generation': 1790797401395439,
'condition': 'host_os == "mac" and host_cpu == "arm64" and checkout_clang_coverage_tools',
},
{
'object_name': 'Mac_arm64/llvmobjdump-llvmorg-24-init-7747-g62397f8b-57.tar.xz',
'sha256sum': '0db8f38d5928777104b9d04fc4bcf9c19c17ea252a0745ca038565e3094be9d4',
'size_bytes': 5235388,
'generation': 1790797401139458,
'condition': 'host_os == "mac" and host_cpu == "arm64"',
},
{
'object_name': 'Win/clang-llvmorg-24-init-7747-g62397f8b-57.tar.xz',
'sha256sum': '86ac9f61c4350f17d7571e402d5fa5f2367015d72ea8efbc4e1e52e843c74fb0',
'size_bytes': 51822620,
'generation': 1790797410692058,
'condition': 'host_os == "win"',
},
{
'object_name': 'Win/clang-tidy-llvmorg-24-init-7747-g62397f8b-57.tar.xz',
'sha256sum': '7d428d76bf66dd603860270ba0a41e88bbbb66c32770aae541c3a6777a9eb57f',
'size_bytes': 15133896,
'generation': 1790797410629185,
'condition': 'host_os == "win" and checkout_clang_tidy',
},
{
'object_name': 'Win/clang-win-runtime-library-llvmorg-24-init-7747-g62397f8b-57.tar.xz',
'sha256sum': '0ea5939bf24f293c63621b81d90a88284b6d6563a51be1304b73d2cf92537ffc',
'size_bytes': 2652404,
'generation': 1790797418368249,
'condition': 'checkout_win and not host_os == "win"',
},
{
'object_name': 'Win/clangd-llvmorg-24-init-7747-g62397f8b-57.tar.xz',
'sha256sum': '70955f11ea7a22b25807d00b97351c3853d8a9b1e8d1d08c165bc015320858c1',
'size_bytes': 15434728,
'generation': 1790797563126146,
'condition': 'host_os == "win" and checkout_clangd',
},
{
'object_name': 'Win/llvm-code-coverage-llvmorg-24-init-7747-g62397f8b-57.tar.xz',
'sha256sum': 'b07c06d983817b4f98878bcc264825835efbd9e5548a18a7d6dfb7623b9c4024',
'size_bytes': 2527180,
'generation': 1790797410912461,
'condition': 'host_os == "win" and checkout_clang_coverage_tools',
},
{
'object_name': 'Win/llvmobjdump-llvmorg-24-init-7747-g62397f8b-57.tar.xz',
'sha256sum': '7b34bdb18311a40a234c19860b2c289f6cd7ce16f12d3a449dcf6db6dff043eb',
'size_bytes': 6010064,
'generation': 1790797410754258,
'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-1edd55dcfcd573872c727fa3e086369a71661ee0-1110-llvmorg-24-init-7747-g62397f8b.tar.xz',
'sha256sum': '1f5b945345630c2d5c91a53fd506af476d617b79f251c7ccd2bb707a1f0faa92',
'size_bytes': 275879080,
'generation': 1790798148502695,
'condition': 'host_os == "linux" and non_git_source',
},
{
'object_name': 'Mac/rust-toolchain-1edd55dcfcd573872c727fa3e086369a71661ee0-1110-llvmorg-24-init-7747-g62397f8b.tar.xz',
'sha256sum': 'd2ca8d43ebd3e5ce956cfa9e1e7a292cf3faedd0113550a047d08a5cff5d10bf',
'size_bytes': 263208960,
'generation': 1790798152115147,
'condition': 'host_os == "mac" and host_cpu == "x64"',
},
{
'object_name': 'Mac_arm64/rust-toolchain-1edd55dcfcd573872c727fa3e086369a71661ee0-1110-llvmorg-24-init-7747-g62397f8b.tar.xz',
'sha256sum': '68b2b16c3bf32a141fa6ba8e3c51887d6c8be44659b7b8f188d9af16543bf869',
'size_bytes': 247890912,
'generation': 1790798155770959,
'condition': 'host_os == "mac" and host_cpu == "arm64"',
},
{
'object_name': 'Win/rust-toolchain-1edd55dcfcd573872c727fa3e086369a71661ee0-1110-llvmorg-24-init-7747-g62397f8b.tar.xz',
'sha256sum': '630ccbd409fcef327cba0044bf72012f4023fab890a8db26c9731a03d5bdcb8e',
'size_bytes': 416254844,
'generation': 1790798159238637,
'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'),
],
},
]