| # This file contains dependencies for WebRTC. | |
| gclient_gn_args_file = 'src/build/config/gclient_args.gni' | |
| gclient_gn_args = [ | |
| 'android_ndk_version', | |
| 'generate_location_tags', | |
| ] | |
| vars = { | |
| # Keep the Chromium default for these gn args. | |
| 'generate_location_tags': True, | |
| 'android_ndk_version': Str('2@30.0.16248370'), | |
| # By default, we should check out everything needed to run on the main | |
| # chromium waterfalls. More info at: crbug.com/570091. | |
| 'checkout_configuration': 'default', | |
| 'checkout_instrumented_libraries': 'checkout_linux and checkout_configuration == "default"', | |
| 'chromium_revision': '9cab2dfec8fcafd8d69e291ca6b00864a9e04215', | |
| # 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 clangd into the same bin/ directory as our clang binary. | |
| 'checkout_clangd': False, | |
| # Fetch clang-tidy into the same bin/ directory as our clang binary. | |
| 'checkout_clang_tidy': False, | |
| 'chromium_git': 'https://chromium.googlesource.com', | |
| # ResultDB version | |
| 'result_adapter_revision': 'git_revision:5fb3ca203842fd691cab615453f8e5a14302a1d8', | |
| # By default, download the fuchsia sdk from the public sdk directory. | |
| 'fuchsia_sdk_cipd_prefix': 'fuchsia/sdk/core/', | |
| 'fuchsia_version': 'version:34.20261029.4.1', | |
| # By default, download the fuchsia images from the fuchsia GCS bucket. | |
| 'fuchsia_images_bucket': 'fuchsia', | |
| 'checkout_fuchsia': False, | |
| # Since the images are hundreds of MB, default to only downloading the image | |
| # most commonly useful for developers. Bots and developers that need to use | |
| # other images can override this with additional images. | |
| 'checkout_fuchsia_boot_images': "terminal.x64", | |
| 'checkout_fuchsia_product_bundles': '"{checkout_fuchsia_boot_images}" != ""', | |
| # Fetch configuration files required for the 'use_remoteexec' gn arg | |
| 'download_remoteexec_cfg': False, | |
| # RBE instance to use for running remote builds | |
| 'rbe_instance': 'projects/rbe-webrtc-developer/instances/default_instance', | |
| # siso CIPD package version. | |
| 'siso_version': 'git_revision:3025be9c477069426f08b8235e9545d5b20afd0f', | |
| # CPython 3 CIPD package version for Siso hermetic toolchain. | |
| 'cpython3_version': 'version:3@3.11.9.chromium.38', | |
| # Android aapt2 CIPD package version. | |
| 'aapt2_version': 'version:2@9.6.0-alpha01-16666295', | |
| # ninja CIPD package. | |
| 'ninja_package': 'infra/3pp/tools/ninja/', | |
| # ninja CIPD package version | |
| # https://chrome-infra-packages.appspot.com/p/infra/3pp/tools/ninja | |
| 'ninja_version': 'version:3@1.12.1.chromium.4', | |
| # condition to allowlist deps for non-git-source processing. | |
| 'non_git_source': 'True', | |
| # This can be overridden, e.g. with custom_vars, to build clang from HEAD | |
| # instead of downloading the prebuilt pinned revision. | |
| 'llvm_force_head_revision': False, | |
| } | |
| deps = { | |
| 'src/build': | |
| 'https://chromium.googlesource.com/chromium/src/build@569517f2180e806d404c3a35b80cf2d95f98b5db', | |
| 'src/buildtools': | |
| 'https://chromium.googlesource.com/chromium/src/buildtools@c65dc4e8c262156a4a6f8731952711386d7067f3', | |
| # Gradle 6.6.1. Used for testing Android Studio project generation for WebRTC. | |
| 'src/examples/androidtests/third_party/gradle': { | |
| 'url': 'https://chromium.googlesource.com/external/github.com/gradle/gradle.git@f2d1fb54a951d8b11d25748e4711bec8d128d7e3', | |
| 'condition': 'checkout_android', | |
| }, | |
| 'src/ios': { | |
| 'url': 'https://chromium.googlesource.com/chromium/src/ios@65f9719fb0f4b6ef61b60b07d2c7bb6dea3bbc52', | |
| 'condition': 'checkout_ios', | |
| }, | |
| 'src/testing': | |
| 'https://chromium.googlesource.com/chromium/src/testing@72e33922a095d36abaa538b4614f44d7644ce907', | |
| 'src/third_party': | |
| 'https://chromium.googlesource.com/chromium/src/third_party@f422ae2537fdf7df479cd3c3e2177e0a37dbd791', | |
| 'src/buildtools/third_party/mold/cipd': { | |
| 'packages': [ | |
| { | |
| 'package': 'chromium/buildtools/third_party/mold/mold', | |
| 'version': 'w9QqZ-oP3GovA-zjOawYzb5yca-t47GbT-ejPa0BQmYC', | |
| }, | |
| ], | |
| 'condition': 'host_os == "linux" and non_git_source', | |
| 'dep_type': 'cipd', | |
| }, | |
| 'src/buildtools/linux64': { | |
| 'packages': [ | |
| { | |
| 'package': 'gn/gn/linux-${{arch}}', | |
| 'version': 'git_revision:ddc6c4ae595393d43b38e62f2e2baa7661af716f', | |
| } | |
| ], | |
| 'dep_type': 'cipd', | |
| 'condition': 'checkout_linux', | |
| }, | |
| 'src/buildtools/mac': { | |
| 'packages': [ | |
| { | |
| 'package': 'gn/gn/mac-${{arch}}', | |
| 'version': 'git_revision:ddc6c4ae595393d43b38e62f2e2baa7661af716f', | |
| } | |
| ], | |
| 'dep_type': 'cipd', | |
| 'condition': 'checkout_mac', | |
| }, | |
| 'src/buildtools/win': { | |
| 'packages': [ | |
| { | |
| 'package': 'gn/gn/windows-amd64', | |
| 'version': 'git_revision:ddc6c4ae595393d43b38e62f2e2baa7661af716f', | |
| } | |
| ], | |
| 'dep_type': 'cipd', | |
| 'condition': 'checkout_win', | |
| }, | |
| 'src/third_party/llvm-build/Release+Asserts': { | |
| 'dep_type': 'gcs', | |
| 'bucket': 'chromium-browser-clang', | |
| 'condition': 'not llvm_force_head_revision', | |
| 'objects': [ | |
| { | |
| 'object_name': 'Linux_x64/clang-android-runtime-library-llvmorg-24-init-17044-gc3223914-47.tar.xz', | |
| 'sha256sum': 'fce4d3a83109855ae9a84f1a6f028d044b6769800cdba1664cbddd34409e24c0', | |
| 'size_bytes': 6182336, | |
| 'generation': 1794868672418210, | |
| 'condition': 'checkout_android and non_git_source', | |
| }, | |
| { | |
| 'object_name': 'Linux_x64/clang-linux-runtime-library-llvmorg-24-init-17044-gc3223914-47.tar.xz', | |
| 'sha256sum': '88b41d3eafdd5febc619dc0c09b4ff1d68a6ee3f1937b472213cd64b6b2efe06', | |
| 'size_bytes': 3142968, | |
| 'generation': 1794868677693324, | |
| 'condition': 'checkout_linux and not host_os == "linux"', | |
| }, | |
| { | |
| 'object_name': 'Linux_x64/clang-llvmorg-24-init-17044-gc3223914-47.tar.xz', | |
| 'sha256sum': '5b48b726cd92de35ee50104ec8cd8ff190af50be8e7349c547b36a1852df5aa5', | |
| 'size_bytes': 58978608, | |
| 'generation': 1794868669800634, | |
| 'condition': '(host_os == "linux" or checkout_android) and non_git_source', | |
| }, | |
| { | |
| 'object_name': 'Linux_x64/clang-tidy-llvmorg-24-init-17044-gc3223914-47.tar.xz', | |
| 'sha256sum': 'f6f5e3dd5b80d85ae8246b16942a4244ecf35fb220e65e55cb9231a71805c686', | |
| 'size_bytes': 15225284, | |
| 'generation': 1794868669795383, | |
| 'condition': 'host_os == "linux" and checkout_clang_tidy and non_git_source', | |
| }, | |
| { | |
| 'object_name': 'Linux_x64/clangd-llvmorg-24-init-17044-gc3223914-47.tar.xz', | |
| 'sha256sum': 'edf1192097f96cd2873d368c3c34db3ad6c7ac3799c9e7f9f0cef2872b5323eb', | |
| 'size_bytes': 15587028, | |
| 'generation': 1794868669788296, | |
| 'condition': 'host_os == "linux" and checkout_clangd and non_git_source', | |
| }, | |
| { | |
| 'object_name': 'Linux_x64/llvm-code-coverage-llvmorg-24-init-17044-gc3223914-47.tar.xz', | |
| 'sha256sum': '6d4470bb1f9455db226aa59c520cd090ffc2eafa2356efc129ac8b55937a9c7a', | |
| 'size_bytes': 2436264, | |
| 'generation': 1794868670066824, | |
| 'condition': 'host_os == "linux" and checkout_clang_coverage_tools and non_git_source', | |
| }, | |
| { | |
| 'object_name': 'Linux_x64/llvmobjdump-llvmorg-24-init-17044-gc3223914-47.tar.xz', | |
| 'sha256sum': 'b8a3f5abb0272cf7c1804fc560c3e92ff194179b054d8cfc0a21be4ddcc3342f', | |
| 'size_bytes': 6031520, | |
| 'generation': 1794868669868478, | |
| 'condition': '((checkout_linux or checkout_mac or checkout_android) and host_os == "linux") and non_git_source', | |
| }, | |
| { | |
| 'object_name': 'Mac/clang-llvmorg-24-init-17044-gc3223914-47.tar.xz', | |
| 'sha256sum': '3627c11836b6b523740e60c433876e96c4f36da2d46c7889bd6eaf3aa32b840e', | |
| 'size_bytes': 55483392, | |
| 'generation': 1794868679526500, | |
| 'condition': 'host_os == "mac" and host_cpu == "x64"', | |
| }, | |
| { | |
| 'object_name': 'Mac/clang-mac-runtime-library-llvmorg-24-init-17044-gc3223914-47.tar.xz', | |
| 'sha256sum': '2d61eee9874eb1b834a9ba9c8f1d09d2b8d927bbbc739cb34a5168d974b1262f', | |
| 'size_bytes': 1285408, | |
| 'generation': 1794868686879433, | |
| 'condition': 'checkout_mac and not host_os == "mac"', | |
| }, | |
| { | |
| 'object_name': 'Mac/clang-tidy-llvmorg-24-init-17044-gc3223914-47.tar.xz', | |
| 'sha256sum': '4fdc070d5d2efbe56767583eaa06e1913bb9e9e74b6ea1baa0f7da2cac16439a', | |
| 'size_bytes': 14475760, | |
| 'generation': 1794868679574575, | |
| 'condition': 'host_os == "mac" and host_cpu == "x64" and checkout_clang_tidy', | |
| }, | |
| { | |
| 'object_name': 'Mac/clangd-llvmorg-24-init-17044-gc3223914-47.tar.xz', | |
| 'sha256sum': '78383abed3bb6640ec1d8f5969644aa596fb701eea3f4943e330404d069112dc', | |
| 'size_bytes': 15583452, | |
| 'generation': 1794868679585261, | |
| 'condition': 'host_os == "mac" and host_cpu == "x64" and checkout_clangd', | |
| }, | |
| { | |
| 'object_name': 'Mac/llvm-code-coverage-llvmorg-24-init-17044-gc3223914-47.tar.xz', | |
| 'sha256sum': '02abeb1c38cdd40ccb7eb5f8aa58590dad8d71fdfc6e83ada7984be050659864', | |
| 'size_bytes': 2315384, | |
| 'generation': 1794868679768658, | |
| 'condition': 'host_os == "mac" and host_cpu == "x64" and checkout_clang_coverage_tools', | |
| }, | |
| { | |
| 'object_name': 'Mac/llvmobjdump-llvmorg-24-init-17044-gc3223914-47.tar.xz', | |
| 'sha256sum': '6724214965067327b7ad58def5c586bc68b257d4bae9e142937e046d20d71061', | |
| 'size_bytes': 5597208, | |
| 'generation': 1794868679644760, | |
| 'condition': 'host_os == "mac" and host_cpu == "x64"', | |
| }, | |
| { | |
| 'object_name': 'Mac_arm64/clang-llvmorg-24-init-17044-gc3223914-47.tar.xz', | |
| 'sha256sum': '7b205d9d319c8413b345b4bfd8124cdeb9eda04b065432d62120d87a8ab375a2', | |
| 'size_bytes': 45561260, | |
| 'generation': 1794868688710861, | |
| 'condition': 'host_os == "mac" and host_cpu == "arm64"', | |
| }, | |
| { | |
| 'object_name': 'Mac_arm64/clang-tidy-llvmorg-24-init-17044-gc3223914-47.tar.xz', | |
| 'sha256sum': 'd4073a6b7469fb08ef477ec47cac7e18c4b6112e7e3aaf2378a9d1735241e615', | |
| 'size_bytes': 12350028, | |
| 'generation': 1794868688869344, | |
| 'condition': 'host_os == "mac" and host_cpu == "arm64" and checkout_clang_tidy', | |
| }, | |
| { | |
| 'object_name': 'Mac_arm64/clangd-llvmorg-24-init-17044-gc3223914-47.tar.xz', | |
| 'sha256sum': 'cd34998cf2ed0fed74de6718904610748bfc17cf1b934b83304022d9f0dd86dd', | |
| 'size_bytes': 12339776, | |
| 'generation': 1794868688847032, | |
| 'condition': 'host_os == "mac" and host_cpu == "arm64" and checkout_clangd', | |
| }, | |
| { | |
| 'object_name': 'Mac_arm64/llvm-code-coverage-llvmorg-24-init-17044-gc3223914-47.tar.xz', | |
| 'sha256sum': '515366cf2a0a47e8c64fe3b895af8e2bc55af4f7fc3a2d2fb2ed9704191cc553', | |
| 'size_bytes': 1902824, | |
| 'generation': 1794868689035742, | |
| 'condition': 'host_os == "mac" and host_cpu == "arm64" and checkout_clang_coverage_tools', | |
| }, | |
| { | |
| 'object_name': 'Mac_arm64/llvmobjdump-llvmorg-24-init-17044-gc3223914-47.tar.xz', | |
| 'sha256sum': '3959994bbaa2dab47530fbdf41be165305d65b912789813170c9b1005cfb5df1', | |
| 'size_bytes': 5275476, | |
| 'generation': 1794868688825744, | |
| 'condition': 'host_os == "mac" and host_cpu == "arm64"', | |
| }, | |
| { | |
| 'object_name': 'Win/clang-llvmorg-24-init-17044-gc3223914-47.tar.xz', | |
| 'sha256sum': '94935937927b9b4b9d5c8a4c0337d63f6d9d29a8644814392397304f71b87743', | |
| 'size_bytes': 53264572, | |
| 'generation': 1794868698418885, | |
| 'condition': 'host_os == "win"', | |
| }, | |
| { | |
| 'object_name': 'Win/clang-tidy-llvmorg-24-init-17044-gc3223914-47.tar.xz', | |
| 'sha256sum': 'f041c919f8f87b28b6e60d42e0727aab0932737a6d3628a9aa2a2d4f159e8966', | |
| 'size_bytes': 15517860, | |
| 'generation': 1794868698516842, | |
| 'condition': 'host_os == "win" and checkout_clang_tidy', | |
| }, | |
| { | |
| 'object_name': 'Win/clang-win-runtime-library-llvmorg-24-init-17044-gc3223914-47.tar.xz', | |
| 'sha256sum': '99ac582fe2c15dc7298476b55941ca106763d246848f53ad400de78119113f17', | |
| 'size_bytes': 2713444, | |
| 'generation': 1794868705983753, | |
| 'condition': 'checkout_win and not host_os == "win"', | |
| }, | |
| { | |
| 'object_name': 'Win/clangd-llvmorg-24-init-17044-gc3223914-47.tar.xz', | |
| 'sha256sum': '3093126ce4bb22b228ea05ca2b36cd5e2438a88a9192d3c47a247dfa624e3a11', | |
| 'size_bytes': 15974888, | |
| 'generation': 1794868698507495, | |
| 'condition': 'host_os == "win" and checkout_clangd', | |
| }, | |
| { | |
| 'object_name': 'Win/llvm-code-coverage-llvmorg-24-init-17044-gc3223914-47.tar.xz', | |
| 'sha256sum': '5315c82568debd2ea0e7543e8fb6cfcef03ae6ab1a51b2e52e53227a878cb8c6', | |
| 'size_bytes': 2617336, | |
| 'generation': 1794868698761423, | |
| 'condition': 'host_os == "win" and checkout_clang_coverage_tools', | |
| }, | |
| { | |
| 'object_name': 'Win/llvmobjdump-llvmorg-24-init-17044-gc3223914-47.tar.xz', | |
| 'sha256sum': '90b3cff793fdbb563fe5b59cea2f460f27242035630f13906c153c5c906224a3', | |
| 'size_bytes': 6135016, | |
| 'generation': 1794868698629785, | |
| 'condition': '(checkout_linux or checkout_mac or checkout_android) and host_os == "win"', | |
| }, | |
| ] | |
| }, | |
| # Update prebuilt Rust toolchain. | |
| 'src/third_party/rust-toolchain': { | |
| 'dep_type': 'gcs', | |
| 'bucket': 'chromium-browser-clang', | |
| 'objects': [ | |
| { | |
| 'object_name': 'Linux_x64/rust-toolchain-96a18bf5ffa2b24f9cf3d1c731a9eb121c1acad9-5-llvmorg-24-init-17044-gc3223914.tar.xz', | |
| 'sha256sum': '73e395668def3e0a488f5edffd3ccaeb86a99f0476ed06c04930c6895094b212', | |
| 'size_bytes': 287866428, | |
| 'generation': 1794385348294495, | |
| 'condition': 'host_os == "linux" and non_git_source', | |
| }, | |
| { | |
| 'object_name': 'Mac/rust-toolchain-96a18bf5ffa2b24f9cf3d1c731a9eb121c1acad9-5-llvmorg-24-init-17044-gc3223914.tar.xz', | |
| 'sha256sum': '0888daf1c1215ac4556028d7e6df7d5fa0c57336bff64c570a57f93fef0da565', | |
| 'size_bytes': 275787508, | |
| 'generation': 1794385352157176, | |
| 'condition': 'host_os == "mac" and host_cpu == "x64"', | |
| }, | |
| { | |
| 'object_name': 'Mac_arm64/rust-toolchain-96a18bf5ffa2b24f9cf3d1c731a9eb121c1acad9-5-llvmorg-24-init-17044-gc3223914.tar.xz', | |
| 'sha256sum': '64a506650c18e57eeae11d493c41faf3a712885b7b65d993f4c76eac7f0498b7', | |
| 'size_bytes': 259550672, | |
| 'generation': 1794385356196372, | |
| 'condition': 'host_os == "mac" and host_cpu == "arm64"', | |
| }, | |
| { | |
| 'object_name': 'Win/rust-toolchain-96a18bf5ffa2b24f9cf3d1c731a9eb121c1acad9-5-llvmorg-24-init-17044-gc3223914.tar.xz', | |
| 'sha256sum': 'c3c1f2e465ed50a67e2ba5c5579c3df46e2fb445ccb73d063869087972d84e1c', | |
| 'size_bytes': 427637256, | |
| 'generation': 1794385360031394, | |
| 'condition': 'host_os == "win"', | |
| }, | |
| ], | |
| }, | |
| 'src/third_party/clang-format/script': | |
| 'https://chromium.googlesource.com/external/github.com/llvm/llvm-project/clang/tools/clang-format.git@0ca48e889615842946cdcc09c4e7ee976dc36444', | |
| 'src/third_party/compiler-rt/src': | |
| 'https://chromium.googlesource.com/external/github.com/llvm/llvm-project/compiler-rt.git@33ddfa2c98a7f0324d6a2ccf7abfed22d7041706', | |
| 'src/third_party/libc++/src': | |
| 'https://chromium.googlesource.com/external/github.com/llvm/llvm-project/libcxx.git@64f64c14ae2f4653af875bd172462a4c5e6afe18', | |
| 'src/third_party/libc++abi/src': | |
| 'https://chromium.googlesource.com/external/github.com/llvm/llvm-project/libcxxabi.git@8e42446dd61148a66220123297964bd3856e7cf9', | |
| 'src/third_party/llvm-libc/src': | |
| 'https://chromium.googlesource.com/external/github.com/llvm/llvm-project/libc.git@ee59b6225e1d6daa2df04a86b4efe22d58e68f42', | |
| 'src/third_party/libunwind/src': | |
| 'https://chromium.googlesource.com/external/github.com/llvm/llvm-project/libunwind.git@9e44ea2ff4f53a60c2a3d2b6f511d7bab9ab12f0', | |
| 'src/third_party/test_fonts/test_fonts': { | |
| 'dep_type': 'gcs', | |
| 'condition': 'non_git_source', | |
| 'bucket': 'chromium-fonts', | |
| 'objects': [ | |
| { | |
| 'object_name': '9c07d19d9c5ee1ff94f717e6fb17e0c8c354e6f9', | |
| 'sha256sum': 'f0e9628f9e43e3f3476cde06a1849058de460e0e037b7449ce0d42b9a73c37d5', | |
| 'size_bytes': 33413117, | |
| 'generation': 1775663926405386, | |
| }, | |
| ], | |
| }, | |
| 'src/third_party/ninja': { | |
| 'packages': [ | |
| { | |
| 'package': Var('ninja_package') + '${{platform}}', | |
| 'version': Var('ninja_version'), | |
| } | |
| ], | |
| 'condition': 'non_git_source', | |
| 'dep_type': 'cipd', | |
| }, | |
| 'src/third_party/siso/cipd': { | |
| 'packages': [ | |
| { | |
| 'package': 'build/siso/${{platform}}', | |
| 'version': Var('siso_version'), | |
| } | |
| ], | |
| 'condition': 'non_git_source', | |
| 'dep_type': 'cipd', | |
| }, | |
| 'src/third_party/android_system_sdk/cipd': { | |
| 'packages': [ | |
| { | |
| 'package': 'chromium/third_party/android_system_sdk/public', | |
| 'version': 'QAcOcO9AlzRvhHOaFCxeQAcdO3qiFPwxUHXUIlSbw3kC', | |
| }, | |
| ], | |
| 'condition': 'checkout_android and non_git_source', | |
| 'dep_type': 'cipd', | |
| }, | |
| 'src/tools/resultdb': { | |
| 'packages': [ | |
| { | |
| 'package': 'infra/tools/result_adapter/${{platform}}', | |
| 'version': Var('result_adapter_revision'), | |
| }, | |
| ], | |
| 'dep_type': 'cipd', | |
| }, | |
| 'src/third_party/android_build_tools/aapt2/cipd': { | |
| 'packages': [ | |
| { | |
| 'package': 'chromium/third_party/android_build_tools/aapt2/${{platform}}', | |
| 'version': Var('aapt2_version'), | |
| }, | |
| ], | |
| 'condition': 'checkout_android and non_git_source and ' | |
| '((host_os == "linux" and host_cpu == "x64") or ' | |
| '(host_os == "mac" and host_cpu == "arm64"))', | |
| 'dep_type': 'cipd', | |
| }, | |
| # Resources are compiled on Linux workers under remote execution, so | |
| # non-Linux hosts also need the Linux aapt2. | |
| 'src/third_party/android_build_tools/aapt2/linux-amd64': { | |
| 'packages': [ | |
| { | |
| 'package': 'chromium/third_party/android_build_tools/aapt2/linux-amd64', | |
| 'version': Var('aapt2_version'), | |
| }, | |
| ], | |
| 'condition': 'checkout_android and non_git_source and host_os != "linux"', | |
| 'dep_type': 'cipd', | |
| }, | |
| 'src/third_party/android_build_tools/bundletool/cipd': { | |
| 'packages': [ | |
| { | |
| 'package': 'chromium/third_party/android_build_tools/bundletool', | |
| 'version': '7Vo6ZzIxIaC51ATTBlo_KUkgxJCmmGmXAijlVkXUTpAC', | |
| }, | |
| ], | |
| 'condition': 'checkout_android', | |
| 'dep_type': 'cipd', | |
| }, | |
| 'src/third_party/android_build_tools/error_prone/cipd': { | |
| 'packages': [ | |
| { | |
| 'package': 'chromium/third_party/android_build_tools/error_prone', | |
| 'version': 'wqecn-5yDD_McOUmzP4SK1V2nraSwmyxLeSrywmWXv0C', | |
| }, | |
| ], | |
| 'condition': 'checkout_android', | |
| 'dep_type': 'cipd', | |
| }, | |
| 'src/third_party/android_build_tools/error_prone_javac/cipd': { | |
| 'packages': [ | |
| { | |
| 'package': 'chromium/third_party/android_build_tools/error_prone_javac', | |
| 'version': '7EcHxlEXEaLRWEyHIAxf0ouPjkmN1Od6jkutuo0sfBIC', | |
| }, | |
| ], | |
| 'condition': 'checkout_android', | |
| 'dep_type': 'cipd', | |
| }, | |
| 'src/third_party/android_build_tools/lint/cipd': { | |
| 'packages': [ | |
| { | |
| 'package': 'chromium/third_party/android_build_tools/lint', | |
| 'version': 'QDXhbhtPZ_WhtHWpDd_Lg4bMw86woaGBZFw2obo6TeoC', | |
| }, | |
| ], | |
| 'condition': 'checkout_android and non_git_source', | |
| 'dep_type': 'cipd', | |
| }, | |
| 'src/third_party/aosp_dalvik/cipd': { | |
| 'packages': [ | |
| { | |
| 'package': 'chromium/third_party/aosp_dalvik/linux-amd64', | |
| 'version': 'version:2@13.0.0_r24.cr1', | |
| }, | |
| ], | |
| 'condition': 'checkout_android and non_git_source', | |
| 'dep_type': 'cipd', | |
| }, | |
| 'src/third_party/boringssl/src': | |
| 'https://boringssl.googlesource.com/boringssl.git@ebd922adc708a48b0cccfcdf81e854a3fdc1b7b6', | |
| 'src/third_party/breakpad/breakpad': | |
| 'https://chromium.googlesource.com/breakpad/breakpad.git@d9901400606df699508f7cd3a20d00ece7aedab0', | |
| 'src/third_party/catapult': | |
| 'https://chromium.googlesource.com/catapult.git@6e8c156cb5743122a3bea59a0665384c52f7e00b', | |
| 'src/third_party/ced/src': { | |
| 'url': 'https://chromium.googlesource.com/external/github.com/google/compact_enc_det.git@d127078cedef9c6642cbe592dacdd2292b50bb19', | |
| }, | |
| 'src/third_party/colorama/src': | |
| 'https://chromium.googlesource.com/external/colorama.git@3de9f013df4b470069d03d250224062e8cf15c49', | |
| 'src/third_party/cpu_features/src': { | |
| 'url': 'https://chromium.googlesource.com/external/github.com/google/cpu_features.git@81d13c49649f0714dd41fb56bb246398b6584085', | |
| 'condition': 'checkout_android', | |
| }, | |
| 'src/third_party/crc32c/src': | |
| 'https://chromium.googlesource.com/external/github.com/google/crc32c.git@2bbb3be42e20a0e6c0f7b39dc07dc863d9ffbc07', | |
| 'src/third_party/depot_tools': | |
| 'https://chromium.googlesource.com/chromium/tools/depot_tools.git@fed8b43f48c4f4c2ac0c34aafbf0ec07a4e600cb', | |
| 'src/third_party/ffmpeg': | |
| 'https://chromium.googlesource.com/chromium/third_party/ffmpeg.git@09dee08662c5d06155391829174a8fd2e8c0556d', | |
| 'src/third_party/flatbuffers/src': | |
| 'https://chromium.googlesource.com/external/github.com/google/flatbuffers.git@a86afae9399bbe631d1ea0783f8816e780e236cc', | |
| # Used for embedded builds. CrOS & Linux use the system version. | |
| 'src/third_party/fontconfig/src': { | |
| 'url': 'https://chromium.googlesource.com/external/fontconfig.git@bb21be622280981392c0335fc22202fbba46d247', | |
| 'condition': 'checkout_linux', | |
| }, | |
| 'src/third_party/freetype/src': | |
| 'https://chromium.googlesource.com/chromium/src/third_party/freetype2.git@6065d6a40effdef3d5756642378c2b683dfc51d5', | |
| 'src/third_party/harfbuzz/src': | |
| 'https://chromium.googlesource.com/external/github.com/harfbuzz/harfbuzz.git@8aef2337b5fd3b9fc53d33b32db95ebf422d1e6c', | |
| 'src/third_party/google_benchmark/src': { | |
| 'url': 'https://chromium.googlesource.com/external/github.com/google/benchmark.git@a6b4a9f00b36c19af9997d68a1cf6e0b5b3d032c', | |
| }, | |
| 'src/third_party/libpfm4/src': | |
| Var('chromium_git') + '/external/git.code.sf.net/p/perfmon2/libpfm4.git' + '@' + '186a658c3e1e49b0ee3da414a7db8ba971a00cb5', | |
| # WebRTC-only dependency (not present in Chromium). | |
| 'src/third_party/gtest-parallel': | |
| 'https://chromium.googlesource.com/external/github.com/google/gtest-parallel@cd488bdedc1d2cffb98201a17afc1b298b0b90f1', | |
| 'src/third_party/google-truth/src': { | |
| 'url': 'https://chromium.googlesource.com/external/github.com/google/truth.git@8931d65997b243689888da8daf7561bedf63d848', | |
| 'condition': 'checkout_android', | |
| }, | |
| 'src/third_party/googletest/src': | |
| 'https://chromium.googlesource.com/external/github.com/google/googletest.git@a46a6012a133c7c0929fdae55b321c2fe65f3c5f', | |
| # Always download Linux x64 package regardless of host OS for RBE workers. | |
| 'src/third_party/cpython3/linux-amd64': { | |
| 'packages': [ | |
| { | |
| 'package': 'infra/3pp/tools/cpython3/linux-amd64', | |
| 'version': Var('cpython3_version'), | |
| }, | |
| ], | |
| 'condition': 'non_git_source', | |
| 'dep_type': 'cipd', | |
| }, | |
| # Host platform package. ${platform} folder is not used as in .gn the variable | |
| # is not initialized yet by the time Python is required. | |
| 'src/third_party/cpython3/host': { | |
| 'packages': [ | |
| { | |
| 'package': 'infra/3pp/tools/cpython3/${{platform}}', | |
| 'version': Var('cpython3_version'), | |
| }, | |
| ], | |
| 'condition': 'non_git_source', | |
| 'dep_type': 'cipd', | |
| }, | |
| 'src/third_party/icu': { | |
| 'url': 'https://chromium.googlesource.com/chromium/deps/icu.git@d3c612f4414600bd06a68db89944df130b5bc248', | |
| }, | |
| 'src/third_party/jdk/current': { | |
| 'packages': [ | |
| { | |
| 'package': 'chromium/third_party/jdk/${{platform}}', | |
| 'version': 'version:2@jdk-25.0.5+8.f32c55fd1a.cr0', | |
| }, | |
| ], | |
| # Needed on Linux for use on chromium_presubmit (for checkstyle). | |
| 'condition': '(checkout_android or checkout_linux) and non_git_source', | |
| 'dep_type': 'cipd', | |
| }, | |
| # Deprecated - only use for tools which are broken real JDK. | |
| # Not used by WebRTC. Added for compatibility with Chromium. | |
| 'src/third_party/jdk11': { | |
| 'packages': [ | |
| { | |
| 'package': 'chromium/third_party/jdk', | |
| # Do not update this hash - any newer hash will point to JDK17+. | |
| 'version': 'egbcSHbmF1XZQbKxp_PQiGLFWlQK65krTGqQE-Bj4j8C', | |
| }, | |
| ], | |
| 'condition': 'checkout_android', | |
| 'dep_type': 'cipd', | |
| }, | |
| 'src/third_party/jsoncpp/src': | |
| 'https://chromium.googlesource.com/external/github.com/open-source-parsers/jsoncpp.git@93acc7b155048f1a66c43235cc205519f1e7a6ea', | |
| 'src/third_party/junit/src': { | |
| 'url': 'https://chromium.googlesource.com/external/junit.git@890f3c972647de378f25e7271d8fbbd9d3456b79', | |
| 'condition': 'checkout_android', | |
| }, | |
| 'src/third_party/kotlinc/current': { | |
| 'packages': [ | |
| { | |
| 'package': 'chromium/third_party/kotlinc', | |
| 'version': 'KONJL1FlbaajWlp8EaVhvWdfCn9vgR-sXxgXdgB5UzwC', | |
| }, | |
| ], | |
| 'condition': 'checkout_android', | |
| 'dep_type': 'cipd', | |
| }, | |
| 'src/third_party/libFuzzer/src': | |
| 'https://chromium.googlesource.com/external/github.com/llvm/llvm-project/compiler-rt/lib/fuzzer.git@c7ea90fb61105752fa78e257e77a7c5d62fff7d3', | |
| 'src/third_party/fuzztest/src': | |
| 'https://chromium.googlesource.com/external/github.com/google/fuzztest.git@5f4474e9d9286e9cf40e309979abe19069d8acde', | |
| 'src/third_party/libprotobuf-mutator/src': | |
| Var('chromium_git') + '/external/github.com/google/libprotobuf-mutator.git@a0448e5055e4740774e00d496f016d9fcd572200', | |
| 'src/third_party/libjpeg_turbo': | |
| 'https://chromium.googlesource.com/chromium/deps/libjpeg_turbo.git@640f254ad0fa03f6b1f29f89b7dd9366f2f6e533', | |
| 'src/third_party/libsrtp': | |
| 'https://chromium.googlesource.com/chromium/deps/libsrtp.git@cd5d177bf1fde755ddb4c7f0d9ff7693f8b49e5e', | |
| 'src/third_party/dav1d/libdav1d': | |
| 'https://chromium.googlesource.com/external/github.com/videolan/dav1d.git@4e3ab21fbbf84a4bd283ea27f96287fcd7c228c1', | |
| 'src/third_party/libaom/source/libaom': | |
| 'https://aomedia.googlesource.com/aom.git@b98ccec5779f836f37e75a1baae1114dad44626e', | |
| 'src/third_party/libgav1/src': | |
| Var('chromium_git') + '/codecs/libgav1.git' + '@' + 'f04f53c2004fc0d6b727b3bde3725ad90ac05fc8', | |
| 'src/third_party/perfetto': | |
| Var('chromium_git') + '/external/github.com/google/perfetto.git' + '@' + '28f372fdc9ee34d59588d070b7174389177cbad7', | |
| 'src/third_party/protobuf-javascript/src': | |
| Var('chromium_git') + '/external/github.com/protocolbuffers/protobuf-javascript' + '@' + 'eb59fef711c3d090d54b988b99b7c067d6b7e3a8', | |
| 'src/third_party/libvpx/source/libvpx': | |
| 'https://chromium.googlesource.com/webm/libvpx.git@7e000a41a7727d5b9477dbbe5727431560d6a16c', | |
| 'src/third_party/libyuv': | |
| 'https://chromium.googlesource.com/libyuv/libyuv.git@1e2e3a35993609da1d89ac170b907719d555f4b3', | |
| 'src/third_party/lss': { | |
| 'url': 'https://chromium.googlesource.com/linux-syscall-support.git@29164a80da4d41134950d76d55199ea33fbb9613', | |
| 'condition': 'checkout_android or checkout_linux', | |
| }, | |
| 'src/third_party/mockito/src': { | |
| 'url': 'https://chromium.googlesource.com/external/mockito/mockito.git@04a2a289a4222f80ad20717c25144981210d2eac', | |
| 'condition': 'checkout_android', | |
| }, | |
| 'src/third_party/instrumented_libs': { | |
| 'url': Var('chromium_git') + '/chromium/third_party/instrumented_libraries.git' + '@' + '490c778c3a20405a7bfbe42bc426e5d18e5b3bab', | |
| 'condition': 'checkout_instrumented_libraries', | |
| }, | |
| # Used by boringssl. | |
| 'src/third_party/nasm': { | |
| 'url': 'https://chromium.googlesource.com/chromium/deps/nasm.git@54b1dcf7995006337c54f6862fd6f77a01e23e4e' | |
| }, | |
| 'src/third_party/openh264/src': | |
| 'https://chromium.googlesource.com/external/github.com/cisco/openh264@1bca62311e447fd9c39fc93de2c4b96cd5ce971c', | |
| 'src/third_party/re2/src': | |
| 'https://chromium.googlesource.com/external/github.com/google/re2.git@2da0056814cf180480a19f5cf811e7e1c054bf6d', | |
| 'src/third_party/sframe/src': | |
| Var('chromium_git') + '/external/github.com/cisco/sframe' + '@' + '6a37f061f4eda0c6594c91ecf99b5ff498c8c124', | |
| 'src/third_party/r8/cipd': { | |
| 'packages': [ | |
| { | |
| 'package': 'chromium/third_party/r8', | |
| 'version': 'vMXo8FE4TSWzj4RY5A3YdCPd9IGPuwQx6Md3WNquvOUC', | |
| }, | |
| ], | |
| 'condition': 'checkout_android', | |
| 'dep_type': 'cipd', | |
| }, | |
| 'src/third_party/android_build_tools/signflinger/cipd': { | |
| 'packages': [ | |
| { | |
| 'package': 'chromium/third_party/android_build_tools/signflinger', | |
| 'version': 'sR382zqUwar3urYhP_Zf4n9TGzyuJQRGJznAtGCSGOUC', | |
| }, | |
| ], | |
| 'condition': 'checkout_android and non_git_source', | |
| 'dep_type': 'cipd', | |
| }, | |
| 'src/third_party/requests/src': { | |
| 'url': 'https://chromium.googlesource.com/external/github.com/kennethreitz/requests.git@c2b307dbefe21177af03f9feb37181a89a799fcc', | |
| 'condition': 'checkout_android', | |
| }, | |
| 'src/tools': | |
| 'https://chromium.googlesource.com/chromium/src/tools@be178b6ee9d1eee4320644f5966429f0041a0cc2', | |
| 'src/third_party/espresso': { | |
| 'packages': [ | |
| { | |
| 'package': 'chromium/third_party/espresso', | |
| 'version': '5LoBT0j383h_4dXbnap7gnNQMtMjpbMJD1JaGIYNj-IC', | |
| }, | |
| ], | |
| 'condition': 'checkout_android', | |
| 'dep_type': 'cipd', | |
| }, | |
| 'src/third_party/hamcrest/cipd': { | |
| 'packages': [ | |
| { | |
| 'package': 'chromium/third_party/hamcrest', | |
| 'version': 'dBioOAmFJjqAr_DY7dipbXdVfAxUQwjOBNibMPtX8lQC', | |
| }, | |
| ], | |
| 'condition': 'checkout_android', | |
| 'dep_type': 'cipd', | |
| }, | |
| 'src/third_party/android_toolchain/ndk': { | |
| 'packages': [ | |
| { | |
| 'package': 'chromium/third_party/android_toolchain/android_toolchain/${{platform}}', | |
| 'version': 'version:2@30.0.16248370', | |
| }, | |
| ], | |
| 'condition': 'checkout_android', | |
| 'dep_type': 'cipd', | |
| }, | |
| 'src/third_party/androidx/cipd': { | |
| 'packages': [ | |
| { | |
| 'package': 'chromium/third_party/androidx', | |
| 'version': '0YMCLJ3Bxe_gdsAhy63ZHV-voglAsyrgnJDGtkhAhLUC', | |
| }, | |
| ], | |
| 'condition': 'checkout_android and non_git_source', | |
| 'dep_type': 'cipd', | |
| }, | |
| 'src/third_party/android_build_tools/bazel_tools/cipd': { | |
| 'packages': [ | |
| { | |
| 'package': 'chromium/third_party/android_build_tools/bazel_tools/${{platform}}', | |
| 'version': 'version:2@7.4.1', | |
| }, | |
| ], | |
| 'condition': 'checkout_android and non_git_source and ' | |
| '((host_os == "linux" and host_cpu == "x64") or ' | |
| '(host_os == "mac" and host_cpu == "arm64"))', | |
| 'dep_type': 'cipd', | |
| }, | |
| 'src/third_party/android_build_tools/manifest_merger/cipd': { | |
| 'packages': [ | |
| { | |
| 'package': 'chromium/third_party/android_build_tools/manifest_merger', | |
| 'version': 'PbzJDouck_KSB5OWj3uChmyaHvGs-uZkVx8fEU1izLEC', | |
| }, | |
| ], | |
| 'condition': 'checkout_android', | |
| 'dep_type': 'cipd', | |
| }, | |
| 'src/third_party/android_sdk/public': { | |
| 'packages': [ | |
| { | |
| 'package': 'chromium/third_party/android_sdk/public/build-tools/37.0.0/${{os}}', | |
| 'version': 'version_37.0.0', | |
| }, | |
| { | |
| 'package': 'chromium/third_party/android_sdk/public/emulator', | |
| 'version': '9lGp8nTUCRRWGMnI_96HcKfzjnxEJKUcfvfwmA3wXNkC', | |
| }, | |
| { | |
| 'package': 'chromium/third_party/android_sdk/public/platform-tools', | |
| 'version': 'qTD9QdBlBf3dyHsN1lJ0RH6AhHxR42Hmg2Ih-Vj4zIEC' | |
| }, | |
| { | |
| 'package': 'chromium/third_party/android_sdk/public/platforms/android-37.2', | |
| 'version': 'AAswZ5rZBFDhMaH4QbKPmVtP4vnjiNUW_zPhdWvNe6wC', | |
| }, | |
| { | |
| 'package': 'chromium/third_party/android_sdk/public/cmdline-tools/${{os}}', | |
| 'version': 'version:23.0.0', | |
| }, | |
| ], | |
| 'condition': 'checkout_android', | |
| 'dep_type': 'cipd', | |
| }, | |
| 'src/third_party/icu4j/cipd': { | |
| 'packages': [ | |
| { | |
| 'package': 'chromium/third_party/icu4j', | |
| 'version': '8dV7WRVX0tTaNNqkLEnCA_dMofr2MJXFK400E7gOFygC', | |
| }, | |
| ], | |
| 'condition': 'checkout_android', | |
| 'dep_type': 'cipd', | |
| }, | |
| 'src/third_party/robolectric/cipd': { | |
| 'packages': [ | |
| { | |
| 'package': 'chromium/third_party/robolectric/${{platform}}', | |
| 'version': 'version:2@android-all-17-robolectric-16653203-5af0e5518e', | |
| }, | |
| ], | |
| 'condition': 'checkout_android', | |
| 'dep_type': 'cipd', | |
| }, | |
| 'src/third_party/sqlite4java/cipd': { | |
| 'packages': [ | |
| { | |
| 'package': 'chromium/third_party/sqlite4java', | |
| 'version': 'LofjKH9dgXIAJhRYCPQlMFywSwxYimrfDeBmaHc-Z5EC', | |
| }, | |
| ], | |
| 'condition': 'checkout_android', | |
| 'dep_type': 'cipd', | |
| }, | |
| 'src/third_party/tflite/src': | |
| Var('chromium_git') + '/external/github.com/tensorflow/tensorflow.git' + '@' + '961c96e7a721bed97b432b220c91ee567532dd58', | |
| 'src/third_party/turbine/cipd': { | |
| 'packages': [ | |
| { | |
| 'package': 'chromium/third_party/turbine', | |
| 'version': 'IMKBqBkK9i70kO_pJLAWq9cDEur7ZFvNc_GDS3jHvAYC', | |
| }, | |
| ], | |
| 'condition': 'checkout_android', | |
| 'dep_type': 'cipd', | |
| }, | |
| 'src/third_party/zstd/src': { | |
| 'url': Var('chromium_git') + '/external/github.com/facebook/zstd.git' + '@' + '10da6ba6de05e29169261fa4b68eb99239f770dd', | |
| }, | |
| 'src/tools/luci-go': { | |
| 'packages': [ | |
| { | |
| 'package': 'infra/tools/luci/cas/${{platform}}', | |
| 'version': 'git_revision:d84a4344b08a25658c6a7cd656f52252efaff7c1', | |
| }, | |
| { | |
| 'package': 'infra/tools/luci/isolate/${{platform}}', | |
| 'version': 'git_revision:d84a4344b08a25658c6a7cd656f52252efaff7c1', | |
| }, | |
| { | |
| 'package': 'infra/tools/luci/swarming/${{platform}}', | |
| 'version': 'git_revision:d84a4344b08a25658c6a7cd656f52252efaff7c1', | |
| } | |
| ], | |
| 'dep_type': 'cipd', | |
| }, | |
| 'src/third_party/pipewire/src': { | |
| 'url': Var('chromium_git') + '/external/gitlab.freedesktop.org/pipewire/pipewire.git' | |
| + '@' + 'b741e0c74f5436f0c925f7741140db0efd32cf4e', | |
| 'condition': 'checkout_linux', | |
| }, | |
| 'src/third_party/wireplumber/linux-amd64': { | |
| 'packages': [ | |
| { | |
| 'package': 'chromium/third_party/wireplumber/linux-amd64', | |
| 'version': 'yfe349C2e6pWCcu7DaSPJHNWdwDbNP9FfSQoV9j6A5UC', | |
| }, | |
| ], | |
| 'condition': 'checkout_linux', | |
| 'dep_type': 'cipd', | |
| }, | |
| 'src/third_party/android_deps/cipd': { | |
| 'packages': [ | |
| { | |
| 'package': 'chromium/third_party/android_deps/autorolled', | |
| 'version': 'VncpTu_wd6kAFU-1xzuPb4824nLLTxZV5AmZVGvM-qQC', | |
| }, | |
| ], | |
| 'condition': 'checkout_android and non_git_source', | |
| 'dep_type': 'cipd', | |
| }, | |
| 'src/third_party/pthreadpool/src': | |
| Var('chromium_git') + '/external/github.com/google/pthreadpool.git' + '@' + '15a6644ba1c45f1acc16ac1e883efc3e56c6bed2', | |
| 'src/third_party/xnnpack/src': | |
| Var('chromium_git') + '/external/github.com/google/XNNPACK.git' + '@' + '82be86388c131862c3673c177d9dbcd5d3e3844d', | |
| 'src/third_party/farmhash/src': | |
| Var('chromium_git') + '/external/github.com/google/farmhash.git' + '@' + '9d99331eb762e9ee22fd97d15a594525ad98310a', | |
| 'src/third_party/ruy/src': | |
| Var('chromium_git') + '/external/github.com/google/ruy.git' + '@' + '37e43f2054e1a9372994498d7fb4783ac48a5717', | |
| 'src/third_party/cpuinfo/src': | |
| Var('chromium_git') + '/external/github.com/pytorch/cpuinfo.git' + '@' + '3ce3d87adef69f04e196e25b7f754028d12750c4', | |
| 'src/third_party/eigen3/src': | |
| Var('chromium_git') + '/external/gitlab.com/libeigen/eigen.git' + '@' + '043059d22982e26771fe5fc4e5d29f4549741556', | |
| 'src/third_party/fp16/src': | |
| Var('chromium_git') + '/external/github.com/Maratyszcza/FP16.git' + '@' + '782eea126dc5c755827be751a099eb01826175cf', | |
| 'src/third_party/gemmlowp/src': | |
| Var('chromium_git') + '/external/github.com/google/gemmlowp.git' + '@' + '16e8662c34917be0065110bfcd9cc27d30f52fdf', | |
| 'src/third_party/fxdiv/src': | |
| Var('chromium_git') + '/external/github.com/Maratyszcza/FXdiv.git' + '@' + '63058eff77e11aa15bf531df5dd34395ec3017c8', | |
| 'src/third_party/neon_2_sse/src': | |
| Var('chromium_git') + '/external/github.com/intel/ARM_NEON_2_x86_SSE.git' + '@' + '78784fefa872994ea9acbb7371d3003884815116', | |
| # Everything coming after this is automatically updated by the auto-roller. | |
| # === ANDROID_DEPS Generated Code Start === | |
| # Generated by //third_party/android_deps/fetch_all.py | |
| # === ANDROID_DEPS Generated Code End === | |
| } | |
| hooks = [ | |
| { | |
| # This clobbers when necessary (based on get_landmines.py). It should be | |
| # an early hook but it will need to be run after syncing Chromium and | |
| # setting up the links, so the script actually exists. | |
| 'name': 'landmines', | |
| 'pattern': '.', | |
| 'action': [ | |
| 'python3', | |
| 'src/build/landmines.py', | |
| '--landmine-scripts', | |
| 'src/tools_webrtc/get_landmines.py', | |
| '--src-dir', | |
| 'src', | |
| ], | |
| }, | |
| { | |
| # Ensure that the DEPS'd "depot_tools" has its self-update capability | |
| # disabled. | |
| 'name': 'disable_depot_tools_selfupdate', | |
| 'pattern': '.', | |
| 'action': [ | |
| 'python3', | |
| 'src/third_party/depot_tools/update_depot_tools_toggle.py', | |
| '--disable', | |
| ], | |
| }, | |
| { | |
| 'name': 'sysroot_arm', | |
| 'pattern': '.', | |
| 'condition': 'checkout_linux and checkout_arm', | |
| 'action': ['python3', 'src/build/linux/sysroot_scripts/install-sysroot.py', | |
| '--arch=arm'], | |
| }, | |
| { | |
| 'name': 'sysroot_arm64', | |
| 'pattern': '.', | |
| 'condition': 'checkout_linux and checkout_arm64', | |
| 'action': ['python3', 'src/build/linux/sysroot_scripts/install-sysroot.py', | |
| '--arch=arm64'], | |
| }, | |
| { | |
| 'name': 'sysroot_x86', | |
| 'pattern': '.', | |
| 'condition': 'checkout_linux and (checkout_x86 or checkout_x64)', | |
| # TODO(mbonadei): change to --arch=x86. | |
| 'action': ['python3', 'src/build/linux/sysroot_scripts/install-sysroot.py', | |
| '--arch=i386'], | |
| }, | |
| { | |
| 'name': 'sysroot_mips', | |
| 'pattern': '.', | |
| 'condition': 'checkout_linux and checkout_mips', | |
| # TODO(mbonadei): change to --arch=mips. | |
| 'action': ['python3', 'src/build/linux/sysroot_scripts/install-sysroot.py', | |
| '--arch=mipsel'], | |
| }, | |
| { | |
| 'name': 'sysroot_x64', | |
| 'pattern': '.', | |
| 'condition': 'checkout_linux and checkout_x64', | |
| # TODO(mbonadei): change to --arch=x64. | |
| 'action': ['python3', 'src/build/linux/sysroot_scripts/install-sysroot.py', | |
| '--arch=amd64'], | |
| }, | |
| { | |
| # 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', | |
| 'src/third_party/depot_tools/download_from_google_storage.py', | |
| '--no_resume', | |
| '--bucket', 'chromium-browser-clang/ciopfs', | |
| '-s', 'src/build/ciopfs.sha1', | |
| ] | |
| }, | |
| { | |
| # Update the Windows toolchain if necessary. Must run before 'clang' below. | |
| 'name': 'win_toolchain', | |
| 'pattern': '.', | |
| 'condition': 'checkout_win', | |
| 'action': ['python3', 'src/build/vs_toolchain.py', 'update', '--force'], | |
| }, | |
| { | |
| # Update the Mac toolchain if necessary. | |
| 'name': 'mac_toolchain', | |
| 'pattern': '.', | |
| 'condition': 'checkout_mac', | |
| 'action': ['python3', 'src/build/mac_toolchain.py'], | |
| }, | |
| { | |
| 'name': 'Download Fuchsia SDK from GCS', | |
| 'pattern': '.', | |
| 'condition': 'checkout_fuchsia', | |
| 'action': [ | |
| 'python3', | |
| 'src/build/fuchsia/update_sdk.py', | |
| '--cipd-prefix={fuchsia_sdk_cipd_prefix}', | |
| '--version={fuchsia_version}', | |
| ], | |
| }, | |
| { | |
| 'name': 'Download Fuchsia system images', | |
| 'pattern': '.', | |
| 'condition': 'checkout_fuchsia and checkout_fuchsia_product_bundles', | |
| 'action': [ | |
| 'python3', | |
| 'src/build/fuchsia/update_product_bundles.py', | |
| '{checkout_fuchsia_boot_images}', | |
| ], | |
| }, | |
| { | |
| # Update LASTCHANGE. | |
| 'name': 'lastchange', | |
| 'pattern': '.', | |
| 'action': ['python3', 'src/build/util/lastchange.py', | |
| '-o', 'src/build/util/LASTCHANGE'], | |
| }, | |
| # Pull dsymutil binaries using checked-in hashes. | |
| { | |
| 'name': 'dsymutil_mac_arm64', | |
| 'pattern': '.', | |
| 'condition': 'host_os == "mac" and host_cpu == "arm64"', | |
| 'action': [ 'python3', | |
| 'src/third_party/depot_tools/download_from_google_storage.py', | |
| '--no_resume', | |
| '--bucket', 'chromium-browser-clang', | |
| '-s', 'src/tools/clang/dsymutil/bin/dsymutil.arm64.sha1', | |
| '-o', 'src/tools/clang/dsymutil/bin/dsymutil', | |
| ], | |
| }, | |
| { | |
| 'name': 'dsymutil_mac_x64', | |
| 'pattern': '.', | |
| 'condition': 'host_os == "mac" and host_cpu == "x64"', | |
| 'action': [ 'python3', | |
| 'src/third_party/depot_tools/download_from_google_storage.py', | |
| '--no_resume', | |
| '--bucket', 'chromium-browser-clang', | |
| '-s', 'src/tools/clang/dsymutil/bin/dsymutil.x64.sha1', | |
| '-o', 'src/tools/clang/dsymutil/bin/dsymutil', | |
| ], | |
| }, | |
| # Pull rc binaries using checked-in hashes. | |
| { | |
| 'name': 'rc_win', | |
| 'pattern': '.', | |
| 'condition': 'checkout_win and host_os == "win"', | |
| 'action': [ 'python3', | |
| 'src/third_party/depot_tools/download_from_google_storage.py', | |
| '--no_resume', | |
| '--bucket', 'chromium-browser-clang/rc', | |
| '-s', 'src/build/toolchain/win/rc/win/rc.exe.sha1', | |
| ], | |
| }, | |
| { | |
| 'name': 'rc_mac', | |
| 'pattern': '.', | |
| 'condition': 'checkout_win and host_os == "mac"', | |
| 'action': [ 'python3', | |
| 'src/third_party/depot_tools/download_from_google_storage.py', | |
| '--no_resume', | |
| '--bucket', 'chromium-browser-clang/rc', | |
| '-s', 'src/build/toolchain/win/rc/mac/rc.sha1', | |
| ], | |
| }, | |
| { | |
| 'name': 'rc_linux', | |
| 'pattern': '.', | |
| 'condition': 'checkout_win and host_os == "linux"', | |
| 'action': [ 'python3', | |
| 'src/third_party/depot_tools/download_from_google_storage.py', | |
| '--no_resume', | |
| '--bucket', 'chromium-browser-clang/rc', | |
| '-s', 'src/build/toolchain/win/rc/linux64/rc.sha1', | |
| ], | |
| }, | |
| { | |
| # Download test resources, i.e. video and audio files from Google Storage. | |
| 'pattern': '.', | |
| 'action': ['download_from_google_storage', | |
| '--directory', | |
| '--recursive', | |
| '--num_threads=10', | |
| '--quiet', | |
| '--bucket', 'chromium-webrtc-resources', | |
| 'src/resources'], | |
| }, | |
| { | |
| 'name': 'Generate component metadata for tests', | |
| 'pattern': '.', | |
| 'action': [ | |
| 'vpython3', | |
| 'src/testing/generate_location_tags.py', | |
| '--out', | |
| 'src/testing/location_tags.json', | |
| ], | |
| }, | |
| # Download and initialize "vpython" VirtualEnv environment packages. | |
| { | |
| 'name': 'vpython_common', | |
| 'pattern': '.', | |
| 'action': [ 'vpython3', | |
| '-vpython-spec', 'src/vpython.toml', | |
| '-vpython-tool', 'install', | |
| ], | |
| }, | |
| # Download remote exec cfg files | |
| { | |
| 'name': 'configure_reclient_cfgs', | |
| 'pattern': '.', | |
| 'condition': 'download_remoteexec_cfg', | |
| 'action': ['python3', | |
| 'src/buildtools/reclient_cfgs/configure_reclient_cfgs.py', | |
| '--rbe_instance', | |
| Var('rbe_instance'), | |
| '--quiet', | |
| ], | |
| }, | |
| # Configure Siso for developer builds. | |
| { | |
| 'name': 'configure_siso', | |
| 'pattern': '.', | |
| 'action': ['python3', | |
| 'src/build/config/siso/configure_siso.py', | |
| '--rbe_instance', | |
| Var('rbe_instance'), | |
| ], | |
| }, | |
| { | |
| # Ensure we remove any file from disk that is no longer needed (e.g. after | |
| # hooks to native GCS deps migration). | |
| 'name': 'remove_stale_files', | |
| 'pattern': '.', | |
| 'action': [ | |
| 'python3', | |
| 'src/tools/remove_stale_files.py', | |
| 'src/third_party/test_fonts/test_fonts.tar.gz', # Remove after 20240901 | |
| ], | |
| }, | |
| { | |
| # Populate src/third_party/.git/info/exclude with nested src/third_party/* | |
| # DEPS paths so `gclient sync --reset --delete_unversioned_trees` does not | |
| # delete nested sub-repositories and the Windows toolchain on every build. | |
| 'name': 'configure_third_party_exclude', | |
| 'pattern': '.', | |
| 'action': [ | |
| 'python3', | |
| 'src/tools_webrtc/configure_third_party_exclude.py', | |
| ], | |
| }, | |
| ] | |
| pre_deps_hooks = [ | |
| { | |
| 'name': 'configure_third_party_exclude', | |
| 'pattern': '.', | |
| 'action': [ | |
| 'python3', | |
| 'src/tools_webrtc/configure_third_party_exclude.py', | |
| ], | |
| }, | |
| ] | |
| recursedeps = [ | |
| 'src/buildtools', | |
| 'src/third_party/instrumented_libs', | |
| ] | |
| # Define rules for which include paths are allowed in our source. | |
| include_rules = [ | |
| # Base is only used to build Android APK tests and may not be referenced by | |
| # WebRTC production code. | |
| "-base", | |
| "-chromium", | |
| "+external/webrtc/webrtc", # Android platform build. | |
| "+libyuv", | |
| # These should eventually move out of here. | |
| "+common_types.h", | |
| "+WebRTC", | |
| "+api", | |
| "+modules/include", | |
| "+rtc_base", | |
| "+test", | |
| "+rtc_tools", | |
| # Abseil allowlist. Keep this in sync with abseil-in-webrtc.md. | |
| "+absl/algorithm/algorithm.h", | |
| "+absl/algorithm/container.h", | |
| "+absl/base/attributes.h", | |
| "+absl/base/config.h", | |
| "+absl/base/nullability.h", | |
| "+absl/base/macros.h", | |
| "+absl/base/no_destructor.h", | |
| "+absl/cleanup/cleanup.h", | |
| "+absl/container", | |
| "-absl/container/fixed_array.h", | |
| "+absl/crc", | |
| "+absl/functional/any_invocable.h", | |
| "+absl/functional/bind_front.h", | |
| "+absl/memory/memory.h", | |
| "+absl/numeric/bits.h", | |
| "+absl/strings/ascii.h", | |
| "+absl/strings/escaping.h", | |
| "+absl/strings/match.h", | |
| "+absl/strings/str_cat.h", # note - allowed for single argument version only | |
| "+absl/strings/str_replace.h", | |
| "+absl/strings/string_view.h", | |
| # Abseil flags are allowed in tests and tools. | |
| "+absl/flags", | |
| # Perfetto should be used through rtc_base/trace_event.h | |
| '-third_party/perfetto', | |
| '-perfetto', | |
| '-protos/perfetto', | |
| ] | |
| specific_include_rules = { | |
| "webrtc_lib_link_test\\.cc": [ | |
| "+media/engine", | |
| "+modules/audio_device", | |
| "+modules/audio_processing", | |
| ] | |
| } |