| # 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': '4cdeb6cfef0acbf35d37a5f30c7b98faa6b1c5c3', |
| |
| # 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:33.20260927.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', |
| # reclient CIPD package version |
| 'reclient_version': 're_client_version:0.185.0.db415f21-gomaip', |
| # siso CIPD package version. |
| 'siso_version': 'git_revision:c574896b272b40aac6e44c228ee0b471ea7e3d7d', |
| |
| # CPython 3 CIPD package version for Siso hermetic toolchain. |
| 'cpython3_version': 'version:3@3.11.9.chromium.38', |
| |
| # 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@78170c8ee463fd5ab019ccff04243a8c4969d041', |
| 'src/buildtools': |
| 'https://chromium.googlesource.com/chromium/src/buildtools@59a37766f17bdd79f4cf9154498cbb823b681531', |
| # 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@d0685c246e019a7c6c4b3e7d9a708d55721eee85', |
| 'condition': 'checkout_ios', |
| }, |
| 'src/testing': |
| 'https://chromium.googlesource.com/chromium/src/testing@b5d7f4ced5404d0b1c6855831e4c5706dde9f605', |
| 'src/third_party': |
| 'https://chromium.googlesource.com/chromium/src/third_party@9d705111de18797ee44e81adc72360926f85b6fd', |
| |
| '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:9fe99e262126467c4cb2f44cf941767d29fb33d8', |
| } |
| ], |
| 'dep_type': 'cipd', |
| 'condition': 'checkout_linux', |
| }, |
| 'src/buildtools/mac': { |
| 'packages': [ |
| { |
| 'package': 'gn/gn/mac-${{arch}}', |
| 'version': 'git_revision:9fe99e262126467c4cb2f44cf941767d29fb33d8', |
| } |
| ], |
| 'dep_type': 'cipd', |
| 'condition': 'checkout_mac', |
| }, |
| 'src/buildtools/win': { |
| 'packages': [ |
| { |
| 'package': 'gn/gn/windows-amd64', |
| 'version': 'git_revision:9fe99e262126467c4cb2f44cf941767d29fb33d8', |
| } |
| ], |
| 'dep_type': 'cipd', |
| 'condition': 'checkout_win', |
| }, |
| 'src/buildtools/reclient': { |
| 'packages': [ |
| { |
| # https://chrome-infra-packages.appspot.com/p/infra/rbe/client/ |
| 'package': 'infra/rbe/client/${{platform}}', |
| 'version': Var('reclient_version'), |
| } |
| ], |
| 'dep_type': 'cipd', |
| # Reclient doesn't have linux-arm64 package. |
| 'condition': 'not (host_os == "linux" and host_cpu == "arm64")', |
| }, |
| |
| '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-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" or checkout_android) 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"', |
| }, |
| ] |
| }, |
| |
| # Update prebuilt Rust toolchain. |
| 'src/third_party/rust-toolchain': { |
| 'dep_type': 'gcs', |
| 'bucket': 'chromium-browser-clang', |
| 'objects': [ |
| { |
| 'object_name': 'Linux_x64/rust-toolchain-1edd55dcfcd573872c727fa3e086369a71661ee0-1120-llvmorg-24-init-7747-g62397f8b.tar.xz', |
| 'sha256sum': 'b13f3ee4862d1dca5e3d4d7368f0f8b3bf5033a98a9c146e75f73fb0a4741dd2', |
| 'size_bytes': 287151236, |
| 'generation': 1790861903623692, |
| 'condition': 'host_os == "linux" and non_git_source', |
| }, |
| { |
| 'object_name': 'Mac/rust-toolchain-1edd55dcfcd573872c727fa3e086369a71661ee0-1120-llvmorg-24-init-7747-g62397f8b.tar.xz', |
| 'sha256sum': 'da4d327f6a8281b54fc15aa9d0b65536b92108632d4c564b7af1e5e0d9ed5798', |
| 'size_bytes': 274596852, |
| 'generation': 1790861907396749, |
| 'condition': 'host_os == "mac" and host_cpu == "x64"', |
| }, |
| { |
| 'object_name': 'Mac_arm64/rust-toolchain-1edd55dcfcd573872c727fa3e086369a71661ee0-1120-llvmorg-24-init-7747-g62397f8b.tar.xz', |
| 'sha256sum': 'fdb56320f347c1cf8dca4244b9d559e3caf7535c4dff927a4bd391b2cb26a47b', |
| 'size_bytes': 258021904, |
| 'generation': 1790861910988322, |
| 'condition': 'host_os == "mac" and host_cpu == "arm64"', |
| }, |
| { |
| 'object_name': 'Win/rust-toolchain-1edd55dcfcd573872c727fa3e086369a71661ee0-1120-llvmorg-24-init-7747-g62397f8b.tar.xz', |
| 'sha256sum': '674c53b7183ca012994bd4f54ef60d78baa2e28ddc6f86f8477ce36791e77e05', |
| 'size_bytes': 425617056, |
| 'generation': 1790861914708784, |
| '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@9f796802e5d633c96dbe97e0b6683d5e62594f9f', |
| 'src/third_party/compiler-rt/src': |
| 'https://chromium.googlesource.com/external/github.com/llvm/llvm-project/compiler-rt.git@a0ccf0025da989294d9efb63d9434f7beb3e4970', |
| 'src/third_party/libc++/src': |
| 'https://chromium.googlesource.com/external/github.com/llvm/llvm-project/libcxx.git@97b436da4c33663581d394f4ee0a5977fc38c2f4', |
| 'src/third_party/libc++abi/src': |
| 'https://chromium.googlesource.com/external/github.com/llvm/llvm-project/libcxxabi.git@09351f6ec00c2b65f2d03585ae6da07098b024dc', |
| 'src/third_party/llvm-libc/src': |
| 'https://chromium.googlesource.com/external/github.com/llvm/llvm-project/libc.git@28e7b6d5c88b7c75cafd718859dc9a6eada7304b', |
| 'src/third_party/libunwind/src': |
| 'https://chromium.googlesource.com/external/github.com/llvm/llvm-project/libunwind.git@c4438dd4178c627697459a12c54eb1f7f8eefd12', |
| |
| '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': 'D255MWUvuCf4OTntUioxg-A1stinfW8hW3P13YlOrDcC', |
| }, |
| ], |
| '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': 'version:2@9.5.0-alpha07-15978811', |
| }, |
| ], |
| '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/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/dagger_compiler/cipd': { |
| 'packages': [ |
| { |
| 'package': 'chromium/third_party/android_build_tools/dagger_compiler', |
| 'version': 'AC0DoTEXQf40KFt7hyCNSEJPrT9Rprw9zsZxNKdw7BQC', |
| }, |
| ], |
| 'condition': 'checkout_android and non_git_source', |
| 'dep_type': 'cipd', |
| }, |
| |
| 'src/third_party/android_build_tools/error_prone/cipd': { |
| 'packages': [ |
| { |
| 'package': 'chromium/third_party/android_build_tools/error_prone', |
| 'version': 'VtrBaqQdSQvAxXzQmZ9NxFDw6KODCoK2Z7q7cG8DI6cC', |
| }, |
| ], |
| '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': 'Ue4-cobneZWgbtfV6s1C-JnlxnJYO9mrhnU5fY_6txcC', |
| }, |
| ], |
| 'condition': 'checkout_android and non_git_source', |
| 'dep_type': 'cipd', |
| }, |
| |
| |
| 'src/third_party/android_build_tools/nullaway/cipd': { |
| 'packages': [ |
| { |
| 'package': 'chromium/third_party/android_build_tools/nullaway', |
| 'version': 'ds9Vm6LkQNc9O9nuG0_FbrsNQ5VoGPpFIWKur53l3wUC', |
| }, |
| ], |
| '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@5e1bfb45c353b2bb36bdf26b006ea8f5566c82d5', |
| 'src/third_party/breakpad/breakpad': |
| 'https://chromium.googlesource.com/breakpad/breakpad.git@868abe6f016cfeabfb7208681e89031ae667c336', |
| 'src/third_party/catapult': |
| 'https://chromium.googlesource.com/catapult.git@a62bdd9c72d5ef9264c04c5576a2e81342f9260d', |
| '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@08f34739d842dbef086f2a4459bd29d29c0dfd4e', |
| 'src/third_party/ffmpeg': |
| 'https://chromium.googlesource.com/chromium/third_party/ffmpeg.git@9db86ce5b5b454dfc96c435f9f0723012980c37f', |
| 'src/third_party/flatbuffers/src': |
| 'https://chromium.googlesource.com/external/github.com/google/flatbuffers.git@a86afae9399bbe631d1ea0783f8816e780e236cc', |
| 'src/third_party/grpc/src': { |
| 'url': 'https://chromium.googlesource.com/external/github.com/grpc/grpc.git@2e45f5cd6a0c4d37c93494c02e3568268da31f80', |
| }, |
| # Used for embedded builds. CrOS & Linux use the system version. |
| 'src/third_party/fontconfig/src': { |
| 'url': 'https://chromium.googlesource.com/external/fontconfig.git@d416ada7b20a1cdd5050b60a7a1bbdb3d9ddd2dc', |
| 'condition': 'checkout_linux', |
| }, |
| 'src/third_party/freetype/src': |
| 'https://chromium.googlesource.com/chromium/src/third_party/freetype2.git@891f904e2e7b4289f615598cd4b69832f87d2f3a', |
| 'src/third_party/harfbuzz/src': |
| 'https://chromium.googlesource.com/external/github.com/harfbuzz/harfbuzz.git@ff36703b95013ec1d437e6038e1aa7c881275f4e', |
| 'src/third_party/google_benchmark/src': { |
| 'url': 'https://chromium.googlesource.com/external/github.com/google/benchmark.git@8abf1e701fbd88c8170f48fe0558247e2e5f8e7d', |
| }, |
| 'src/third_party/libpfm4/src': |
| Var('chromium_git') + '/external/git.code.sf.net/p/perfmon2/libpfm4.git' + '@' + '995ad37079531b7c3a98cbd164b7619f3b0adc0d', |
| # 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@9b67395136655c1eaef4a88b70d1da9532515172', |
| 'condition': 'checkout_android', |
| }, |
| 'src/third_party/googletest/src': |
| 'https://chromium.googlesource.com/external/github.com/google/googletest.git@4fe3307fb2d9f86d19777c7eb0e4809e9694dde7', |
| |
| # 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@5aa526207171ecadf31597f0980a7b7ad8872f33', |
| }, |
| 'src/third_party/jdk/current': { |
| 'packages': [ |
| { |
| 'package': 'chromium/third_party/jdk/${{platform}}', |
| 'version': 'version:2@jdk-25.0.4.1+1.d0eb1c0366.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/source': |
| 'https://chromium.googlesource.com/external/github.com/open-source-parsers/jsoncpp.git@3347a4b86bb914cb565f0cbda19c06e109513300', # from svn 248 |
| 'src/third_party/junit/src': { |
| 'url': 'https://chromium.googlesource.com/external/junit.git@300468b1efd48d76fac2f7bd6d576846dcbbf5ed', |
| 'condition': 'checkout_android', |
| }, |
| 'src/third_party/kotlin_stdlib/cipd': { |
| 'packages': [ |
| { |
| 'package': 'chromium/third_party/kotlin_stdlib', |
| 'version': '_-3PaeFvQRaK0R_JqwKsGiI_ixdIr5PHgVPDyPWUFY4C', |
| }, |
| ], |
| 'condition': 'checkout_android', |
| 'dep_type': 'cipd', |
| }, |
| |
| 'src/third_party/kotlinc/current': { |
| 'packages': [ |
| { |
| 'package': 'chromium/third_party/kotlinc', |
| 'version': 'R1b_2VmAdxUjLeGb_lDhzK_ytUCBeWaGnCjwzsbgr6MC', |
| }, |
| ], |
| '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@0b3fee09950deb348b0490c19a0a3f9b0cd51526', |
| 'src/third_party/fuzztest/src': |
| 'https://chromium.googlesource.com/external/github.com/google/fuzztest.git@a8861f3aa71443dabaf42dc9cba78b3982524a51', |
| 'src/third_party/libprotobuf-mutator/src': |
| Var('chromium_git') + '/external/github.com/google/libprotobuf-mutator.git@c1c950eae0440c3808f2b8bd7c57d0c6a42c1a90', |
| '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@7f12cf23560430c02a83e67bb68eec74d93ce5fd', |
| 'src/third_party/libaom/source/libaom': |
| 'https://aomedia.googlesource.com/aom.git@ae410fe8b7bd45f3cf61dc8f112dc783e2a08089', |
| 'src/third_party/libgav1/src': |
| Var('chromium_git') + '/codecs/libgav1.git' + '@' + '085032331f60c10055d32ab52932bd7bd77e6f53', |
| 'src/third_party/libunwindstack': { |
| 'url': 'https://chromium.googlesource.com/chromium/src/third_party/libunwindstack.git@333fcafb91bd3830c5ef814c071ff73df9cdc976', |
| 'condition': 'checkout_android', |
| }, |
| 'src/third_party/perfetto': |
| Var('chromium_git') + '/external/github.com/google/perfetto.git' + '@' + '12a4a79422c109baf37715e26ef53014f829bf45', |
| 'src/third_party/protobuf-javascript/src': |
| Var('chromium_git') + '/external/github.com/protocolbuffers/protobuf-javascript' + '@' + 'e6d763860001ba1a76a63adcff5efb12b1c96024', |
| 'src/third_party/libvpx/source/libvpx': |
| 'https://chromium.googlesource.com/webm/libvpx.git@deaac25491db2edc430c2a71031109b65c23d1f1', |
| 'src/third_party/libyuv': |
| 'https://chromium.googlesource.com/libyuv/libyuv.git@bad060c3a57876fb1c78abaf334949fa98cca8e5', |
| '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' + '@' + '423262e4438b032c0ba5ea61f78a85ac3690298c', |
| 'condition': 'checkout_instrumented_libraries', |
| }, |
| |
| # Used by boringssl. |
| 'src/third_party/nasm': { |
| 'url': 'https://chromium.googlesource.com/chromium/deps/nasm.git@525a09a813be0f75b646ee93fc2a31c27b87d722' |
| }, |
| |
| 'src/third_party/openh264/src': |
| 'https://chromium.googlesource.com/external/github.com/cisco/openh264@9547f96ea5c47f4d465d97b07264b997ecc4b4b6', |
| |
| 'src/third_party/re2/src': |
| 'https://chromium.googlesource.com/external/github.com/google/re2.git@972a15cedd008d846f1a39b2e88ce48d7f166cbd', |
| |
| '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': 'P7Pq70iaBKGCBVqKGS1XPUFyG7yWFSBWVy7yOBsghLcC', |
| }, |
| ], |
| 'condition': 'checkout_android', |
| 'dep_type': 'cipd', |
| }, |
| # This duplication is intentional, so we avoid updating the r8.jar used by |
| # dexing unless necessary, since each update invalidates all incremental |
| # dexing and unnecessarily slows down all bots. |
| 'src/third_party/r8/d8/cipd': { |
| 'packages': [ |
| { |
| 'package': 'chromium/third_party/r8', |
| 'version': 'P7Pq70iaBKGCBVqKGS1XPUFyG7yWFSBWVy7yOBsghLcC', |
| }, |
| ], |
| 'condition': 'checkout_android', |
| '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@254118009387fec9b307061a903f620cfeb61ad4', |
| |
| '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': 'L2v03UauZ714Au-QohOFoxT_BcyxCaW8PkJKL9wy32AC', |
| }, |
| ], |
| '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': 'XCV77W7I12ZqyOcLJEQ9pALJcYoSwnUfdZQcptTqxI8C', |
| }, |
| ], |
| '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.0', |
| 'version': 'JsUGMsJK2pkQxVKr7EcJbxbwjJEIWjEPLqcbv7ifdmcC', |
| }, |
| { |
| 'package': 'chromium/third_party/android_sdk/public/cmdline-tools/linux', |
| 'version': 'wHWB9RnuqfRvgikpCf-UwlPHuGRuBzvxzVBMQI0tHtEC', |
| }, |
| ], |
| '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-15733970-2921868143', |
| }, |
| ], |
| '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' + '@' + '385ce38a2a56caf516c2d588f888588975615331', |
| |
| 'src/third_party/turbine/cipd': { |
| 'packages': [ |
| { |
| 'package': 'chromium/third_party/turbine', |
| 'version': 'lLSvuXDQIBq-skHpEV38DETcvq3t2lL9rc2VpxEj-h4C', |
| }, |
| ], |
| '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:b5ab8c6e7688d99a5702022cfaa95e9f8ce464f2', |
| }, |
| { |
| 'package': 'infra/tools/luci/isolate/${{platform}}', |
| 'version': 'git_revision:b5ab8c6e7688d99a5702022cfaa95e9f8ce464f2', |
| }, |
| { |
| 'package': 'infra/tools/luci/swarming/${{platform}}', |
| 'version': 'git_revision:b5ab8c6e7688d99a5702022cfaa95e9f8ce464f2', |
| } |
| ], |
| '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': 'N43Rp9KJw3jV2OlM-WqeYaETbdX_xtzdX_FLHAfRHC8C', |
| }, |
| ], |
| 'condition': 'checkout_android and non_git_source', |
| 'dep_type': 'cipd', |
| }, |
| |
| 'src/third_party/android_deps/autorolled/cipd': { |
| 'packages': [ |
| { |
| 'package': 'chromium/third_party/android_deps/autorolled', |
| 'version': 'N43Rp9KJw3jV2OlM-WqeYaETbdX_xtzdX_FLHAfRHC8C', |
| }, |
| ], |
| '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' + '@' + 'e1881fc977db0cc5152e392464e7463013ef4114', |
| |
| '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' + '@' + '2264753777198e4393fb83c44c693462d57a2be1', |
| |
| 'src/third_party/cpuinfo/src': |
| Var('chromium_git') + '/external/github.com/pytorch/cpuinfo.git' + '@' + '66ee79c038d70dad9f08705b2c9b3e58f6d8f512', |
| |
| 'src/third_party/eigen3/src': |
| Var('chromium_git') + '/external/gitlab.com/libeigen/eigen.git' + '@' + '3cf99491898063e8256e61af25fe1b397a2bd46e', |
| |
| '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' + '@' + '183fc88bcb90dbfaefba33a292eae8a5ce94bd67', |
| |
| |
| # 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'), |
| '--reproxy_cfg_template', |
| 'reproxy.cfg.template', |
| '--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 |
| ], |
| }, |
| ] |
| |
| 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", |
| ] |
| } |