| # 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@31.0.16996043'), | |
| # 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': 'c98c507bf3cd60f6efe8291e03bbb1ccf5b11fdd', | |
| # Fetch the prebuilt binaries for llvm-cov and llvm-profdata. Needed to | |
| # process the raw profiles produced by instrumented targets (built with | |
| # the gn arg 'use_clang_coverage'). | |
| 'checkout_clang_coverage_tools': False, | |
| # Fetch clangd into the same bin/ directory as our clang binary. | |
| 'checkout_clangd': False, | |
| # Fetch clang-tidy into the same bin/ directory as our clang binary. | |
| 'checkout_clang_tidy': False, | |
| 'chromium_git': 'https://chromium.googlesource.com', | |
| # ResultDB version | |
| 'result_adapter_revision': 'git_revision:5fb3ca203842fd691cab615453f8e5a14302a1d8', | |
| # By default, download the fuchsia sdk from the public sdk directory. | |
| 'fuchsia_sdk_cipd_prefix': 'fuchsia/sdk/core/', | |
| 'fuchsia_version': 'version:34.20261130.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', | |
| # siso CIPD package version. | |
| 'siso_version': 'git_revision:253ebfc3d644e5234cd410d225fc164a93f9d733', | |
| # CPython 3 CIPD package version for Siso hermetic toolchain. | |
| 'cpython3_version': 'version:3@3.11.9.chromium.39', | |
| # Android aapt2 CIPD package version. | |
| 'aapt2_version': 'version:2@9.6.0-alpha05-16953823', | |
| # 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@124d6fb5988adf865255bf3d806e8b465cc92cda', | |
| 'src/buildtools': | |
| 'https://chromium.googlesource.com/chromium/src/buildtools@5f0fb285fe8af8fdf0c1b8e9822e4c88def01121', | |
| # 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@ad5aa19a66f2070dd1cb9f5b11714899616f9a58', | |
| 'condition': 'checkout_ios', | |
| }, | |
| 'src/testing': | |
| 'https://chromium.googlesource.com/chromium/src/testing@9678d4713f77e7afe02b0468bbeb7ff15fc1b13f', | |
| 'src/third_party': | |
| 'https://chromium.googlesource.com/chromium/src/third_party@47208f6834cc954eb5deb1b787ed084f7f3ac3ac', | |
| 'src/buildtools/third_party/mold/cipd': { | |
| 'packages': [ | |
| { | |
| 'package': 'chromium/buildtools/third_party/mold/mold', | |
| 'version': '0OzkVFQi9pj_rQ6fpMiHwNyQZD_0qbOxPxvkXPjMtbYC', | |
| }, | |
| ], | |
| 'condition': 'host_os == "linux" and non_git_source', | |
| 'dep_type': 'cipd', | |
| }, | |
| 'src/buildtools/linux64': { | |
| 'packages': [ | |
| { | |
| 'package': 'gn/gn/linux-${{arch}}', | |
| 'version': 'git_revision:7a47910abe409c182157155f733ce531710787b0', | |
| } | |
| ], | |
| 'dep_type': 'cipd', | |
| 'condition': 'checkout_linux', | |
| }, | |
| 'src/buildtools/mac': { | |
| 'packages': [ | |
| { | |
| 'package': 'gn/gn/mac-${{arch}}', | |
| 'version': 'git_revision:7a47910abe409c182157155f733ce531710787b0', | |
| } | |
| ], | |
| 'dep_type': 'cipd', | |
| 'condition': 'checkout_mac', | |
| }, | |
| 'src/buildtools/win': { | |
| 'packages': [ | |
| { | |
| 'package': 'gn/gn/windows-amd64', | |
| 'version': 'git_revision:7a47910abe409c182157155f733ce531710787b0', | |
| } | |
| ], | |
| 'dep_type': 'cipd', | |
| 'condition': 'checkout_win', | |
| }, | |
| 'src/third_party/llvm-build/Release+Asserts': { | |
| 'dep_type': 'gcs', | |
| 'bucket': 'chromium-browser-clang', | |
| 'condition': 'not llvm_force_head_revision', | |
| 'objects': [ | |
| { | |
| 'object_name': 'Linux_x64/clang-android-runtime-library-llvmorg-24-init-22876-g87a9299d-2.tar.xz', | |
| 'sha256sum': '3dbc9d429cfa913158a930322d17d8795b31951141d9482584e2532020dbb18b', | |
| 'size_bytes': 6209772, | |
| 'generation': 1796058863222081, | |
| 'condition': 'checkout_android and non_git_source', | |
| }, | |
| { | |
| 'object_name': 'Linux_x64/clang-linux-runtime-library-llvmorg-24-init-22876-g87a9299d-2.tar.xz', | |
| 'sha256sum': 'fad0a5afd2748b681bede941313527fae055dbe3f859ceb52e02a94d70fd87f3', | |
| 'size_bytes': 3166680, | |
| 'generation': 1796058868093353, | |
| 'condition': 'checkout_linux and not host_os == "linux"', | |
| }, | |
| { | |
| 'object_name': 'Linux_x64/clang-llvmorg-24-init-22876-g87a9299d-2.tar.xz', | |
| 'sha256sum': 'd678aaa385dd23b077984713cf97ad08361b7751d8bb5a0e6ee12bd8caa58745', | |
| 'size_bytes': 59879680, | |
| 'generation': 1796058860421524, | |
| 'condition': '(host_os == "linux" or checkout_android) and non_git_source', | |
| }, | |
| { | |
| 'object_name': 'Linux_x64/clang-tidy-llvmorg-24-init-22876-g87a9299d-2.tar.xz', | |
| 'sha256sum': '5f1a2406544f972413dd2e57200875af7773fcc0dc44bac27c8aed618ada943c', | |
| 'size_bytes': 15465540, | |
| 'generation': 1796058860436328, | |
| 'condition': 'host_os == "linux" and checkout_clang_tidy and non_git_source', | |
| }, | |
| { | |
| 'object_name': 'Linux_x64/clangd-llvmorg-24-init-22876-g87a9299d-2.tar.xz', | |
| 'sha256sum': '6170f4c27ae90c3ebdf2b620f009cb2132265f0e3d1c74f322fcaf8df4023c73', | |
| 'size_bytes': 15987380, | |
| 'generation': 1796058860500421, | |
| 'condition': 'host_os == "linux" and checkout_clangd and non_git_source', | |
| }, | |
| { | |
| 'object_name': 'Linux_x64/llvm-code-coverage-llvmorg-24-init-22876-g87a9299d-2.tar.xz', | |
| 'sha256sum': 'd394cb8e1276b1b34b2fac82a270a1bf8e585f937361dffa35c8d78422b0b217', | |
| 'size_bytes': 2445772, | |
| 'generation': 1796058860682921, | |
| 'condition': 'host_os == "linux" and checkout_clang_coverage_tools and non_git_source', | |
| }, | |
| { | |
| 'object_name': 'Linux_x64/llvmobjdump-llvmorg-24-init-22876-g87a9299d-2.tar.xz', | |
| 'sha256sum': 'f81ff98893507cda5237c0c59a1233a75959a86936a689fef88bf10a152e940d', | |
| 'size_bytes': 6058760, | |
| 'generation': 1796058860614127, | |
| 'condition': '((checkout_linux or checkout_mac or checkout_android) and host_os == "linux") and non_git_source', | |
| }, | |
| { | |
| 'object_name': 'Mac/clang-llvmorg-24-init-22876-g87a9299d-2.tar.xz', | |
| 'sha256sum': 'dc0e0bd4735c18e567314a87fddc7b957220540fb78846cf6c95c44f6bdb5862', | |
| 'size_bytes': 55715916, | |
| 'generation': 1796058869437037, | |
| 'condition': 'host_os == "mac" and host_cpu == "x64"', | |
| }, | |
| { | |
| 'object_name': 'Mac/clang-mac-runtime-library-llvmorg-24-init-22876-g87a9299d-2.tar.xz', | |
| 'sha256sum': '0aa6e6a2920a351ea584b8c7af92b2ef19c5bc86b47166cf80329cb04a7b5c90', | |
| 'size_bytes': 1285532, | |
| 'generation': 1796058876600557, | |
| 'condition': 'checkout_mac and not host_os == "mac"', | |
| }, | |
| { | |
| 'object_name': 'Mac/clang-tidy-llvmorg-24-init-22876-g87a9299d-2.tar.xz', | |
| 'sha256sum': 'f86ad10034e2606e9cc0ded958e3821fbf5361c38ee1f5650592d86395b619c8', | |
| 'size_bytes': 14563428, | |
| 'generation': 1796058869576797, | |
| 'condition': 'host_os == "mac" and host_cpu == "x64" and checkout_clang_tidy', | |
| }, | |
| { | |
| 'object_name': 'Mac/clangd-llvmorg-24-init-22876-g87a9299d-2.tar.xz', | |
| 'sha256sum': '419e2ef81d8c248d97e1bdee711ebf6c235363c2125ffcf58b91e4999e11fa49', | |
| 'size_bytes': 15635548, | |
| 'generation': 1796058869686227, | |
| 'condition': 'host_os == "mac" and host_cpu == "x64" and checkout_clangd', | |
| }, | |
| { | |
| 'object_name': 'Mac/llvm-code-coverage-llvmorg-24-init-22876-g87a9299d-2.tar.xz', | |
| 'sha256sum': '0f93b0f79e6d4167de542d30015e6fa27e84eaf7698d7e2c627144dc0b191c7f', | |
| 'size_bytes': 2323628, | |
| 'generation': 1796058869885890, | |
| 'condition': 'host_os == "mac" and host_cpu == "x64" and checkout_clang_coverage_tools', | |
| }, | |
| { | |
| 'object_name': 'Mac/llvmobjdump-llvmorg-24-init-22876-g87a9299d-2.tar.xz', | |
| 'sha256sum': '34014e895887c0c4eae4b5f26f84ab96719b2408df184c369b057ae0adc61215', | |
| 'size_bytes': 5631388, | |
| 'generation': 1796058869704970, | |
| 'condition': 'host_os == "mac" and host_cpu == "x64"', | |
| }, | |
| { | |
| 'object_name': 'Mac_arm64/clang-llvmorg-24-init-22876-g87a9299d-2.tar.xz', | |
| 'sha256sum': 'ee6995217a7e419e9394b4f362745f511fa3601a6d6bd3eec33ec71963ef700a', | |
| 'size_bytes': 45741008, | |
| 'generation': 1796058877911062, | |
| 'condition': 'host_os == "mac" and host_cpu == "arm64"', | |
| }, | |
| { | |
| 'object_name': 'Mac_arm64/clang-tidy-llvmorg-24-init-22876-g87a9299d-2.tar.xz', | |
| 'sha256sum': '5114608bb13434f0f95524c2a64f6fdfc1f564e8319d7eb731c96d1283c14f9c', | |
| 'size_bytes': 12438612, | |
| 'generation': 1796058878023554, | |
| 'condition': 'host_os == "mac" and host_cpu == "arm64" and checkout_clang_tidy', | |
| }, | |
| { | |
| 'object_name': 'Mac_arm64/clangd-llvmorg-24-init-22876-g87a9299d-2.tar.xz', | |
| 'sha256sum': 'a9447a878739935784027543668e619f021190132a788f840e94cfcf4fba2d7b', | |
| 'size_bytes': 12430520, | |
| 'generation': 1796058878137110, | |
| 'condition': 'host_os == "mac" and host_cpu == "arm64" and checkout_clangd', | |
| }, | |
| { | |
| 'object_name': 'Mac_arm64/llvm-code-coverage-llvmorg-24-init-22876-g87a9299d-2.tar.xz', | |
| 'sha256sum': '4322ecd5befe5244eb8320d76c87df8979ba9a8eb417d17adebd986c1c1fc7ff', | |
| 'size_bytes': 1910084, | |
| 'generation': 1796058878362025, | |
| 'condition': 'host_os == "mac" and host_cpu == "arm64" and checkout_clang_coverage_tools', | |
| }, | |
| { | |
| 'object_name': 'Mac_arm64/llvmobjdump-llvmorg-24-init-22876-g87a9299d-2.tar.xz', | |
| 'sha256sum': 'b17e588cc31c4c1e548f74ae515f7c37fdf918a3f8abed4890aa881967cd80e7', | |
| 'size_bytes': 5316328, | |
| 'generation': 1796058878216493, | |
| 'condition': 'host_os == "mac" and host_cpu == "arm64"', | |
| }, | |
| { | |
| 'object_name': 'Win/clang-llvmorg-24-init-22876-g87a9299d-2.tar.xz', | |
| 'sha256sum': '1dd760034a3056943342bb445e91294cfa55bb479bd95b7bdb8afd8f1a813914', | |
| 'size_bytes': 53603356, | |
| 'generation': 1796058886936662, | |
| 'condition': 'host_os == "win"', | |
| }, | |
| { | |
| 'object_name': 'Win/clang-tidy-llvmorg-24-init-22876-g87a9299d-2.tar.xz', | |
| 'sha256sum': '151d4870478ddf63b8becf331a5a0268e6e8062bc24453e69ba648810cfee5d3', | |
| 'size_bytes': 15714336, | |
| 'generation': 1796058887006229, | |
| 'condition': 'host_os == "win" and checkout_clang_tidy', | |
| }, | |
| { | |
| 'object_name': 'Win/clang-win-runtime-library-llvmorg-24-init-22876-g87a9299d-2.tar.xz', | |
| 'sha256sum': '07e6369093384f76f38f66461c45610337e063989b940ea86bcd0db7764f98ae', | |
| 'size_bytes': 2725128, | |
| 'generation': 1796058894228237, | |
| 'condition': 'checkout_win and not host_os == "win"', | |
| }, | |
| { | |
| 'object_name': 'Win/clangd-llvmorg-24-init-22876-g87a9299d-2.tar.xz', | |
| 'sha256sum': '4483d459661ae11567f109d004d88d60973bde29c3b1bf9694dab3cb2c7a47f1', | |
| 'size_bytes': 16146968, | |
| 'generation': 1796058887081557, | |
| 'condition': 'host_os == "win" and checkout_clangd', | |
| }, | |
| { | |
| 'object_name': 'Win/llvm-code-coverage-llvmorg-24-init-22876-g87a9299d-2.tar.xz', | |
| 'sha256sum': '9bb4312d3d61e42d08958a15e925f9c1bd2f8df48cdf4f13324493a8f3fc162c', | |
| 'size_bytes': 2622808, | |
| 'generation': 1796058887364806, | |
| 'condition': 'host_os == "win" and checkout_clang_coverage_tools', | |
| }, | |
| { | |
| 'object_name': 'Win/llvmobjdump-llvmorg-24-init-22876-g87a9299d-2.tar.xz', | |
| 'sha256sum': '0dd9b952c0fd52f179a85fc1a4b037d9aabe67b70d65aa5fb35b34317e1aa6d1', | |
| 'size_bytes': 6175888, | |
| 'generation': 1796058887200399, | |
| '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-b8794ab3b96cbe1cd0698ecec35b7ffcedc9e995-1-llvmorg-24-init-22876-g87a9299d.tar.xz', | |
| 'sha256sum': '617bf99a6363c152463aca2c28d402510f567c66e768fb72ff84af2a4b161090', | |
| 'size_bytes': 285545620, | |
| 'generation': 1795795788853512, | |
| 'condition': 'host_os == "linux" and non_git_source', | |
| }, | |
| { | |
| 'object_name': 'Mac/rust-toolchain-b8794ab3b96cbe1cd0698ecec35b7ffcedc9e995-1-llvmorg-24-init-22876-g87a9299d.tar.xz', | |
| 'sha256sum': '96bab4dc06d84bc3c70e12c9493959ddc3bd36a2b822cb059de1fbbd34a69d0b', | |
| 'size_bytes': 273534484, | |
| 'generation': 1795795792687307, | |
| 'condition': 'host_os == "mac" and host_cpu == "x64"', | |
| }, | |
| { | |
| 'object_name': 'Mac_arm64/rust-toolchain-b8794ab3b96cbe1cd0698ecec35b7ffcedc9e995-1-llvmorg-24-init-22876-g87a9299d.tar.xz', | |
| 'sha256sum': 'b340f12c20a84f00d5eeadce3b0a7a392683e76936d8ba19dda3da0bc2f8c60b', | |
| 'size_bytes': 257211036, | |
| 'generation': 1795795796987826, | |
| 'condition': 'host_os == "mac" and host_cpu == "arm64"', | |
| }, | |
| { | |
| 'object_name': 'Win/rust-toolchain-b8794ab3b96cbe1cd0698ecec35b7ffcedc9e995-1-llvmorg-24-init-22876-g87a9299d.tar.xz', | |
| 'sha256sum': '864041dcd85670f93b3a74246bc262981e16520e73d43b907afdaed212026238', | |
| 'size_bytes': 426343772, | |
| 'generation': 1795795800691282, | |
| '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@65b9a76faeba5f10c1f331ad729b3bae89defbbb', | |
| 'src/third_party/compiler-rt/src': | |
| 'https://chromium.googlesource.com/external/github.com/llvm/llvm-project/compiler-rt.git@d3b439193d9696236e83a99023ff8f79e388bca7', | |
| 'src/third_party/libc++/src': | |
| 'https://chromium.googlesource.com/external/github.com/llvm/llvm-project/libcxx.git@0b2639570f95c55377a156b4787549316352296e', | |
| 'src/third_party/libc++abi/src': | |
| 'https://chromium.googlesource.com/external/github.com/llvm/llvm-project/libcxxabi.git@2013ab71edbfc3789eec693ce90283fbc49cd71d', | |
| 'src/third_party/llvm-libc/src': | |
| 'https://chromium.googlesource.com/external/github.com/llvm/llvm-project/libc.git@2ec50d6df2bbdec8f2834878804e799f96a571f6', | |
| 'src/third_party/libunwind/src': | |
| 'https://chromium.googlesource.com/external/github.com/llvm/llvm-project/libunwind.git@9e44ea2ff4f53a60c2a3d2b6f511d7bab9ab12f0', | |
| 'src/third_party/test_fonts/test_fonts': { | |
| 'dep_type': 'gcs', | |
| 'condition': 'non_git_source', | |
| 'bucket': 'chromium-fonts', | |
| 'objects': [ | |
| { | |
| 'object_name': '9c07d19d9c5ee1ff94f717e6fb17e0c8c354e6f9', | |
| 'sha256sum': 'f0e9628f9e43e3f3476cde06a1849058de460e0e037b7449ce0d42b9a73c37d5', | |
| 'size_bytes': 33413117, | |
| 'generation': 1775663926405386, | |
| }, | |
| ], | |
| }, | |
| 'src/third_party/ninja': { | |
| 'packages': [ | |
| { | |
| 'package': Var('ninja_package') + '${{platform}}', | |
| 'version': Var('ninja_version'), | |
| } | |
| ], | |
| 'condition': 'non_git_source', | |
| 'dep_type': 'cipd', | |
| }, | |
| 'src/third_party/siso/cipd': { | |
| 'packages': [ | |
| { | |
| 'package': 'build/siso/${{platform}}', | |
| 'version': Var('siso_version'), | |
| } | |
| ], | |
| 'condition': 'non_git_source', | |
| 'dep_type': 'cipd', | |
| }, | |
| 'src/third_party/android_system_sdk/cipd': { | |
| 'packages': [ | |
| { | |
| 'package': 'chromium/third_party/android_system_sdk/public', | |
| 'version': 'QAcOcO9AlzRvhHOaFCxeQAcdO3qiFPwxUHXUIlSbw3kC', | |
| }, | |
| ], | |
| 'condition': 'checkout_android and non_git_source', | |
| 'dep_type': 'cipd', | |
| }, | |
| 'src/tools/resultdb': { | |
| 'packages': [ | |
| { | |
| 'package': 'infra/tools/result_adapter/${{platform}}', | |
| 'version': Var('result_adapter_revision'), | |
| }, | |
| ], | |
| 'dep_type': 'cipd', | |
| }, | |
| 'src/third_party/android_build_tools/aapt2/cipd': { | |
| 'packages': [ | |
| { | |
| 'package': 'chromium/third_party/android_build_tools/aapt2/${{platform}}', | |
| 'version': Var('aapt2_version'), | |
| }, | |
| ], | |
| 'condition': 'checkout_android and non_git_source and ' | |
| '((host_os == "linux" and host_cpu == "x64") or ' | |
| '(host_os == "mac" and host_cpu == "arm64"))', | |
| 'dep_type': 'cipd', | |
| }, | |
| # Resources are compiled on Linux workers under remote execution, so | |
| # non-Linux hosts also need the Linux aapt2. | |
| 'src/third_party/android_build_tools/aapt2/linux-amd64': { | |
| 'packages': [ | |
| { | |
| 'package': 'chromium/third_party/android_build_tools/aapt2/linux-amd64', | |
| 'version': Var('aapt2_version'), | |
| }, | |
| ], | |
| 'condition': 'checkout_android and non_git_source and host_os != "linux"', | |
| 'dep_type': 'cipd', | |
| }, | |
| 'src/third_party/android_build_tools/bundletool/cipd': { | |
| 'packages': [ | |
| { | |
| 'package': 'chromium/third_party/android_build_tools/bundletool', | |
| 'version': 'CZdrEzq63hX_-nUCP3Gl9kJPprdSwBqm7cHCeGW-_-0C', | |
| }, | |
| ], | |
| 'condition': 'checkout_android', | |
| 'dep_type': 'cipd', | |
| }, | |
| 'src/third_party/android_build_tools/error_prone/cipd': { | |
| 'packages': [ | |
| { | |
| 'package': 'chromium/third_party/android_build_tools/error_prone', | |
| 'version': 'pqbDuWsdkN5Gqwjt8L2qKCE-cd-oBCaQSODhaGKWxx8C', | |
| }, | |
| ], | |
| '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': '0S7Yxq9byZ51dX9PBZgCJbp3-Ma886Qi0pxtM7gZVjcC', | |
| }, | |
| ], | |
| '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@2f17b3f18715ba97e8e6003212818a11e2285a2a', | |
| 'src/third_party/breakpad/breakpad': | |
| 'https://chromium.googlesource.com/breakpad/breakpad.git@52baf8cb839dc6eabd5ae859a76218f2e983ce89', | |
| 'src/third_party/catapult': | |
| 'https://chromium.googlesource.com/catapult.git@defd765185e07d3bd55d7024d2f6d6a1b1b7964f', | |
| '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@6b4124cfaa6b07ec7c2669ea7280ff554468aec8', | |
| 'src/third_party/ffmpeg': | |
| 'https://chromium.googlesource.com/chromium/third_party/ffmpeg.git@6c7ee778ffcc6c587806677d7d6b7e1c901409d9', | |
| 'src/third_party/flatbuffers/src': | |
| 'https://chromium.googlesource.com/external/github.com/google/flatbuffers.git@a86afae9399bbe631d1ea0783f8816e780e236cc', | |
| # Used for embedded builds. CrOS & Linux use the system version. | |
| 'src/third_party/fontconfig/src': { | |
| 'url': 'https://chromium.googlesource.com/external/fontconfig.git@bb21be622280981392c0335fc22202fbba46d247', | |
| 'condition': 'checkout_linux', | |
| }, | |
| 'src/third_party/freetype/src': | |
| 'https://chromium.googlesource.com/chromium/src/third_party/freetype2.git@6065d6a40effdef3d5756642378c2b683dfc51d5', | |
| 'src/third_party/harfbuzz/src': | |
| 'https://chromium.googlesource.com/external/github.com/harfbuzz/harfbuzz.git@c8f3caa93552614c7f2dac71d506671fbe07dacf', | |
| 'src/third_party/google_benchmark/src': { | |
| 'url': 'https://chromium.googlesource.com/external/github.com/google/benchmark.git@a6b4a9f00b36c19af9997d68a1cf6e0b5b3d032c', | |
| }, | |
| 'src/third_party/libpfm4/src': | |
| Var('chromium_git') + '/external/git.code.sf.net/p/perfmon2/libpfm4.git' + '@' + '186a658c3e1e49b0ee3da414a7db8ba971a00cb5', | |
| # WebRTC-only dependency (not present in Chromium). | |
| 'src/third_party/gtest-parallel': | |
| 'https://chromium.googlesource.com/external/github.com/google/gtest-parallel@cd488bdedc1d2cffb98201a17afc1b298b0b90f1', | |
| 'src/third_party/google-truth/src': { | |
| 'url': 'https://chromium.googlesource.com/external/github.com/google/truth.git@f68d7ffb60ca25efa482ca7081e11dbfec46cfe2', | |
| 'condition': 'checkout_android', | |
| }, | |
| 'src/third_party/googletest/src': | |
| 'https://chromium.googlesource.com/external/github.com/google/googletest.git@be8e93c4af1a74234d7d3e3bc2ff0bfa99443bd5', | |
| # Always download Linux x64 package regardless of host OS for RBE workers. | |
| 'src/third_party/cpython3/linux-amd64': { | |
| 'packages': [ | |
| { | |
| 'package': 'infra/3pp/tools/cpython3/linux-amd64', | |
| 'version': Var('cpython3_version'), | |
| }, | |
| ], | |
| 'condition': 'non_git_source', | |
| 'dep_type': 'cipd', | |
| }, | |
| # Host platform package. ${platform} folder is not used as in .gn the variable | |
| # is not initialized yet by the time Python is required. | |
| 'src/third_party/cpython3/host': { | |
| 'packages': [ | |
| { | |
| 'package': 'infra/3pp/tools/cpython3/${{platform}}', | |
| 'version': Var('cpython3_version'), | |
| }, | |
| ], | |
| 'condition': 'non_git_source', | |
| 'dep_type': 'cipd', | |
| }, | |
| 'src/third_party/icu': { | |
| 'url': 'https://chromium.googlesource.com/chromium/deps/icu.git@d3c612f4414600bd06a68db89944df130b5bc248', | |
| }, | |
| 'src/third_party/jdk/current': { | |
| 'packages': [ | |
| { | |
| 'package': 'chromium/third_party/jdk/${{platform}}', | |
| 'version': 'version:2@jdk-25.0.5.1+2.44c1d2b856.cr0', | |
| }, | |
| ], | |
| # Needed on Linux for use on chromium_presubmit (for checkstyle). | |
| 'condition': '(checkout_android or checkout_linux) and non_git_source', | |
| 'dep_type': 'cipd', | |
| }, | |
| # Deprecated - only use for tools which are broken real JDK. | |
| # Not used by WebRTC. Added for compatibility with Chromium. | |
| 'src/third_party/jdk11': { | |
| 'packages': [ | |
| { | |
| 'package': 'chromium/third_party/jdk', | |
| # Do not update this hash - any newer hash will point to JDK17+. | |
| 'version': 'egbcSHbmF1XZQbKxp_PQiGLFWlQK65krTGqQE-Bj4j8C', | |
| }, | |
| ], | |
| 'condition': 'checkout_android', | |
| 'dep_type': 'cipd', | |
| }, | |
| 'src/third_party/jsoncpp/src': | |
| 'https://chromium.googlesource.com/external/github.com/open-source-parsers/jsoncpp.git@93acc7b155048f1a66c43235cc205519f1e7a6ea', | |
| 'src/third_party/junit/src': { | |
| 'url': 'https://chromium.googlesource.com/external/junit.git@890f3c972647de378f25e7271d8fbbd9d3456b79', | |
| 'condition': 'checkout_android', | |
| }, | |
| 'src/third_party/kotlinc/current': { | |
| 'packages': [ | |
| { | |
| 'package': 'chromium/third_party/kotlinc', | |
| 'version': '29Hs9WnXK2hKIfTPzTY-cx-Flrbl2UiiVc1l_t0ljNEC', | |
| }, | |
| ], | |
| '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@dbe5bfb371c7e09c0fce372594e40c41f134bad4', | |
| 'src/third_party/fuzztest/src': | |
| 'https://chromium.googlesource.com/external/github.com/google/fuzztest.git@9a8a0332a6d83f3a11cfb720bbba63da8c9a13d8', | |
| 'src/third_party/libprotobuf-mutator/src': | |
| Var('chromium_git') + '/external/github.com/google/libprotobuf-mutator.git@a0448e5055e4740774e00d496f016d9fcd572200', | |
| 'src/third_party/libjpeg_turbo': | |
| 'https://chromium.googlesource.com/chromium/deps/libjpeg_turbo.git@640f254ad0fa03f6b1f29f89b7dd9366f2f6e533', | |
| 'src/third_party/libsrtp': | |
| 'https://chromium.googlesource.com/chromium/deps/libsrtp.git@cd5d177bf1fde755ddb4c7f0d9ff7693f8b49e5e', | |
| 'src/third_party/dav1d/libdav1d': | |
| 'https://chromium.googlesource.com/external/github.com/videolan/dav1d.git@918e7a67461da56f9c7b5c20842ea1d81b613945', | |
| 'src/third_party/libaom/source/libaom': | |
| 'https://aomedia.googlesource.com/aom.git@93f371ba7baebeb7086aed440996274e6dc020a6', | |
| 'src/third_party/libgav1/src': | |
| Var('chromium_git') + '/codecs/libgav1.git' + '@' + '9f78a5b81409f4880ec0c96cd422851aab9d6d74', | |
| 'src/third_party/perfetto': | |
| Var('chromium_git') + '/external/github.com/google/perfetto.git' + '@' + '36b0dbf29c9396885ea2948796e21f9826b61293', | |
| 'src/third_party/protobuf-javascript/src': | |
| Var('chromium_git') + '/external/github.com/protocolbuffers/protobuf-javascript' + '@' + 'eb59fef711c3d090d54b988b99b7c067d6b7e3a8', | |
| 'src/third_party/libvpx/source/libvpx': | |
| 'https://chromium.googlesource.com/webm/libvpx.git@3187592c8f904e7b975e715843a91df5b775f986', | |
| 'src/third_party/libyuv': | |
| 'https://chromium.googlesource.com/libyuv/libyuv.git@1e2e3a35993609da1d89ac170b907719d555f4b3', | |
| 'src/third_party/lss': { | |
| 'url': 'https://chromium.googlesource.com/linux-syscall-support.git@29164a80da4d41134950d76d55199ea33fbb9613', | |
| 'condition': 'checkout_android or checkout_linux', | |
| }, | |
| 'src/third_party/mockito/src': { | |
| 'url': 'https://chromium.googlesource.com/external/mockito/mockito.git@04a2a289a4222f80ad20717c25144981210d2eac', | |
| 'condition': 'checkout_android', | |
| }, | |
| 'src/third_party/instrumented_libs': { | |
| 'url': Var('chromium_git') + '/chromium/third_party/instrumented_libraries.git' + '@' + '301bc7189ff34af9dc88b8fa0907a1e8a064589e', | |
| 'condition': 'checkout_instrumented_libraries', | |
| }, | |
| # Used by boringssl. | |
| 'src/third_party/nasm': { | |
| 'url': 'https://chromium.googlesource.com/chromium/deps/nasm.git@54b1dcf7995006337c54f6862fd6f77a01e23e4e' | |
| }, | |
| 'src/third_party/openh264/src': | |
| 'https://chromium.googlesource.com/external/github.com/cisco/openh264@78783f195ce116ecbaea83f7fac0ea8a355518b5', | |
| 'src/third_party/re2/src': | |
| 'https://chromium.googlesource.com/external/github.com/google/re2.git@2da0056814cf180480a19f5cf811e7e1c054bf6d', | |
| 'src/third_party/sframe/src': | |
| Var('chromium_git') + '/external/github.com/cisco/sframe' + '@' + '6a37f061f4eda0c6594c91ecf99b5ff498c8c124', | |
| 'src/third_party/r8/cipd': { | |
| 'packages': [ | |
| { | |
| 'package': 'chromium/third_party/r8', | |
| 'version': '1gETgubXsoy8_EqNgAC60bx_E9yYktzUS3Sc0kGCVN4C', | |
| }, | |
| ], | |
| 'condition': 'checkout_android', | |
| 'dep_type': 'cipd', | |
| }, | |
| 'src/third_party/android_build_tools/signflinger/cipd': { | |
| 'packages': [ | |
| { | |
| 'package': 'chromium/third_party/android_build_tools/signflinger', | |
| 'version': 'sR382zqUwar3urYhP_Zf4n9TGzyuJQRGJznAtGCSGOUC', | |
| }, | |
| ], | |
| 'condition': 'checkout_android and non_git_source', | |
| 'dep_type': 'cipd', | |
| }, | |
| 'src/third_party/requests/src': { | |
| 'url': 'https://chromium.googlesource.com/external/github.com/kennethreitz/requests.git@c2b307dbefe21177af03f9feb37181a89a799fcc', | |
| 'condition': 'checkout_android', | |
| }, | |
| 'src/tools': | |
| 'https://chromium.googlesource.com/chromium/src/tools@ca3b83ff8187b270722b53b6288d7e6602dd5118', | |
| '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@31.0.16996043', | |
| }, | |
| ], | |
| 'condition': 'checkout_android', | |
| 'dep_type': 'cipd', | |
| }, | |
| 'src/third_party/androidx/cipd': { | |
| 'packages': [ | |
| { | |
| 'package': 'chromium/third_party/androidx', | |
| 'version': 'zx1PjpNI5yE_7uBmTyvAij5t4xRBYVl2zcz_I0moFpMC', | |
| }, | |
| ], | |
| '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': 'J93NDUW03K-xrUkWi0PifoFh2RCEDpSiLIXN4OGdYcMC', | |
| }, | |
| ], | |
| 'condition': 'checkout_android', | |
| 'dep_type': 'cipd', | |
| }, | |
| 'src/third_party/android_sdk/public': { | |
| 'packages': [ | |
| { | |
| 'package': 'chromium/third_party/android_sdk/public/build-tools/37.0.0/${{os}}', | |
| 'version': 'version_37.0.0', | |
| }, | |
| { | |
| 'package': 'chromium/third_party/android_sdk/public/emulator', | |
| 'version': '9lGp8nTUCRRWGMnI_96HcKfzjnxEJKUcfvfwmA3wXNkC', | |
| }, | |
| { | |
| 'package': 'chromium/third_party/android_sdk/public/platform-tools', | |
| 'version': 'qTD9QdBlBf3dyHsN1lJ0RH6AhHxR42Hmg2Ih-Vj4zIEC' | |
| }, | |
| { | |
| 'package': 'chromium/third_party/android_sdk/public/platforms/android-37.2', | |
| 'version': 'AAswZ5rZBFDhMaH4QbKPmVtP4vnjiNUW_zPhdWvNe6wC', | |
| }, | |
| { | |
| 'package': 'chromium/third_party/android_sdk/public/cmdline-tools/${{os}}', | |
| 'version': 'version:24.0.0', | |
| }, | |
| ], | |
| 'condition': 'checkout_android', | |
| 'dep_type': 'cipd', | |
| }, | |
| 'src/third_party/icu4j/cipd': { | |
| 'packages': [ | |
| { | |
| 'package': 'chromium/third_party/icu4j', | |
| 'version': '8dV7WRVX0tTaNNqkLEnCA_dMofr2MJXFK400E7gOFygC', | |
| }, | |
| ], | |
| 'condition': 'checkout_android', | |
| 'dep_type': 'cipd', | |
| }, | |
| 'src/third_party/robolectric/cipd': { | |
| 'packages': [ | |
| { | |
| 'package': 'chromium/third_party/robolectric/${{platform}}', | |
| 'version': 'version:2@android-all-17-robolectric-16653203-5af0e5518e', | |
| }, | |
| ], | |
| 'condition': 'checkout_android', | |
| 'dep_type': 'cipd', | |
| }, | |
| 'src/third_party/sqlite4java/cipd': { | |
| 'packages': [ | |
| { | |
| 'package': 'chromium/third_party/sqlite4java', | |
| 'version': 'LofjKH9dgXIAJhRYCPQlMFywSwxYimrfDeBmaHc-Z5EC', | |
| }, | |
| ], | |
| 'condition': 'checkout_android', | |
| 'dep_type': 'cipd', | |
| }, | |
| 'src/third_party/tflite/src': | |
| Var('chromium_git') + '/external/github.com/tensorflow/tensorflow.git' + '@' + '78c63d8e372d80c6d5688aac438468c075832f1e', | |
| 'src/third_party/turbine/cipd': { | |
| 'packages': [ | |
| { | |
| 'package': 'chromium/third_party/turbine', | |
| 'version': '_xTbmictVpAQgRqjVZvdw8RzmS93tf3LoyopvkNv-ZkC', | |
| }, | |
| ], | |
| 'condition': 'checkout_android', | |
| 'dep_type': 'cipd', | |
| }, | |
| 'src/third_party/zstd/src': { | |
| 'url': Var('chromium_git') + '/external/github.com/facebook/zstd.git' + '@' + '916e8e70b33317d469a41ee837e47317807815c8', | |
| }, | |
| 'src/tools/luci-go': { | |
| 'packages': [ | |
| { | |
| 'package': 'infra/tools/luci/cas/${{platform}}', | |
| 'version': 'git_revision:a7f59a38d64449f45d1d6de7ff9310f136badc0e', | |
| }, | |
| { | |
| 'package': 'infra/tools/luci/isolate/${{platform}}', | |
| 'version': 'git_revision:a7f59a38d64449f45d1d6de7ff9310f136badc0e', | |
| }, | |
| { | |
| 'package': 'infra/tools/luci/swarming/${{platform}}', | |
| 'version': 'git_revision:a7f59a38d64449f45d1d6de7ff9310f136badc0e', | |
| } | |
| ], | |
| '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': 'TEtG-umr_rozupwjxsHUvHUrxFIezrcGb3CxCw_vXV0C', | |
| }, | |
| ], | |
| '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' + '@' + 'edecd8af5e45bde84a36fa8220c80d6878824de2', | |
| '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' + '@' + '922de128296c181e812eba5a1038898e04b51253', | |
| 'src/third_party/cpuinfo/src': | |
| Var('chromium_git') + '/external/github.com/pytorch/cpuinfo.git' + '@' + '0d9e8c783663a96e299a6d9ee5ae5bb5ed96e07a', | |
| 'src/third_party/eigen3/src': | |
| Var('chromium_git') + '/external/gitlab.com/libeigen/eigen.git' + '@' + '7ea94ffc28e2da61177374962302ee5074dc8778', | |
| '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' + '@' + '8d623bb834cbd65b22dfe352800490223d78d32c', | |
| # Everything coming after this is automatically updated by the auto-roller. | |
| # === ANDROID_DEPS Generated Code Start === | |
| # Generated by //third_party/android_deps/fetch_all.py | |
| # === ANDROID_DEPS Generated Code End === | |
| } | |
| hooks = [ | |
| { | |
| # This clobbers when necessary (based on get_landmines.py). It should be | |
| # an early hook but it will need to be run after syncing Chromium and | |
| # setting up the links, so the script actually exists. | |
| 'name': 'landmines', | |
| 'pattern': '.', | |
| 'action': [ | |
| 'python3', | |
| 'src/build/landmines.py', | |
| '--landmine-scripts', | |
| 'src/tools_webrtc/get_landmines.py', | |
| '--src-dir', | |
| 'src', | |
| ], | |
| }, | |
| { | |
| # Ensure that the DEPS'd "depot_tools" has its self-update capability | |
| # disabled. | |
| 'name': 'disable_depot_tools_selfupdate', | |
| 'pattern': '.', | |
| 'action': [ | |
| 'python3', | |
| 'src/third_party/depot_tools/update_depot_tools_toggle.py', | |
| '--disable', | |
| ], | |
| }, | |
| { | |
| 'name': 'sysroot_arm', | |
| 'pattern': '.', | |
| 'condition': 'checkout_linux and checkout_arm', | |
| 'action': ['python3', 'src/build/linux/sysroot_scripts/install-sysroot.py', | |
| '--arch=arm'], | |
| }, | |
| { | |
| 'name': 'sysroot_arm64', | |
| 'pattern': '.', | |
| 'condition': 'checkout_linux and checkout_arm64', | |
| 'action': ['python3', 'src/build/linux/sysroot_scripts/install-sysroot.py', | |
| '--arch=arm64'], | |
| }, | |
| { | |
| 'name': 'sysroot_x86', | |
| 'pattern': '.', | |
| 'condition': 'checkout_linux and (checkout_x86 or checkout_x64)', | |
| # TODO(mbonadei): change to --arch=x86. | |
| 'action': ['python3', 'src/build/linux/sysroot_scripts/install-sysroot.py', | |
| '--arch=i386'], | |
| }, | |
| { | |
| 'name': 'sysroot_mips', | |
| 'pattern': '.', | |
| 'condition': 'checkout_linux and checkout_mips', | |
| # TODO(mbonadei): change to --arch=mips. | |
| 'action': ['python3', 'src/build/linux/sysroot_scripts/install-sysroot.py', | |
| '--arch=mipsel'], | |
| }, | |
| { | |
| 'name': 'sysroot_x64', | |
| 'pattern': '.', | |
| 'condition': 'checkout_linux and checkout_x64', | |
| # TODO(mbonadei): change to --arch=x64. | |
| 'action': ['python3', 'src/build/linux/sysroot_scripts/install-sysroot.py', | |
| '--arch=amd64'], | |
| }, | |
| { | |
| # Case-insensitivity for the Win SDK. Must run before win_toolchain below. | |
| 'name': 'ciopfs_linux', | |
| 'pattern': '.', | |
| 'condition': 'checkout_win and host_os == "linux"', | |
| 'action': [ 'python3', | |
| 'src/third_party/depot_tools/download_from_google_storage.py', | |
| '--no_resume', | |
| '--bucket', 'chromium-browser-clang/ciopfs', | |
| '-s', 'src/build/ciopfs.sha1', | |
| ] | |
| }, | |
| { | |
| # Update the Windows toolchain if necessary. Must run before 'clang' below. | |
| 'name': 'win_toolchain', | |
| 'pattern': '.', | |
| 'condition': 'checkout_win', | |
| 'action': ['python3', 'src/build/vs_toolchain.py', 'update', '--force'], | |
| }, | |
| { | |
| # Update the Mac toolchain if necessary. | |
| 'name': 'mac_toolchain', | |
| 'pattern': '.', | |
| 'condition': 'checkout_mac', | |
| 'action': ['python3', 'src/build/mac_toolchain.py'], | |
| }, | |
| { | |
| 'name': 'Download Fuchsia SDK from GCS', | |
| 'pattern': '.', | |
| 'condition': 'checkout_fuchsia', | |
| 'action': [ | |
| 'python3', | |
| 'src/build/fuchsia/update_sdk.py', | |
| '--cipd-prefix={fuchsia_sdk_cipd_prefix}', | |
| '--version={fuchsia_version}', | |
| ], | |
| }, | |
| { | |
| 'name': 'Download Fuchsia system images', | |
| 'pattern': '.', | |
| 'condition': 'checkout_fuchsia and checkout_fuchsia_product_bundles', | |
| 'action': [ | |
| 'python3', | |
| 'src/build/fuchsia/update_product_bundles.py', | |
| '{checkout_fuchsia_boot_images}', | |
| ], | |
| }, | |
| { | |
| # Update LASTCHANGE. | |
| 'name': 'lastchange', | |
| 'pattern': '.', | |
| 'action': ['python3', 'src/build/util/lastchange.py', | |
| '-o', 'src/build/util/LASTCHANGE'], | |
| }, | |
| # Pull dsymutil binaries using checked-in hashes. | |
| { | |
| 'name': 'dsymutil_mac_arm64', | |
| 'pattern': '.', | |
| 'condition': 'host_os == "mac" and host_cpu == "arm64"', | |
| 'action': [ 'python3', | |
| 'src/third_party/depot_tools/download_from_google_storage.py', | |
| '--no_resume', | |
| '--bucket', 'chromium-browser-clang', | |
| '-s', 'src/tools/clang/dsymutil/bin/dsymutil.arm64.sha1', | |
| '-o', 'src/tools/clang/dsymutil/bin/dsymutil', | |
| ], | |
| }, | |
| { | |
| 'name': 'dsymutil_mac_x64', | |
| 'pattern': '.', | |
| 'condition': 'host_os == "mac" and host_cpu == "x64"', | |
| 'action': [ 'python3', | |
| 'src/third_party/depot_tools/download_from_google_storage.py', | |
| '--no_resume', | |
| '--bucket', 'chromium-browser-clang', | |
| '-s', 'src/tools/clang/dsymutil/bin/dsymutil.x64.sha1', | |
| '-o', 'src/tools/clang/dsymutil/bin/dsymutil', | |
| ], | |
| }, | |
| # Pull rc binaries using checked-in hashes. | |
| { | |
| 'name': 'rc_win', | |
| 'pattern': '.', | |
| 'condition': 'checkout_win and host_os == "win"', | |
| 'action': [ 'python3', | |
| 'src/third_party/depot_tools/download_from_google_storage.py', | |
| '--no_resume', | |
| '--bucket', 'chromium-browser-clang/rc', | |
| '-s', 'src/build/toolchain/win/rc/win/rc.exe.sha1', | |
| ], | |
| }, | |
| { | |
| 'name': 'rc_mac', | |
| 'pattern': '.', | |
| 'condition': 'checkout_win and host_os == "mac"', | |
| 'action': [ 'python3', | |
| 'src/third_party/depot_tools/download_from_google_storage.py', | |
| '--no_resume', | |
| '--bucket', 'chromium-browser-clang/rc', | |
| '-s', 'src/build/toolchain/win/rc/mac/rc.sha1', | |
| ], | |
| }, | |
| { | |
| 'name': 'rc_linux', | |
| 'pattern': '.', | |
| 'condition': 'checkout_win and host_os == "linux"', | |
| 'action': [ 'python3', | |
| 'src/third_party/depot_tools/download_from_google_storage.py', | |
| '--no_resume', | |
| '--bucket', 'chromium-browser-clang/rc', | |
| '-s', 'src/build/toolchain/win/rc/linux64/rc.sha1', | |
| ], | |
| }, | |
| { | |
| # Download test resources, i.e. video and audio files from Google Storage. | |
| 'pattern': '.', | |
| 'action': ['download_from_google_storage', | |
| '--directory', | |
| '--recursive', | |
| '--num_threads=10', | |
| '--quiet', | |
| '--bucket', 'chromium-webrtc-resources', | |
| 'src/resources'], | |
| }, | |
| { | |
| 'name': 'Generate component metadata for tests', | |
| 'pattern': '.', | |
| 'action': [ | |
| 'vpython3', | |
| 'src/testing/generate_location_tags.py', | |
| '--out', | |
| 'src/testing/location_tags.json', | |
| ], | |
| }, | |
| # Download and initialize "vpython" VirtualEnv environment packages. | |
| { | |
| 'name': 'vpython_common', | |
| 'pattern': '.', | |
| 'action': [ 'vpython3', | |
| '-vpython-spec', 'src/vpython.toml', | |
| '-vpython-tool', 'install', | |
| ], | |
| }, | |
| # Download remote exec cfg files | |
| { | |
| 'name': 'configure_reclient_cfgs', | |
| 'pattern': '.', | |
| 'condition': 'download_remoteexec_cfg', | |
| 'action': ['python3', | |
| 'src/buildtools/reclient_cfgs/configure_reclient_cfgs.py', | |
| '--rbe_instance', | |
| Var('rbe_instance'), | |
| '--quiet', | |
| ], | |
| }, | |
| # Configure Siso for developer builds. | |
| { | |
| 'name': 'configure_siso', | |
| 'pattern': '.', | |
| 'action': ['python3', | |
| 'src/build/config/siso/configure_siso.py', | |
| '--rbe_instance', | |
| Var('rbe_instance'), | |
| ], | |
| }, | |
| { | |
| # Ensure we remove any file from disk that is no longer needed (e.g. after | |
| # hooks to native GCS deps migration). | |
| 'name': 'remove_stale_files', | |
| 'pattern': '.', | |
| 'action': [ | |
| 'python3', | |
| 'src/tools/remove_stale_files.py', | |
| 'src/third_party/test_fonts/test_fonts.tar.gz', # Remove after 20240901 | |
| ], | |
| }, | |
| { | |
| # Populate src/third_party/.git/info/exclude with nested src/third_party/* | |
| # DEPS paths so `gclient sync --reset --delete_unversioned_trees` does not | |
| # delete nested sub-repositories and the Windows toolchain on every build. | |
| 'name': 'configure_third_party_exclude', | |
| 'pattern': '.', | |
| 'action': [ | |
| 'python3', | |
| 'src/tools_webrtc/configure_third_party_exclude.py', | |
| ], | |
| }, | |
| ] | |
| pre_deps_hooks = [ | |
| { | |
| 'name': 'configure_third_party_exclude', | |
| 'pattern': '.', | |
| 'action': [ | |
| 'python3', | |
| 'src/tools_webrtc/configure_third_party_exclude.py', | |
| ], | |
| }, | |
| ] | |
| recursedeps = [ | |
| 'src/buildtools', | |
| 'src/third_party/instrumented_libs', | |
| ] | |
| # Define rules for which include paths are allowed in our source. | |
| include_rules = [ | |
| # Base is only used to build Android APK tests and may not be referenced by | |
| # WebRTC production code. | |
| "-base", | |
| "-chromium", | |
| "+external/webrtc/webrtc", # Android platform build. | |
| "+libyuv", | |
| # These should eventually move out of here. | |
| "+common_types.h", | |
| "+WebRTC", | |
| "+api", | |
| "+modules/include", | |
| "+rtc_base", | |
| "+test", | |
| "+rtc_tools", | |
| # Abseil allowlist. Keep this in sync with abseil-in-webrtc.md. | |
| "+absl/algorithm/algorithm.h", | |
| "+absl/algorithm/container.h", | |
| "+absl/base/attributes.h", | |
| "+absl/base/config.h", | |
| "+absl/base/nullability.h", | |
| "+absl/base/macros.h", | |
| "+absl/base/no_destructor.h", | |
| "+absl/cleanup/cleanup.h", | |
| "+absl/container", | |
| "-absl/container/fixed_array.h", | |
| "+absl/crc", | |
| "+absl/functional/any_invocable.h", | |
| "+absl/functional/bind_front.h", | |
| "+absl/functional/overload.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", | |
| ] | |
| } |