| # 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': 'd7aeebe574b0c93057699fd575a7cfe1fcfb2bcc', |
| |
| # 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.20260922.5.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:22353054fea20f637c8fa302a90daf9e2cc10497', |
| |
| # 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@8f4d213ca23327067940282e2e896084844aa7a8', |
| 'src/buildtools': |
| 'https://chromium.googlesource.com/chromium/src/buildtools@61df5d8b18e317ea9fbf5e55d86e865388200fca', |
| # 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@fcc3c72143809da421e5a26ed1c2b245420eb896', |
| 'condition': 'checkout_ios', |
| }, |
| 'src/testing': |
| 'https://chromium.googlesource.com/chromium/src/testing@e0ff46a43cd2df3c15abe57a3d78a12bbb2aba64', |
| 'src/third_party': |
| 'https://chromium.googlesource.com/chromium/src/third_party@6eabe54fa10922ba0d3f9a8e5a01055d371ebaf7', |
| |
| '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:56c22442ee369ddc6f44c2ff5e0664d47a3c6b0e', |
| } |
| ], |
| 'dep_type': 'cipd', |
| 'condition': 'checkout_linux', |
| }, |
| 'src/buildtools/mac': { |
| 'packages': [ |
| { |
| 'package': 'gn/gn/mac-${{arch}}', |
| 'version': 'git_revision:56c22442ee369ddc6f44c2ff5e0664d47a3c6b0e', |
| } |
| ], |
| 'dep_type': 'cipd', |
| 'condition': 'checkout_mac', |
| }, |
| 'src/buildtools/win': { |
| 'packages': [ |
| { |
| 'package': 'gn/gn/windows-amd64', |
| 'version': 'git_revision:56c22442ee369ddc6f44c2ff5e0664d47a3c6b0e', |
| } |
| ], |
| '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-31.tar.xz', |
| 'sha256sum': 'f49b3c2862910d45ad4cc97cba4fadefb5ec7997947183c9f93035b7210e7141', |
| 'size_bytes': 6210672, |
| 'generation': 1790206317726868, |
| 'condition': 'checkout_android and non_git_source', |
| }, |
| { |
| 'object_name': 'Linux_x64/clang-llvmorg-24-init-7747-g62397f8b-31.tar.xz', |
| 'sha256sum': 'f74db0e15c4f93e6cd4e46e4ff285c9e49b6bc84c8f629d83fe7c52f7d36e728', |
| 'size_bytes': 57255496, |
| 'generation': 1790206315184996, |
| 'condition': '(host_os == "linux" or checkout_android) and non_git_source', |
| }, |
| { |
| 'object_name': 'Linux_x64/clang-tidy-llvmorg-24-init-7747-g62397f8b-31.tar.xz', |
| 'sha256sum': '86c42997ae55ca335c5953a72b6b3aeb898c72822fe549004c2c370ac1d214f0', |
| 'size_bytes': 14944900, |
| 'generation': 1790206315266921, |
| 'condition': 'host_os == "linux" and checkout_clang_tidy and non_git_source', |
| }, |
| { |
| 'object_name': 'Linux_x64/clangd-llvmorg-24-init-7747-g62397f8b-31.tar.xz', |
| 'sha256sum': '7932c4b1c8395caaf15bbaf99fd01df5e38d22025494d225f5b42a34e4d7c9ad', |
| 'size_bytes': 15086368, |
| 'generation': 1790206315288093, |
| 'condition': 'host_os == "linux" and checkout_clangd and non_git_source', |
| }, |
| { |
| 'object_name': 'Linux_x64/llvm-code-coverage-llvmorg-24-init-7747-g62397f8b-31.tar.xz', |
| 'sha256sum': '7a94f49057dd24552311c8775f62e4c4a2d7504e2bf9dd0ef6bfc13a5e6e86a4', |
| 'size_bytes': 2373136, |
| 'generation': 1790206315454260, |
| 'condition': 'host_os == "linux" and checkout_clang_coverage_tools and non_git_source', |
| }, |
| { |
| 'object_name': 'Linux_x64/llvmobjdump-llvmorg-24-init-7747-g62397f8b-31.tar.xz', |
| 'sha256sum': 'aab8c5bea5b601b2eff757b42d36927f054f1d70484b9751c0e29b44d4411450', |
| 'size_bytes': 5922808, |
| 'generation': 1790206315428077, |
| '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-31.tar.xz', |
| 'sha256sum': '7c0a87deb4c9ea85b4d5abd1c0b5927faf1d9b71894c5f6da4654bac2013f583', |
| 'size_bytes': 53879528, |
| 'generation': 1790206324324377, |
| 'condition': 'host_os == "mac" and host_cpu == "x64"', |
| }, |
| { |
| 'object_name': 'Mac/clang-mac-runtime-library-llvmorg-24-init-7747-g62397f8b-31.tar.xz', |
| 'sha256sum': 'aced7aabd25ab2b8c98eb67d8d3e00da1e6fb3f43f8880489329a387dc55c256', |
| 'size_bytes': 981308, |
| 'generation': 1790206331714327, |
| 'condition': 'checkout_mac and not host_os == "mac"', |
| }, |
| { |
| 'object_name': 'Mac/clang-tidy-llvmorg-24-init-7747-g62397f8b-31.tar.xz', |
| 'sha256sum': '9217710fcaef475f4624eb5835f0f23d47fa6973aa1f2af23703674ac7c73e2c', |
| 'size_bytes': 14231816, |
| 'generation': 1790206324440976, |
| 'condition': 'host_os == "mac" and host_cpu == "x64" and checkout_clang_tidy', |
| }, |
| { |
| 'object_name': 'Mac/clangd-llvmorg-24-init-7747-g62397f8b-31.tar.xz', |
| 'sha256sum': 'dfe5ac685a717b024d8606d6a17fa3f28f56ad76995cee4a27ec28e916bfea0a', |
| 'size_bytes': 15132040, |
| 'generation': 1790206324518848, |
| 'condition': 'host_os == "mac" and host_cpu == "x64" and checkout_clangd', |
| }, |
| { |
| 'object_name': 'Mac/llvm-code-coverage-llvmorg-24-init-7747-g62397f8b-31.tar.xz', |
| 'sha256sum': 'c8e5723dadf4026dd51c8567d545aed912972f5d54881905722f4531beffed94', |
| 'size_bytes': 2260896, |
| 'generation': 1790206324668210, |
| 'condition': 'host_os == "mac" and host_cpu == "x64" and checkout_clang_coverage_tools', |
| }, |
| { |
| 'object_name': 'Mac/llvmobjdump-llvmorg-24-init-7747-g62397f8b-31.tar.xz', |
| 'sha256sum': '9843cf2e5eef5a3c93ae589c5de567f554c0d37be727d9fe59f1a7bbbe95b5df', |
| 'size_bytes': 5529180, |
| 'generation': 1790206324690730, |
| 'condition': 'host_os == "mac" and host_cpu == "x64"', |
| }, |
| { |
| 'object_name': 'Mac_arm64/clang-llvmorg-24-init-7747-g62397f8b-31.tar.xz', |
| 'sha256sum': '4bfcaaa9ba98335ec8fa8ed449b081ccae2a180c10f1d76790b54e515c41972c', |
| 'size_bytes': 44493796, |
| 'generation': 1790206333176916, |
| 'condition': 'host_os == "mac" and host_cpu == "arm64"', |
| }, |
| { |
| 'object_name': 'Mac_arm64/clang-tidy-llvmorg-24-init-7747-g62397f8b-31.tar.xz', |
| 'sha256sum': '89e2d2a6fc395122860b350e78d66335bd7338c3ab423e09d1c76cdae4e7ae14', |
| 'size_bytes': 12224780, |
| 'generation': 1790206333206094, |
| 'condition': 'host_os == "mac" and host_cpu == "arm64" and checkout_clang_tidy', |
| }, |
| { |
| 'object_name': 'Mac_arm64/clangd-llvmorg-24-init-7747-g62397f8b-31.tar.xz', |
| 'sha256sum': 'cb7ba6b70cc3a4aafb10d4121a3f30de6d02f7e27d4d30d5bbe65e60e0591897', |
| 'size_bytes': 12229972, |
| 'generation': 1790206333163716, |
| 'condition': 'host_os == "mac" and host_cpu == "arm64" and checkout_clangd', |
| }, |
| { |
| 'object_name': 'Mac_arm64/llvm-code-coverage-llvmorg-24-init-7747-g62397f8b-31.tar.xz', |
| 'sha256sum': '43ccef7045db9d9ba5cbf8aaeb4f2ab1485ad36d117d39efa284f6a450ad09f6', |
| 'size_bytes': 1862288, |
| 'generation': 1790206333426576, |
| 'condition': 'host_os == "mac" and host_cpu == "arm64" and checkout_clang_coverage_tools', |
| }, |
| { |
| 'object_name': 'Mac_arm64/llvmobjdump-llvmorg-24-init-7747-g62397f8b-31.tar.xz', |
| 'sha256sum': '23cc462a5cc526009d4edd6b9117d7fd15aa7d3058ce053742fcb7579299abbe', |
| 'size_bytes': 5223208, |
| 'generation': 1790206333245392, |
| 'condition': 'host_os == "mac" and host_cpu == "arm64"', |
| }, |
| { |
| 'object_name': 'Win/clang-llvmorg-24-init-7747-g62397f8b-31.tar.xz', |
| 'sha256sum': '6e39dc99ae9b374f37996f055b8141cb530552fb393d9f1a2076e56af1de4b1b', |
| 'size_bytes': 51800020, |
| 'generation': 1790206342161053, |
| 'condition': 'host_os == "win"', |
| }, |
| { |
| 'object_name': 'Win/clang-tidy-llvmorg-24-init-7747-g62397f8b-31.tar.xz', |
| 'sha256sum': '44743a0d903f7d0bcc7b289111aad8acceb75ab99ef4f9c146af44e28db4327f', |
| 'size_bytes': 15134996, |
| 'generation': 1790206342323055, |
| 'condition': 'host_os == "win" and checkout_clang_tidy', |
| }, |
| { |
| 'object_name': 'Win/clang-win-runtime-library-llvmorg-24-init-7747-g62397f8b-31.tar.xz', |
| 'sha256sum': '77d88eceb1ed6f634d3238201daae755d60e09f0dc105de395598b10e0456d30', |
| 'size_bytes': 2651820, |
| 'generation': 1790206349878051, |
| 'condition': 'checkout_win and not host_os == "win"', |
| }, |
| { |
| 'object_name': 'Win/clangd-llvmorg-24-init-7747-g62397f8b-31.tar.xz', |
| 'sha256sum': '413789570396c64283a6dc73e23c560603c539e4bfdf93e85d3cc47bc49c14a1', |
| 'size_bytes': 15449256, |
| 'generation': 1790206342383399, |
| 'condition': 'host_os == "win" and checkout_clangd', |
| }, |
| { |
| 'object_name': 'Win/llvm-code-coverage-llvmorg-24-init-7747-g62397f8b-31.tar.xz', |
| 'sha256sum': 'eea1347411f2ebdd458f64782b8a93321701b2f374e2d7d61093f4676d22365d', |
| 'size_bytes': 2526560, |
| 'generation': 1790206342514388, |
| 'condition': 'host_os == "win" and checkout_clang_coverage_tools', |
| }, |
| { |
| 'object_name': 'Win/llvmobjdump-llvmorg-24-init-7747-g62397f8b-31.tar.xz', |
| 'sha256sum': '5d18462951c1f188451eb291ac7409da1d40ac0958d1969f6ef0d479bc847322', |
| 'size_bytes': 6017340, |
| 'generation': 1790206342524936, |
| '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-2-llvmorg-24-init-7747-g62397f8b.tar.xz', |
| 'sha256sum': '5a56edc35db24efbbe0373c724457c31a1febd75cbef6ac7fc9a1c5bca6fc697', |
| 'size_bytes': 276524576, |
| 'generation': 1789143384016025, |
| 'condition': 'host_os == "linux" and non_git_source', |
| }, |
| { |
| 'object_name': 'Mac/rust-toolchain-1edd55dcfcd573872c727fa3e086369a71661ee0-2-llvmorg-24-init-7747-g62397f8b.tar.xz', |
| 'sha256sum': '62530251d7e7d3741840289a45a3e4950ad0023857e03bf0e9d57f2d723a8624', |
| 'size_bytes': 264337576, |
| 'generation': 1789143387895737, |
| 'condition': 'host_os == "mac" and host_cpu == "x64"', |
| }, |
| { |
| 'object_name': 'Mac_arm64/rust-toolchain-1edd55dcfcd573872c727fa3e086369a71661ee0-2-llvmorg-24-init-7747-g62397f8b.tar.xz', |
| 'sha256sum': '5db21ffd4909ce82c0832df9d1eb06b01b15a54176b7341e39f7181f4b483dbc', |
| 'size_bytes': 248304876, |
| 'generation': 1789143391575553, |
| 'condition': 'host_os == "mac" and host_cpu == "arm64"', |
| }, |
| { |
| 'object_name': 'Win/rust-toolchain-1edd55dcfcd573872c727fa3e086369a71661ee0-2-llvmorg-24-init-7747-g62397f8b.tar.xz', |
| 'sha256sum': '487387d6c7cfec69b06d613eb0f68331a3b56b1081f73bc673a1b26299865379', |
| 'size_bytes': 416611108, |
| 'generation': 1789143395284107, |
| '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@47dce8466cd71943f64df3860e608957d6e20007', |
| 'src/third_party/compiler-rt/src': |
| 'https://chromium.googlesource.com/external/github.com/llvm/llvm-project/compiler-rt.git@5296d7a681a50c1ada10faf4b88b5613edb40d4d', |
| '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@136b7ca4a0a837995584e728758a07a502dd4a08', |
| 'src/third_party/llvm-libc/src': |
| 'https://chromium.googlesource.com/external/github.com/llvm/llvm-project/libc.git@ffb2c561c35da92f5f7b11c1b6934de43ba2baac', |
| 'src/third_party/libunwind/src': |
| 'https://chromium.googlesource.com/external/github.com/llvm/llvm-project/libunwind.git@ac5dcbe905e60d730bff7c5a11667571f3d0bca5', |
| |
| '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': 'v45fMxp0I1ypgTGwRUVKh2k2jXxAgAUNvCO-LPFjpaAC', |
| }, |
| ], |
| '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', |
| 'version': '7tEuuB92wV8xh54fCO0bRk_6FS_7XtsBl9LB5Tf5d0AC', |
| }, |
| ], |
| 'condition': 'checkout_android', |
| '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': 'RGU_pYZ7wIDYsomPZurJEevS4IVfXFNvxf_2KIpV_40C', |
| }, |
| ], |
| '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': 'hlge2bvrew-6bOssoVOamzqfzaF3I8BRw5Y4BK8TREkC', |
| }, |
| ], |
| '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@5fbad2285b096858fc9afa3e4c949fde39452070', |
| 'src/third_party/breakpad/breakpad': |
| 'https://chromium.googlesource.com/breakpad/breakpad.git@868abe6f016cfeabfb7208681e89031ae667c336', |
| 'src/third_party/catapult': |
| 'https://chromium.googlesource.com/catapult.git@1abb561557ececf9dbb1313aee2aca77ab043b07', |
| '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@349b317591691a0b0bc8d2e7588eba8fbf0c2380', |
| '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@d3d14cf725333da9b980ba659195ba8bf536a7d3', |
| }, |
| # Used for embedded builds. CrOS & Linux use the system version. |
| 'src/third_party/fontconfig/src': { |
| 'url': 'https://chromium.googlesource.com/external/fontconfig.git@bd8f7b597de96761750d0365abb49b19d2f8d5c3', |
| '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@f5efbbef3841bdcdc6427bde7c2971f62ac8c8f1', |
| '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@838b9b3ed5181c96dcde04bd71a6c1351f7882a8', |
| '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': 'iWMJm1LfMLY_mVk7xBPapaJZCyXZrrm4KI7iJP3bXvIC', |
| }, |
| ], |
| '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@9951014982324338ea932dfdba259aeb1cca70f7', |
| 'src/third_party/fuzztest/src': |
| 'https://chromium.googlesource.com/external/github.com/google/fuzztest.git@c7efaf2bdfb934e49b515c1db04774480bd6f82c', |
| '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@854dd6f4cbc4ce92c3d837b12bb0beb5f1ac8336', |
| 'src/third_party/libaom/source/libaom': |
| 'https://aomedia.googlesource.com/aom.git@7b6197cb8fdc1ce555a03d23a9d25242c61d38e6', |
| 'src/third_party/libgav1/src': |
| Var('chromium_git') + '/codecs/libgav1.git' + '@' + 'c1deec657b32b911920c78e078cfd089faa77200', |
| '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' + '@' + 'f6966cacc016c3dfddfbc74b74c77867e03f8d7a', |
| '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@5e680f30801d03c21078f8c4b772464752516211', |
| 'src/third_party/libyuv': |
| 'https://chromium.googlesource.com/libyuv/libyuv.git@41a6e684a68950f07912b7e6f57ba3fa2e10fb65', |
| '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' + '@' + '51898bc68243bf1f096b49420f96312df48c363f', |
| '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' + '@' + 'db604c8f1960dc2047f1d708d521b28dba058dc9', |
| |
| 'src/third_party/r8/cipd': { |
| 'packages': [ |
| { |
| 'package': 'chromium/third_party/r8', |
| 'version': 'w54n0EzIuf2nxIQEJKv3LqGFqg_hJ-HDBOAxQWcu46IC', |
| }, |
| ], |
| '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': 'IftCs1-T5uV7FcoEpDBQyEzPJr0DguIcmwK2BrNjsMYC', |
| }, |
| ], |
| 'condition': 'checkout_android', |
| 'dep_type': 'cipd', |
| }, |
| 'src/third_party/requests/src': { |
| 'url': 'https://chromium.googlesource.com/external/github.com/kennethreitz/requests.git@c7e0fc087ceeadb8b4c84a0953a422c474093d6d', |
| 'condition': 'checkout_android', |
| }, |
| 'src/tools': |
| 'https://chromium.googlesource.com/chromium/src/tools@0d9c7e890550a5be30d892bd56238325e10a4a0a', |
| |
| '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': 'yfMv1nBbg8hNa256uWCMTnYDmyQtGnHL5qM6wyU0CTYC', |
| }, |
| ], |
| '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': 'O0KQQ1A1r1qMudJFEkycDqz-hab-YkLj97zZJD-UdUoC', |
| }, |
| ], |
| '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' + '@' + '9edd58f895c58c3db484a9e39ab2e953baca4bca', |
| |
| 'src/third_party/turbine/cipd': { |
| 'packages': [ |
| { |
| 'package': 'chromium/third_party/turbine', |
| 'version': 'rqbGMhci4trzUCXgMBzoRMpTKADs_F5sWUKJXxsu6BYC', |
| }, |
| ], |
| '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/autorolled/cipd': { |
| 'packages': [ |
| { |
| 'package': 'chromium/third_party/android_deps/autorolled', |
| 'version': '-VG0wmSq86E_kYUtjovcWcZ9CHJExiXYLZW21pDxZ6sC', |
| }, |
| ], |
| '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' + '@' + 'b6d54fe94520ee6e1181ca1b402f71dbb5d50efa', |
| |
| 'src/third_party/farmhash/src': |
| Var('chromium_git') + '/external/github.com/google/farmhash.git' + '@' + '816a4ae622e964763ca0862d9dbd19324a1eaf45', |
| |
| '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' + '@' + '087757ad50159b5bd86ab73e4df34e6b4ea74258', |
| |
| '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", |
| ] |
| } |