tor-browser

The Tor Browser
git clone https://git.dasho.dev/tor-browser.git
Log | Files | Refs | README | LICENSE

DEPS (53076B)


      1 # This file contains dependencies for WebRTC.
      2 
      3 gclient_gn_args_file = 'src/build/config/gclient_args.gni'
      4 gclient_gn_args = [
      5   'generate_location_tags',
      6 ]
      7 
      8 vars = {
      9   # By default, we should check out everything needed to run on the main
     10   # chromium waterfalls. More info at: crbug.com/570091.
     11   'checkout_configuration': 'default',
     12   'checkout_instrumented_libraries': 'checkout_linux and checkout_configuration == "default"',
     13   'chromium_revision': 'd89832c173b4514a8dd58ded5192f037803ab851',
     14 
     15   # Fetch the prebuilt binaries for llvm-cov and llvm-profdata. Needed to
     16   # process the raw profiles produced by instrumented targets (built with
     17   # the gn arg 'use_clang_coverage').
     18   'checkout_clang_coverage_tools': False,
     19 
     20   # Fetch clangd into the same bin/ directory as our clang binary.
     21   'checkout_clangd': False,
     22 
     23   # Fetch clang-tidy into the same bin/ directory as our clang binary.
     24   'checkout_clang_tidy': False,
     25 
     26   'chromium_git': 'https://chromium.googlesource.com',
     27 
     28   # Keep the Chromium default of generating location tags.
     29   'generate_location_tags': True,
     30 
     31   # ResultDB version
     32   'result_adapter_revision': 'git_revision:5fb3ca203842fd691cab615453f8e5a14302a1d8',
     33 
     34   # By default, download the fuchsia sdk from the public sdk directory.
     35   'fuchsia_sdk_cipd_prefix': 'fuchsia/sdk/core/',
     36   'fuchsia_version': 'version:29.20250927.0.1',
     37   # By default, download the fuchsia images from the fuchsia GCS bucket.
     38   'fuchsia_images_bucket': 'fuchsia',
     39   'checkout_fuchsia': False,
     40   # Since the images are hundreds of MB, default to only downloading the image
     41   # most commonly useful for developers. Bots and developers that need to use
     42   # other images can override this with additional images.
     43   'checkout_fuchsia_boot_images': "terminal.x64",
     44   'checkout_fuchsia_product_bundles': '"{checkout_fuchsia_boot_images}" != ""',
     45 
     46   # Fetch configuration files required for the 'use_remoteexec' gn arg
     47   'download_remoteexec_cfg': False,
     48   # RBE instance to use for running remote builds
     49   'rbe_instance': 'projects/rbe-webrtc-developer/instances/default_instance',
     50   # reclient CIPD package version
     51   'reclient_version': 're_client_version:0.183.0.3b3097cd-gomaip',
     52   # siso CIPD package version.
     53   'siso_version': 'git_revision:f7020b54462c37f1b10a16e68563c338c9f14371',
     54 
     55   # ninja CIPD package.
     56   'ninja_package': 'infra/3pp/tools/ninja/',
     57 
     58   # ninja CIPD package version
     59   # https://chrome-infra-packages.appspot.com/p/infra/3pp/tools/ninja
     60   'ninja_version': 'version:3@1.12.1.chromium.4',
     61 
     62   # condition to allowlist deps for non-git-source processing.
     63   'non_git_source': 'True',
     64 
     65   # This can be overridden, e.g. with custom_vars, to build clang from HEAD
     66   # instead of downloading the prebuilt pinned revision.
     67   'llvm_force_head_revision': False,
     68 }
     69 
     70 deps = {
     71   'src/build':
     72     'https://chromium.googlesource.com/chromium/src/build@045565e91c7360951bddbd0618a20ea59cdd31f3',
     73   'src/buildtools':
     74     'https://chromium.googlesource.com/chromium/src/buildtools@3e6e75d1961a90054ee0e3030ee66b6a04164c10',
     75   # Gradle 6.6.1. Used for testing Android Studio project generation for WebRTC.
     76   'src/examples/androidtests/third_party/gradle': {
     77     'url': 'https://chromium.googlesource.com/external/github.com/gradle/gradle.git@f2d1fb54a951d8b11d25748e4711bec8d128d7e3',
     78     'condition': 'checkout_android',
     79   },
     80   'src/ios': {
     81     'url': 'https://chromium.googlesource.com/chromium/src/ios@700b2480a58ddd3e3d95ef8d86c050f319d3f728',
     82     'condition': 'checkout_ios',
     83   },
     84   'src/testing':
     85     'https://chromium.googlesource.com/chromium/src/testing@c030c132cbab406942fb208b7180f8846aa4abf1',
     86   'src/third_party':
     87     'https://chromium.googlesource.com/chromium/src/third_party@de738129ebb915bbe34cdf06520c7050ef8aa9d9',
     88 
     89   'src/buildtools/linux64': {
     90     'packages': [
     91       {
     92         'package': 'gn/gn/linux-${{arch}}',
     93         'version': 'git_revision:81b24e01531ecf0eff12ec9359a555ec3944ec4e',
     94       }
     95     ],
     96     'dep_type': 'cipd',
     97     'condition': 'checkout_linux',
     98   },
     99   'src/buildtools/mac': {
    100     'packages': [
    101       {
    102         'package': 'gn/gn/mac-${{arch}}',
    103         'version': 'git_revision:81b24e01531ecf0eff12ec9359a555ec3944ec4e',
    104       }
    105     ],
    106     'dep_type': 'cipd',
    107     'condition': 'checkout_mac',
    108   },
    109   'src/buildtools/win': {
    110     'packages': [
    111       {
    112         'package': 'gn/gn/windows-amd64',
    113         'version': 'git_revision:81b24e01531ecf0eff12ec9359a555ec3944ec4e',
    114       }
    115     ],
    116     'dep_type': 'cipd',
    117     'condition': 'checkout_win',
    118   },
    119   'src/buildtools/reclient': {
    120     'packages': [
    121       {
    122          # https://chrome-infra-packages.appspot.com/p/infra/rbe/client/
    123         'package': 'infra/rbe/client/${{platform}}',
    124         'version': Var('reclient_version'),
    125       }
    126     ],
    127     'dep_type': 'cipd',
    128     # Reclient doesn't have linux-arm64 package.
    129     'condition': 'not (host_os == "linux" and host_cpu == "arm64")',
    130   },
    131 
    132   'src/third_party/llvm-build/Release+Asserts': {
    133     'dep_type': 'gcs',
    134     'bucket': 'chromium-browser-clang',
    135     'condition': 'not llvm_force_head_revision',
    136     'objects': [
    137       {
    138         # The Android libclang_rt.builtins libraries are currently only included in the Linux clang package.
    139         'object_name': 'Linux_x64/clang-llvmorg-22-init-8940-g4d4cb757-1.tar.xz',
    140         'sha256sum': '35a8629534f534aa6771470945fc0baa6906b3fffb28433bc08674d343b84c90',
    141         'size_bytes': 55674480,
    142         'generation': 1758743123214066,
    143         'condition': '(host_os == "linux" or checkout_android) and non_git_source',
    144       },
    145       {
    146         'object_name': 'Linux_x64/clang-tidy-llvmorg-22-init-8940-g4d4cb757-1.tar.xz',
    147         'sha256sum': '0342c1f9f546b2c87010418c37eaf494b3bcee24e60a351a880046951bf4d47b',
    148         'size_bytes': 14059964,
    149         'generation': 1758743123322050,
    150         'condition': 'host_os == "linux" and checkout_clang_tidy and non_git_source',
    151       },
    152       {
    153         'object_name': 'Linux_x64/clangd-llvmorg-22-init-8940-g4d4cb757-1.tar.xz',
    154         'sha256sum': '8b9513babd89f706e928be51b9a4c08a4511dae1c152285808d7a25b299ae94b',
    155         'size_bytes': 14210752,
    156         'generation': 1758743123414815,
    157         'condition': 'host_os == "linux" and checkout_clangd and non_git_source',
    158       },
    159       {
    160         'object_name': 'Linux_x64/llvm-code-coverage-llvmorg-22-init-8940-g4d4cb757-1.tar.xz',
    161         'sha256sum': '56bb0093e2e8f71e682f03b0e379d7dac0bacfcc83bfccfd42a4fcd1310fbe75',
    162         'size_bytes': 2272396,
    163         'generation': 1758743123592944,
    164         'condition': 'host_os == "linux" and checkout_clang_coverage_tools and non_git_source',
    165       },
    166       {
    167         'object_name': 'Linux_x64/llvmobjdump-llvmorg-22-init-8940-g4d4cb757-1.tar.xz',
    168         'sha256sum': '9236697d64fc9444b22c90a112f6b3a76ee1edf5b3891af67de0849deb274514',
    169         'size_bytes': 5666148,
    170         'generation': 1758743123461779,
    171         'condition': '((checkout_linux or checkout_mac or checkout_android) and host_os == "linux") and non_git_source',
    172       },
    173       {
    174         'object_name': 'Mac/clang-llvmorg-22-init-8940-g4d4cb757-1.tar.xz',
    175         'sha256sum': '90e1a97b91d9a39bafc719f5e3b4c3cd8bf457c39f1dc4a27e4bfc59b9331bc5',
    176         'size_bytes': 53576996,
    177         'generation': 1758743125100350,
    178         'condition': 'host_os == "mac" and host_cpu == "x64"',
    179       },
    180       {
    181         'object_name': 'Mac/clang-mac-runtime-library-llvmorg-22-init-8940-g4d4cb757-1.tar.xz',
    182         'sha256sum': '7140b54db5936c79bb6f216ea176be70c7e6711f0dec2224369fba76cb9c1572',
    183         'size_bytes': 1004900,
    184         'generation': 1758743135101043,
    185         'condition': 'checkout_mac and not host_os == "mac"',
    186       },
    187       {
    188         'object_name': 'Mac/clang-tidy-llvmorg-22-init-8940-g4d4cb757-1.tar.xz',
    189         'sha256sum': '0ef9124d5c56825ebbd10539298400a0b0d1d8d67e0902a7e89b3fecff7f9b0c',
    190         'size_bytes': 14141008,
    191         'generation': 1758743125225488,
    192         'condition': 'host_os == "mac" and host_cpu == "x64" and checkout_clang_tidy',
    193       },
    194       {
    195         'object_name': 'Mac/clangd-llvmorg-22-init-8940-g4d4cb757-1.tar.xz',
    196         'sha256sum': 'aec08495162681dbfe4e78bd6c728e6f1f410f3fe6c0e070c095dcf4bfda1382',
    197         'size_bytes': 15632104,
    198         'generation': 1758743125301839,
    199         'condition': 'host_os == "mac" and host_cpu == "x64" and checkout_clangd',
    200       },
    201       {
    202         'object_name': 'Mac/llvm-code-coverage-llvmorg-22-init-8940-g4d4cb757-1.tar.xz',
    203         'sha256sum': '36b279a1a6dc9d90e932823138f522e3c2741005e34732bce60fea60881a3963',
    204         'size_bytes': 2321200,
    205         'generation': 1758743125546947,
    206         'condition': 'host_os == "mac" and host_cpu == "x64" and checkout_clang_coverage_tools',
    207       },
    208       {
    209         'object_name': 'Mac/llvmobjdump-llvmorg-22-init-8940-g4d4cb757-1.tar.xz',
    210         'sha256sum': '29e8b2d333ecb6640cf99d9103b999ff2be0bb13fe8300528b4245bf6b88869c',
    211         'size_bytes': 5582716,
    212         'generation': 1758743125362967,
    213         'condition': 'host_os == "mac" and host_cpu == "x64"',
    214       },
    215       {
    216         'object_name': 'Mac_arm64/clang-llvmorg-22-init-8940-g4d4cb757-1.tar.xz',
    217         'sha256sum': '29d82cb9830396c21b967a5784f838dcb3d62abfebd08d67d36821dba6eb4ce8',
    218         'size_bytes': 44576940,
    219         'generation': 1758743136591599,
    220         'condition': 'host_os == "mac" and host_cpu == "arm64"',
    221       },
    222       {
    223         'object_name': 'Mac_arm64/clang-tidy-llvmorg-22-init-8940-g4d4cb757-1.tar.xz',
    224         'sha256sum': '8d7781b19bd032eeda7a94810e5429e0501392ac5585fcd16499a3d72e12ab9e',
    225         'size_bytes': 12142468,
    226         'generation': 1758743136678250,
    227         'condition': 'host_os == "mac" and host_cpu == "arm64" and checkout_clang_tidy',
    228       },
    229       {
    230         'object_name': 'Mac_arm64/clangd-llvmorg-22-init-8940-g4d4cb757-1.tar.xz',
    231         'sha256sum': '16617a896e7304ba76af9cbcab00edeb63753804237fc5055810b2049d00b3dc',
    232         'size_bytes': 12474420,
    233         'generation': 1758743136764487,
    234         'condition': 'host_os == "mac" and host_cpu == "arm64" and checkout_clangd',
    235       },
    236       {
    237         'object_name': 'Mac_arm64/llvm-code-coverage-llvmorg-22-init-8940-g4d4cb757-1.tar.xz',
    238         'sha256sum': '3ae73edf0d6b69d6aa41247c8268aaf292630f708036d55f3e0e5fa2ce340497',
    239         'size_bytes': 1947856,
    240         'generation': 1758743136945536,
    241         'condition': 'host_os == "mac" and host_cpu == "arm64" and checkout_clang_coverage_tools',
    242       },
    243       {
    244         'object_name': 'Mac_arm64/llvmobjdump-llvmorg-22-init-8940-g4d4cb757-1.tar.xz',
    245         'sha256sum': '069266d0ab2b9029908edc0b958af5d5ec3d9cd939b063da7aeeb53548137df9',
    246         'size_bytes': 5277360,
    247         'generation': 1758743136838343,
    248         'condition': 'host_os == "mac" and host_cpu == "arm64"',
    249       },
    250       {
    251         'object_name': 'Win/clang-llvmorg-22-init-8940-g4d4cb757-1.tar.xz',
    252         'sha256sum': 'bec899a7163ba0d446a5355e554cf8644b5e3db729404c6defb077549bc9f1b4',
    253         'size_bytes': 47645664,
    254         'generation': 1758743148772393,
    255         'condition': 'host_os == "win"',
    256       },
    257       {
    258         'object_name': 'Win/clang-tidy-llvmorg-22-init-8940-g4d4cb757-1.tar.xz',
    259         'sha256sum': '10770b3b7b34a0e968cbeb1838b1446080897941c2bb5d192aa6596bbb386c27',
    260         'size_bytes': 14025008,
    261         'generation': 1758743148836717,
    262         'condition': 'host_os == "win" and checkout_clang_tidy',
    263       },
    264       {
    265         'object_name': 'Win/clang-win-runtime-library-llvmorg-22-init-8940-g4d4cb757-1.tar.xz',
    266         'sha256sum': 'fedf17614b4cba1c8edc7f3ad1c4636bb79535068e76ad6fed75fe65515dc4b8',
    267         'size_bytes': 2503180,
    268         'generation': 1758743159444585,
    269         'condition': 'checkout_win and not host_os == "win"',
    270       },
    271       {
    272         'object_name': 'Win/clangd-llvmorg-22-init-8940-g4d4cb757-1.tar.xz',
    273         'sha256sum': '6dcd1c2f3bd7dbd547f8b93b014a3bc9f9d84b0920fc7632f45a6bfc1b359ae1',
    274         'size_bytes': 14366920,
    275         'generation': 1758743148925930,
    276         'condition': 'host_os == "win" and checkout_clangd',
    277       },
    278       {
    279         'object_name': 'Win/llvm-code-coverage-llvmorg-22-init-8940-g4d4cb757-1.tar.xz',
    280         'sha256sum': '57e86c6eeeccb1e6e5b87d87c2231f01e006d9067e2f3ad50530e32674599ad6',
    281         'size_bytes': 2366460,
    282         'generation': 1758743149180966,
    283         'condition': 'host_os == "win" and checkout_clang_coverage_tools',
    284       },
    285       {
    286         'object_name': 'Win/llvmobjdump-llvmorg-22-init-8940-g4d4cb757-1.tar.xz',
    287         'sha256sum': '3f398db586e4f75a48eda2a508be4577a9c54cda78cf03afa57b454801ed5bde',
    288         'size_bytes': 5668924,
    289         'generation': 1758743148999346,
    290         'condition': '(checkout_linux or checkout_mac or checkout_android) and host_os == "win"',
    291       },
    292     ]
    293   },
    294 
    295   # Update prebuilt Rust toolchain.
    296   'src/third_party/rust-toolchain': {
    297     'dep_type': 'gcs',
    298     'bucket': 'chromium-browser-clang',
    299     'objects': [
    300       {
    301         'object_name': 'Linux_x64/rust-toolchain-15283f6fe95e5b604273d13a428bab5fc0788f5a-1-llvmorg-22-init-8940-g4d4cb757.tar.xz',
    302         'sha256sum': '2bdaea0b11cb11a8f2f4dcb79b0dbb4bf38e2bd22479ff8014f55b9b6890e135',
    303         'size_bytes': 142044388,
    304         'generation': 1758743116775859,
    305         'condition': 'host_os == "linux" and non_git_source',
    306       },
    307       {
    308         'object_name': 'Mac/rust-toolchain-15283f6fe95e5b604273d13a428bab5fc0788f5a-1-llvmorg-22-init-8940-g4d4cb757.tar.xz',
    309         'sha256sum': '351347e1930a900c63b3953cdb10775b73572c6145e389f3820ba920816d46ca',
    310         'size_bytes': 135891820,
    311         'generation': 1758743118329536,
    312         'condition': 'host_os == "mac" and host_cpu == "x64"',
    313       },
    314       {
    315         'object_name': 'Mac_arm64/rust-toolchain-15283f6fe95e5b604273d13a428bab5fc0788f5a-1-llvmorg-22-init-8940-g4d4cb757.tar.xz',
    316         'sha256sum': '33d6b8cf4fc6617aa98888a46bc1dbef29ae9a9ebd01c3f248ef8c08ec5f198b',
    317         'size_bytes': 123302332,
    318         'generation': 1758743119839246,
    319         'condition': 'host_os == "mac" and host_cpu == "arm64"',
    320       },
    321       {
    322         'object_name': 'Win/rust-toolchain-15283f6fe95e5b604273d13a428bab5fc0788f5a-1-llvmorg-22-init-8940-g4d4cb757.tar.xz',
    323         'sha256sum': '4f6dfa230e5d401bf9aadd804142b412467177b17d50a3f52a8c69c1957aa2db',
    324         'size_bytes': 199998880,
    325         'generation': 1758743121322555,
    326         'condition': 'host_os == "win"',
    327       },
    328     ],
    329   },
    330 
    331   'src/third_party/clang-format/script':
    332     'https://chromium.googlesource.com/external/github.com/llvm/llvm-project/clang/tools/clang-format.git@37f6e68a107df43b7d7e044fd36a13cbae3413f2',
    333   'src/third_party/compiler-rt/src':
    334     'https://chromium.googlesource.com/external/github.com/llvm/llvm-project/compiler-rt.git@dbef1a89100395f128231024d0c07e4dcfe72140',
    335   'src/third_party/libc++/src':
    336     'https://chromium.googlesource.com/external/github.com/llvm/llvm-project/libcxx.git@b77132b512d5411f8393fd3decb3abaeaf1d3ec8',
    337   'src/third_party/libc++abi/src':
    338     'https://chromium.googlesource.com/external/github.com/llvm/llvm-project/libcxxabi.git@864f61dc9253d56586ada34c388278565ef513f6',
    339   'src/third_party/llvm-libc/src':
    340     'https://chromium.googlesource.com/external/github.com/llvm/llvm-project/libc.git@0c61a55402c6a0d9d6ca2aeb3c6a2613a8bc8c55',
    341   'src/third_party/libunwind/src':
    342     'https://chromium.googlesource.com/external/github.com/llvm/llvm-project/libunwind.git@322be580a5a193a921c349a15747eeeb9a716ad1',
    343 
    344   'src/third_party/test_fonts/test_fonts': {
    345       'dep_type': 'gcs',
    346       'condition': 'non_git_source',
    347       'bucket': 'chromium-fonts',
    348       'objects': [
    349           {
    350               'object_name': 'a28b222b79851716f8358d2800157d9ffe117b3545031ae51f69b7e1e1b9a969',
    351               'sha256sum': 'a28b222b79851716f8358d2800157d9ffe117b3545031ae51f69b7e1e1b9a969',
    352               'size_bytes': 33233004,
    353               'generation': 1746454415712520,
    354           },
    355       ],
    356   },
    357 
    358   'src/third_party/ninja': {
    359     'packages': [
    360       {
    361         'package': Var('ninja_package') + '${{platform}}',
    362         'version': Var('ninja_version'),
    363       }
    364     ],
    365     'condition': 'non_git_source',
    366     'dep_type': 'cipd',
    367   },
    368 
    369   'src/third_party/siso/cipd': {
    370     'packages': [
    371       {
    372         'package': 'build/siso/${{platform}}',
    373         'version': Var('siso_version'),
    374       }
    375     ],
    376     'condition': 'non_git_source',
    377     'dep_type': 'cipd',
    378   },
    379 
    380   'src/third_party/android_system_sdk/cipd': {
    381       'packages': [
    382           {
    383               'package': 'chromium/third_party/android_system_sdk/public',
    384               'version': 'Pfb3HDUW_uRir_VVTCYkGhf6bnPPF55NUJO2WXOxIe0C',
    385           },
    386       ],
    387       'condition': 'checkout_android and non_git_source',
    388       'dep_type': 'cipd',
    389   },
    390 
    391   'src/tools/resultdb': {
    392     'packages': [
    393       {
    394         'package': 'infra/tools/result_adapter/${{platform}}',
    395         'version': Var('result_adapter_revision'),
    396       },
    397     ],
    398     'dep_type': 'cipd',
    399   },
    400 
    401   'src/third_party/android_build_tools/aapt2/cipd': {
    402       'packages': [
    403           {
    404               'package': 'chromium/third_party/android_build_tools/aapt2',
    405               'version': 'vtRNH1sTb9tAlXaPkdqGIH_MDSnuH2GrlWFtT1MhadUC',
    406           },
    407       ],
    408       'condition': 'checkout_android',
    409       'dep_type': 'cipd',
    410   },
    411 
    412   'src/third_party/android_build_tools/bundletool/cipd': {
    413       'packages': [
    414           {
    415                'package': 'chromium/third_party/android_build_tools/bundletool',
    416                'version': 'uOjFFaA5gYLXkFeukj3Xd53BGvMYtkkoDeOO7s3qeyQC',
    417           },
    418       ],
    419       'condition': 'checkout_android',
    420       'dep_type': 'cipd',
    421   },
    422 
    423   'src/third_party/android_build_tools/dagger_compiler/cipd': {
    424       'packages': [
    425           {
    426                'package': 'chromium/third_party/android_build_tools/dagger_compiler',
    427                'version': 'AC0DoTEXQf40KFt7hyCNSEJPrT9Rprw9zsZxNKdw7BQC',
    428           },
    429       ],
    430       'condition': 'checkout_android and non_git_source',
    431       'dep_type': 'cipd',
    432   },
    433 
    434   'src/third_party/android_build_tools/error_prone/cipd': {
    435       'packages': [
    436           {
    437                'package': 'chromium/third_party/android_build_tools/error_prone',
    438                'version': 'qjoXMGvbc36wB6J_7ERVNhYaotHaTDdrny1PpdNJ1qMC',
    439           },
    440       ],
    441       'condition': 'checkout_android',
    442       'dep_type': 'cipd',
    443   },
    444 
    445   'src/third_party/android_build_tools/error_prone_javac/cipd': {
    446       'packages': [
    447           {
    448                'package': 'chromium/third_party/android_build_tools/error_prone_javac',
    449                'version': '7EcHxlEXEaLRWEyHIAxf0ouPjkmN1Od6jkutuo0sfBIC',
    450           },
    451       ],
    452       'condition': 'checkout_android',
    453       'dep_type': 'cipd',
    454   },
    455 
    456   'src/third_party/android_build_tools/lint/cipd': {
    457       'packages': [
    458           {
    459                'package': 'chromium/third_party/android_build_tools/lint',
    460                'version': '2tl7Wkl-h3xQcHYGcsqwSrIQpyLSlBLjBl36vQwV8VgC',
    461           },
    462       ],
    463       'condition': 'checkout_android and non_git_source',
    464       'dep_type': 'cipd',
    465   },
    466 
    467 
    468   'src/third_party/android_build_tools/nullaway/cipd': {
    469       'packages': [
    470           {
    471                'package': 'chromium/third_party/android_build_tools/nullaway',
    472                'version': 'N8e9CN_YH72RHiFh5wTuXkcMtNbQBBrtot_-HePTmAwC',
    473           },
    474       ],
    475       'condition': 'checkout_android and non_git_source',
    476       'dep_type': 'cipd',
    477   },
    478 
    479   'src/third_party/aosp_dalvik/cipd': {
    480       'packages': [
    481           {
    482               'package': 'chromium/third_party/aosp_dalvik/linux-amd64',
    483               'version': 'version:2@13.0.0_r24.cr1',
    484           },
    485       ],
    486       'condition': 'checkout_android and non_git_source',
    487       'dep_type': 'cipd',
    488   },
    489 
    490   'src/third_party/boringssl/src':
    491     'https://boringssl.googlesource.com/boringssl.git@db638238d29708a20b991af3b2488e45a8bbcf71',
    492   'src/third_party/breakpad/breakpad':
    493     'https://chromium.googlesource.com/breakpad/breakpad.git@a1220f673dc44632e821bd1a217089e5a159a203',
    494   'src/third_party/catapult':
    495     'https://chromium.googlesource.com/catapult.git@04c85a1d0e324464c6be4b3d193b47cb6177d03a',
    496   'src/third_party/ced/src': {
    497     'url': 'https://chromium.googlesource.com/external/github.com/google/compact_enc_det.git@ba412eaaacd3186085babcd901679a48863c7dd5',
    498   },
    499   'src/third_party/colorama/src':
    500     'https://chromium.googlesource.com/external/colorama.git@3de9f013df4b470069d03d250224062e8cf15c49',
    501   'src/third_party/cpu_features/src': {
    502     'url': 'https://chromium.googlesource.com/external/github.com/google/cpu_features.git@936b9ab5515dead115606559502e3864958f7f6e',
    503     'condition': 'checkout_android',
    504   },
    505   'src/third_party/crc32c/src':
    506     'https://chromium.googlesource.com/external/github.com/google/crc32c.git@d3d60ac6e0f16780bcfcc825385e1d338801a558',
    507   'src/third_party/depot_tools':
    508     'https://chromium.googlesource.com/chromium/tools/depot_tools.git@675a3a9ccd7cf9367bb4caa58c30f08b56d45ef5',
    509   'src/third_party/ffmpeg':
    510     'https://chromium.googlesource.com/chromium/third_party/ffmpeg.git@9e751092c9498b84bbb77e2e0689ef9f50fe608f',
    511   'src/third_party/flatbuffers/src':
    512     'https://chromium.googlesource.com/external/github.com/google/flatbuffers.git@1c514626e83c20fffa8557e75641848e1e15cd5e',
    513   'src/third_party/grpc/src': {
    514     'url': 'https://chromium.googlesource.com/external/github.com/grpc/grpc.git@de6ce7f32b1bf254d2b4c04e8872b63284632fd3',
    515   },
    516   # Used for embedded builds. CrOS & Linux use the system version.
    517   'src/third_party/fontconfig/src': {
    518       'url': 'https://chromium.googlesource.com/external/fontconfig.git@f0ed9c3f43161d3555f6f7a5234b22fe7ca60727',
    519       'condition': 'checkout_linux',
    520   },
    521   'src/third_party/freetype/src':
    522     'https://chromium.googlesource.com/chromium/src/third_party/freetype2.git@d3668e00da732654b50e4e81f982544ed6e26390',
    523   'src/third_party/harfbuzz-ng/src':
    524     'https://chromium.googlesource.com/external/github.com/harfbuzz/harfbuzz.git@7d936359a27abb2d7cb14ecc102463bb15c11843',
    525   'src/third_party/google_benchmark/src': {
    526     'url': 'https://chromium.googlesource.com/external/github.com/google/benchmark.git@761305ec3b33abf30e08d50eb829e19a802581cc',
    527   },
    528   'src/third_party/libpfm4/src':
    529     Var('chromium_git') + '/external/git.code.sf.net/p/perfmon2/libpfm4.git' + '@' + '964baf9d35d5f88d8422f96d8a82c672042e7064',
    530   # WebRTC-only dependency (not present in Chromium).
    531   'src/third_party/gtest-parallel':
    532     'https://chromium.googlesource.com/external/github.com/google/gtest-parallel@cd488bdedc1d2cffb98201a17afc1b298b0b90f1',
    533   'src/third_party/google-truth/src': {
    534       'url': 'https://chromium.googlesource.com/external/github.com/google/truth.git@33387149b465f82712a817e6744847fe136949b3',
    535       'condition': 'checkout_android',
    536   },
    537   'src/third_party/googletest/src':
    538     'https://chromium.googlesource.com/external/github.com/google/googletest.git@244cec869d12e53378fa0efb610cd4c32a454ec8',
    539   'src/third_party/icu': {
    540     'url': 'https://chromium.googlesource.com/chromium/deps/icu.git@1b2e3e8a421efae36141a7b932b41e315b089af8',
    541   },
    542   'src/third_party/jdk/current': {
    543       'packages': [
    544           {
    545               'package': 'chromium/third_party/jdk/linux-amd64',
    546               'version': '2iiuF-nKDH3moTImx2op4WTRetbfhzKoZhH7Xo44zGsC',
    547           },
    548       ],
    549       # Needed on Linux for use on chromium_presubmit (for checkstyle).
    550       'condition': '(checkout_android or checkout_linux) and non_git_source',
    551       'dep_type': 'cipd',
    552   },
    553   # Deprecated - only use for tools which are broken real JDK.
    554   # Not used by WebRTC. Added for compatibility with Chromium.
    555   'src/third_party/jdk11': {
    556       'packages': [
    557           {
    558               'package': 'chromium/third_party/jdk',
    559               # Do not update this hash - any newer hash will point to JDK17+.
    560               'version': 'egbcSHbmF1XZQbKxp_PQiGLFWlQK65krTGqQE-Bj4j8C',
    561           },
    562       ],
    563       'condition': 'checkout_android',
    564       'dep_type': 'cipd',
    565   },
    566  'src/third_party/jsoncpp/source':
    567     'https://chromium.googlesource.com/external/github.com/open-source-parsers/jsoncpp.git@42e892d96e47b1f6e29844cc705e148ec4856448', # from svn 248
    568   'src/third_party/junit/src': {
    569     'url': 'https://chromium.googlesource.com/external/junit.git@0eb5ce72848d730da5bd6d42902fdd6a8a42055d',
    570     'condition': 'checkout_android',
    571   },
    572   'src/third_party/kotlin_stdlib/cipd': {
    573       'packages': [
    574           {
    575               'package': 'chromium/third_party/kotlin_stdlib',
    576               'version': 'v_3lST4iHAGGOm-99HcVIDBNwPuXuzhXvViFePcVg_kC',
    577           },
    578       ],
    579       'condition': 'checkout_android',
    580       'dep_type': 'cipd',
    581   },
    582 
    583   'src/third_party/kotlinc/current': {
    584       'packages': [
    585           {
    586               'package': 'chromium/third_party/kotlinc',
    587               'version': '6SrtnuwP3mVyOqcvkuIbYcArs39XuyFEGYlHHo3YsLwC',
    588           },
    589       ],
    590       'condition': 'checkout_android',
    591       'dep_type': 'cipd',
    592   },
    593   'src/third_party/libFuzzer/src':
    594     'https://chromium.googlesource.com/external/github.com/llvm/llvm-project/compiler-rt/lib/fuzzer.git@bea408a6e01f0f7e6c82a43121fe3af4506c932e',
    595   'src/third_party/fuzztest/src':
    596     'https://chromium.googlesource.com/external/github.com/google/fuzztest.git@e101ca021a40733d0fa76a3bd9b49b5f76da4f8a',
    597   'src/third_party/libjpeg_turbo':
    598     'https://chromium.googlesource.com/chromium/deps/libjpeg_turbo.git@e14cbfaa85529d47f9f55b0f104a579c1061f9ad',
    599   'src/third_party/libsrtp':
    600     'https://chromium.googlesource.com/chromium/deps/libsrtp.git@a52756acb1c5e133089c798736dd171567df11f5',
    601   'src/third_party/dav1d/libdav1d':
    602     'https://chromium.googlesource.com/external/github.com/videolan/dav1d.git@af5cf2b1e7f03d6f6de84477e1ca8eed1f3eb03d',
    603   'src/third_party/libaom/source/libaom':
    604     'https://aomedia.googlesource.com/aom.git@dcfc0bd1934130570d04597a3b75de0824dc434d',
    605   'src/third_party/libgav1/src':
    606     Var('chromium_git') + '/codecs/libgav1.git' + '@' + 'c05bf9be660cf170d7c26bd06bb42b3322180e58',
    607   'src/third_party/libunwindstack': {
    608       'url': 'https://chromium.googlesource.com/chromium/src/third_party/libunwindstack.git@0928ad0d25e4af07c8be5ab06d0ca584f9f4ceb5',
    609       'condition': 'checkout_android',
    610   },
    611   'src/third_party/perfetto':
    612     Var('chromium_git') + '/external/github.com/google/perfetto.git' + '@' + 'd5bbee7afdf259af4212929ccbff467dd5349953',
    613   'src/third_party/protobuf-javascript/src':
    614     Var('chromium_git') + '/external/github.com/protocolbuffers/protobuf-javascript' + '@' + 'e6d763860001ba1a76a63adcff5efb12b1c96024',
    615   'src/third_party/libvpx/source/libvpx':
    616     'https://chromium.googlesource.com/webm/libvpx.git@8d00aca60b951444582b1373e4e47f0ca6e0871c',
    617   'src/third_party/libyuv':
    618     'https://chromium.googlesource.com/libyuv/libyuv.git@5b22f31cb5d39c1309a589f148678c2a217e75db',
    619   'src/third_party/lss': {
    620     'url': 'https://chromium.googlesource.com/linux-syscall-support.git@ed31caa60f20a4f6569883b2d752ef7522de51e0',
    621     'condition': 'checkout_android or checkout_linux',
    622   },
    623   'src/third_party/mockito/src': {
    624     'url': 'https://chromium.googlesource.com/external/mockito/mockito.git@04a2a289a4222f80ad20717c25144981210d2eac',
    625     'condition': 'checkout_android',
    626   },
    627   'src/third_party/instrumented_libs': {
    628     'url': Var('chromium_git') + '/chromium/third_party/instrumented_libraries.git' + '@' + '69015643b3f68dbd438c010439c59adc52cac808',
    629     'condition': 'checkout_instrumented_libraries',
    630   },
    631 
    632   # Used by boringssl.
    633   'src/third_party/nasm': {
    634       'url': 'https://chromium.googlesource.com/chromium/deps/nasm.git@e2c93c34982b286b27ce8b56dd7159e0b90869a2'
    635   },
    636 
    637   'src/third_party/openh264/src':
    638     'https://chromium.googlesource.com/external/github.com/cisco/openh264@652bdb7719f30b52b08e506645a7322ff1b2cc6f',
    639 
    640   'src/third_party/re2/src':
    641     'https://chromium.googlesource.com/external/github.com/google/re2.git@6569a9a3df256f4c0c3813cb8ee2f8eef6e2c1fb',
    642 
    643   'src/third_party/r8/cipd': {
    644       'packages': [
    645           {
    646               'package': 'chromium/third_party/r8',
    647               'version': 'llWUebGsQPrzc7z3fwJF78NcrdGs1wrUhy0Y-0Wrb-4C',
    648           },
    649       ],
    650       'condition': 'checkout_android',
    651       'dep_type': 'cipd',
    652   },
    653   # This duplication is intentional, so we avoid updating the r8.jar used by
    654   # dexing unless necessary, since each update invalidates all incremental
    655   # dexing and unnecessarily slows down all bots.
    656   'src/third_party/r8/d8/cipd': {
    657       'packages': [
    658           {
    659               'package': 'chromium/third_party/r8',
    660               'version': 'llWUebGsQPrzc7z3fwJF78NcrdGs1wrUhy0Y-0Wrb-4C',
    661           },
    662       ],
    663       'condition': 'checkout_android',
    664       'dep_type': 'cipd',
    665   },
    666   'src/third_party/requests/src': {
    667     'url': 'https://chromium.googlesource.com/external/github.com/kennethreitz/requests.git@c7e0fc087ceeadb8b4c84a0953a422c474093d6d',
    668     'condition': 'checkout_android',
    669   },
    670   'src/tools':
    671     'https://chromium.googlesource.com/chromium/src/tools@3b73a00861c1cc1d6308e20786f42045b77864cd',
    672 
    673   'src/third_party/espresso': {
    674       'packages': [
    675           {
    676               'package': 'chromium/third_party/espresso',
    677               'version': '5LoBT0j383h_4dXbnap7gnNQMtMjpbMJD1JaGIYNj-IC',
    678           },
    679       ],
    680       'condition': 'checkout_android',
    681       'dep_type': 'cipd',
    682   },
    683 
    684   'src/third_party/hamcrest/cipd': {
    685       'packages': [
    686           {
    687               'package': 'chromium/third_party/hamcrest',
    688               'version': 'dBioOAmFJjqAr_DY7dipbXdVfAxUQwjOBNibMPtX8lQC',
    689           },
    690       ],
    691       'condition': 'checkout_android',
    692       'dep_type': 'cipd',
    693   },
    694 
    695   'src/third_party/android_toolchain/ndk': {
    696     'packages': [
    697       {
    698         'package': 'chromium/third_party/android_toolchain/android_toolchain',
    699         'version': 'KXOia11cm9lVdUdPlbGLu8sCz6Y4ey_HV2s8_8qeqhgC',
    700       },
    701     ],
    702     'condition': 'checkout_android',
    703     'dep_type': 'cipd',
    704   },
    705 
    706   'src/third_party/androidx/cipd': {
    707     'packages': [
    708       {
    709           'package': 'chromium/third_party/androidx',
    710           'version': 'u-4GkHeumu0D2o8hkQbMGiMzvACyw_8TYdEfox0QyWYC',
    711       },
    712     ],
    713     'condition': 'checkout_android and non_git_source',
    714     'dep_type': 'cipd',
    715   },
    716 
    717   'src/third_party/android_build_tools/manifest_merger/cipd': {
    718       'packages': [
    719           {
    720                'package': 'chromium/third_party/android_build_tools/manifest_merger',
    721                'version': 'dOI-ntBgO0MZG3WmKK37I1njjcGALsDJc00mVeoSfVUC',
    722           },
    723       ],
    724       'condition': 'checkout_android',
    725       'dep_type': 'cipd',
    726   },
    727 
    728   'src/third_party/android_sdk/public': {
    729       'packages': [
    730           {
    731               'package': 'chromium/third_party/android_sdk/public/build-tools/36.0.0',
    732               'version': 'y3EsZLg4bxPmpW0oYsAHylywNyMnIwPS3kh1VbQLAFAC',
    733           },
    734           {
    735               'package': 'chromium/third_party/android_sdk/public/emulator',
    736               'version': '9lGp8nTUCRRWGMnI_96HcKfzjnxEJKUcfvfwmA3wXNkC',
    737           },
    738           {
    739               'package': 'chromium/third_party/android_sdk/public/platform-tools',
    740               'version': 'qTD9QdBlBf3dyHsN1lJ0RH6AhHxR42Hmg2Ih-Vj4zIEC'
    741           },
    742           {
    743               'package': 'chromium/third_party/android_sdk/public/platforms/android-36',
    744               'version': '_YHemUrK49JrE7Mctdf5DDNOHu1VKBx_PTcWnZ-cbOAC',
    745           },
    746           {
    747               'package': 'chromium/third_party/android_sdk/public/cmdline-tools',
    748               'version': 'gekOVsZjseS1w9BXAT3FsoW__ByGDJYS9DgqesiwKYoC',
    749           },
    750       ],
    751       'condition': 'checkout_android',
    752       'dep_type': 'cipd',
    753   },
    754 
    755   'src/third_party/icu4j/cipd': {
    756       'packages': [
    757           {
    758               'package': 'chromium/third_party/icu4j',
    759               'version': '8dV7WRVX0tTaNNqkLEnCA_dMofr2MJXFK400E7gOFygC',
    760           },
    761       ],
    762       'condition': 'checkout_android',
    763       'dep_type': 'cipd',
    764   },
    765 
    766   'src/third_party/robolectric/cipd': {
    767       'packages': [
    768           {
    769               'package': 'chromium/third_party/robolectric',
    770               'version': 'dr-aJxRAPYDTBJXnjfht-bdxyywD6BP1lrcjZZPnRG0C',
    771           },
    772       ],
    773       'condition': 'checkout_android',
    774       'dep_type': 'cipd',
    775   },
    776 
    777   'src/third_party/sqlite4java/cipd': {
    778       'packages': [
    779           {
    780               'package': 'chromium/third_party/sqlite4java',
    781               'version': 'LofjKH9dgXIAJhRYCPQlMFywSwxYimrfDeBmaHc-Z5EC',
    782           },
    783       ],
    784       'condition': 'checkout_android',
    785       'dep_type': 'cipd',
    786   },
    787 
    788   'src/third_party/tflite/src':
    789     Var('chromium_git') + '/external/github.com/tensorflow/tensorflow.git' + '@' + '313f58ae85278ced9ccc7f90ee630bdf8735c52f',
    790 
    791   'src/third_party/turbine/cipd': {
    792       'packages': [
    793           {
    794               'package': 'chromium/third_party/turbine',
    795               'version': 'LaDt9HreG5-Q6yBbZLf6LJSvLKqNjamn84VJgZHXSTEC',
    796           },
    797       ],
    798       'condition': 'checkout_android',
    799       'dep_type': 'cipd',
    800   },
    801 
    802   'src/third_party/zstd/src': {
    803     'url': Var('chromium_git') + '/external/github.com/facebook/zstd.git' + '@' + '89d685e42dbcf815a16ed0fcd7d050ef74ccad96',
    804     'condition': 'checkout_android',
    805   },
    806 
    807   'src/tools/luci-go': {
    808       'packages': [
    809         {
    810           'package': 'infra/tools/luci/cas/${{platform}}',
    811           'version': 'git_revision:6645da847edf4e1ebcfe8cf4d860ad75e63b20cb',
    812         },
    813         {
    814           'package': 'infra/tools/luci/isolate/${{platform}}',
    815           'version': 'git_revision:6645da847edf4e1ebcfe8cf4d860ad75e63b20cb',
    816         },
    817         {
    818           'package': 'infra/tools/luci/swarming/${{platform}}',
    819           'version': 'git_revision:6645da847edf4e1ebcfe8cf4d860ad75e63b20cb',
    820         }
    821       ],
    822       'dep_type': 'cipd',
    823   },
    824 
    825   'src/third_party/pipewire/linux-amd64': {
    826     'packages': [
    827       {
    828         'package': 'chromium/third_party/pipewire/linux-amd64',
    829         'version': 'BaVKmAmwpjdS6O0pnjSaMNSKhO1nmk5mRnyPVAJ2-HEC',
    830       },
    831       {
    832         'package': 'chromium/third_party/pipewire-media-session/linux-amd64',
    833         'version': 'Y6wUeITvAA0QD1vt8_a7eQdzbp0gkI1B02qfZUMJdowC',
    834       },
    835     ],
    836 
    837     'condition': 'checkout_linux',
    838     'dep_type': 'cipd',
    839   },
    840 
    841   'src/third_party/android_deps/autorolled/cipd': {
    842       'packages': [
    843           {
    844               'package': 'chromium/third_party/android_deps/autorolled',
    845               'version': '6mTuw4XsHFCD5khevukzKQHDaq5tAVpX48i3JG1Izu4C',
    846           },
    847       ],
    848       'condition': 'checkout_android and non_git_source',
    849       'dep_type': 'cipd',
    850   },
    851   'src/third_party/pthreadpool/src':
    852     Var('chromium_git') + '/external/github.com/google/pthreadpool.git' + '@' + 'f5a07eddbf4be8f23e29e60a2ccf66b78b71f119',
    853 
    854   'src/third_party/xnnpack/src':
    855     Var('chromium_git') + '/external/github.com/google/XNNPACK.git' + '@' + '4d098efeac50c44a7c03e6feb1794908db4c3158',
    856 
    857   'src/third_party/farmhash/src':
    858     Var('chromium_git') + '/external/github.com/google/farmhash.git' + '@' + '816a4ae622e964763ca0862d9dbd19324a1eaf45',
    859 
    860   'src/third_party/ruy/src':
    861     Var('chromium_git') + '/external/github.com/google/ruy.git' + '@' + '9940fbf1e0c0863907e77e0600b99bb3e2bc2b9f',
    862 
    863   'src/third_party/cpuinfo/src':
    864     Var('chromium_git') + '/external/github.com/pytorch/cpuinfo.git' + '@' + '877328f188a3c7d1fa855871a278eb48d530c4c0',
    865 
    866   'src/third_party/eigen3/src':
    867     Var('chromium_git') + '/external/gitlab.com/libeigen/eigen.git' + '@' + '430e35fbd15d3c946d2d2ba19ec41c16ba217cb3',
    868 
    869   'src/third_party/fp16/src':
    870     Var('chromium_git') + '/external/github.com/Maratyszcza/FP16.git' + '@' + '3d2de1816307bac63c16a297e8c4dc501b4076df',
    871 
    872   'src/third_party/gemmlowp/src':
    873     Var('chromium_git') + '/external/github.com/google/gemmlowp.git' + '@' + '16e8662c34917be0065110bfcd9cc27d30f52fdf',
    874 
    875   'src/third_party/fxdiv/src':
    876     Var('chromium_git') + '/external/github.com/Maratyszcza/FXdiv.git' + '@' + '63058eff77e11aa15bf531df5dd34395ec3017c8',
    877 
    878   'src/third_party/neon_2_sse/src':
    879     Var('chromium_git') + '/external/github.com/intel/ARM_NEON_2_x86_SSE.git' + '@' + 'eb8b80b28f956275e291ea04a7beb5ed8289e872',
    880 
    881 
    882   # Everything coming after this is automatically updated by the auto-roller.
    883   # === ANDROID_DEPS Generated Code Start ===
    884   # Generated by //third_party/android_deps/fetch_all.py
    885   'src/third_party/android_deps/cipd/libs/com_android_support_support_annotations': {
    886       'packages': [
    887           {
    888               'package': 'chromium/third_party/android_deps/libs/com_android_support_support_annotations',
    889               'version': 'version:2@28.0.0.cr2',
    890           },
    891       ],
    892       'condition': 'checkout_android and non_git_source',
    893       'dep_type': 'cipd',
    894   },
    895 
    896   'src/third_party/android_deps/cipd/libs/com_android_tools_common': {
    897       'packages': [
    898           {
    899               'package': 'chromium/third_party/android_deps/libs/com_android_tools_common',
    900               'version': 'version:2@30.2.0-beta01.cr2',
    901           },
    902       ],
    903       'condition': 'checkout_android and non_git_source',
    904       'dep_type': 'cipd',
    905   },
    906 
    907   'src/third_party/android_deps/cipd/libs/com_android_tools_layoutlib_layoutlib_api': {
    908       'packages': [
    909           {
    910               'package': 'chromium/third_party/android_deps/libs/com_android_tools_layoutlib_layoutlib_api',
    911               'version': 'version:2@30.2.0-beta01.cr2',
    912           },
    913       ],
    914       'condition': 'checkout_android and non_git_source',
    915       'dep_type': 'cipd',
    916   },
    917 
    918   'src/third_party/android_deps/cipd/libs/com_android_tools_sdk_common': {
    919       'packages': [
    920           {
    921               'package': 'chromium/third_party/android_deps/libs/com_android_tools_sdk_common',
    922               'version': 'version:2@30.2.0-beta01.cr2',
    923           },
    924       ],
    925       'condition': 'checkout_android and non_git_source',
    926       'dep_type': 'cipd',
    927   },
    928 
    929   'src/third_party/android_deps/cipd/libs/com_google_android_apps_common_testing_accessibility_framework_accessibility_test_framework': {
    930       'packages': [
    931           {
    932               'package': 'chromium/third_party/android_deps/libs/com_google_android_apps_common_testing_accessibility_framework_accessibility_test_framework',
    933               'version': 'version:2@4.0.0.cr2',
    934           },
    935       ],
    936       'condition': 'checkout_android and non_git_source',
    937       'dep_type': 'cipd',
    938   },
    939 
    940   'src/third_party/android_deps/cipd/libs/com_googlecode_java_diff_utils_diffutils': {
    941       'packages': [
    942           {
    943               'package': 'chromium/third_party/android_deps/libs/com_googlecode_java_diff_utils_diffutils',
    944               'version': 'version:2@1.3.0.cr2',
    945           },
    946       ],
    947       'condition': 'checkout_android and non_git_source',
    948       'dep_type': 'cipd',
    949   },
    950 
    951   'src/third_party/android_deps/cipd/libs/com_squareup_javapoet': {
    952       'packages': [
    953           {
    954               'package': 'chromium/third_party/android_deps/libs/com_squareup_javapoet',
    955               'version': 'version:2@1.13.0.cr2',
    956           },
    957       ],
    958       'condition': 'checkout_android and non_git_source',
    959       'dep_type': 'cipd',
    960   },
    961 
    962   'src/third_party/android_deps/cipd/libs/net_bytebuddy_byte_buddy': {
    963       'packages': [
    964           {
    965               'package': 'chromium/third_party/android_deps/libs/net_bytebuddy_byte_buddy',
    966               'version': 'version:2@1.17.6.cr2',
    967           },
    968       ],
    969       'condition': 'checkout_android and non_git_source',
    970       'dep_type': 'cipd',
    971   },
    972 
    973   'src/third_party/android_deps/cipd/libs/net_bytebuddy_byte_buddy_agent': {
    974       'packages': [
    975           {
    976               'package': 'chromium/third_party/android_deps/libs/net_bytebuddy_byte_buddy_agent',
    977               'version': 'version:2@1.17.6.cr2',
    978           },
    979       ],
    980       'condition': 'checkout_android and non_git_source',
    981       'dep_type': 'cipd',
    982   },
    983 
    984   'src/third_party/android_deps/cipd/libs/org_ccil_cowan_tagsoup_tagsoup': {
    985       'packages': [
    986           {
    987               'package': 'chromium/third_party/android_deps/libs/org_ccil_cowan_tagsoup_tagsoup',
    988               'version': 'version:2@1.2.1.cr2',
    989           },
    990       ],
    991       'condition': 'checkout_android and non_git_source',
    992       'dep_type': 'cipd',
    993   },
    994 
    995   'src/third_party/android_deps/cipd/libs/org_checkerframework_checker_compat_qual': {
    996       'packages': [
    997           {
    998               'package': 'chromium/third_party/android_deps/libs/org_checkerframework_checker_compat_qual',
    999               'version': 'version:2@2.5.5.cr2',
   1000           },
   1001       ],
   1002       'condition': 'checkout_android and non_git_source',
   1003       'dep_type': 'cipd',
   1004   },
   1005 
   1006   'src/third_party/android_deps/cipd/libs/org_jetbrains_kotlin_kotlin_android_extensions_runtime': {
   1007       'packages': [
   1008           {
   1009               'package': 'chromium/third_party/android_deps/libs/org_jetbrains_kotlin_kotlin_android_extensions_runtime',
   1010               'version': 'version:2@1.9.22.cr2',
   1011           },
   1012       ],
   1013       'condition': 'checkout_android and non_git_source',
   1014       'dep_type': 'cipd',
   1015   },
   1016 
   1017   'src/third_party/android_deps/cipd/libs/org_jetbrains_kotlin_kotlin_parcelize_runtime': {
   1018       'packages': [
   1019           {
   1020               'package': 'chromium/third_party/android_deps/libs/org_jetbrains_kotlin_kotlin_parcelize_runtime',
   1021               'version': 'version:2@1.9.22.cr2',
   1022           },
   1023       ],
   1024       'condition': 'checkout_android and non_git_source',
   1025       'dep_type': 'cipd',
   1026   },
   1027 
   1028   'src/third_party/android_deps/cipd/libs/org_jetbrains_kotlinx_atomicfu_jvm': {
   1029       'packages': [
   1030           {
   1031               'package': 'chromium/third_party/android_deps/libs/org_jetbrains_kotlinx_atomicfu_jvm',
   1032               'version': 'version:2@0.23.2.cr2',
   1033           },
   1034       ],
   1035       'condition': 'checkout_android and non_git_source',
   1036       'dep_type': 'cipd',
   1037   },
   1038 
   1039   'src/third_party/android_deps/cipd/libs/org_jetbrains_kotlinx_kotlinx_coroutines_guava': {
   1040       'packages': [
   1041           {
   1042               'package': 'chromium/third_party/android_deps/libs/org_jetbrains_kotlinx_kotlinx_coroutines_guava',
   1043               'version': 'version:2@1.8.1.cr2',
   1044           },
   1045       ],
   1046       'condition': 'checkout_android and non_git_source',
   1047       'dep_type': 'cipd',
   1048   },
   1049 
   1050   'src/third_party/android_deps/cipd/libs/org_jsoup_jsoup': {
   1051       'packages': [
   1052           {
   1053               'package': 'chromium/third_party/android_deps/libs/org_jsoup_jsoup',
   1054               'version': 'version:2@1.15.1.cr2',
   1055           },
   1056       ],
   1057       'condition': 'checkout_android and non_git_source',
   1058       'dep_type': 'cipd',
   1059   },
   1060 
   1061   'src/third_party/android_deps/cipd/libs/org_mockito_mockito_android': {
   1062       'packages': [
   1063           {
   1064               'package': 'chromium/third_party/android_deps/libs/org_mockito_mockito_android',
   1065               'version': 'version:2@5.19.0.cr2',
   1066           },
   1067       ],
   1068       'condition': 'checkout_android and non_git_source',
   1069       'dep_type': 'cipd',
   1070   },
   1071 
   1072   'src/third_party/android_deps/cipd/libs/org_mockito_mockito_core': {
   1073       'packages': [
   1074           {
   1075               'package': 'chromium/third_party/android_deps/libs/org_mockito_mockito_core',
   1076               'version': 'version:2@5.19.0.cr2',
   1077           },
   1078       ],
   1079       'condition': 'checkout_android and non_git_source',
   1080       'dep_type': 'cipd',
   1081   },
   1082 
   1083   'src/third_party/android_deps/cipd/libs/org_mockito_mockito_subclass': {
   1084       'packages': [
   1085           {
   1086               'package': 'chromium/third_party/android_deps/libs/org_mockito_mockito_subclass',
   1087               'version': 'version:2@5.19.0.cr2',
   1088           },
   1089       ],
   1090       'condition': 'checkout_android and non_git_source',
   1091       'dep_type': 'cipd',
   1092   },
   1093 
   1094   'src/third_party/android_deps/cipd/libs/org_objenesis_objenesis': {
   1095       'packages': [
   1096           {
   1097               'package': 'chromium/third_party/android_deps/libs/org_objenesis_objenesis',
   1098               'version': 'version:2@3.3.cr2',
   1099           },
   1100       ],
   1101       'condition': 'checkout_android and non_git_source',
   1102       'dep_type': 'cipd',
   1103   },
   1104 
   1105   # === ANDROID_DEPS Generated Code End ===
   1106 }
   1107 
   1108 hooks = [
   1109   {
   1110     # This clobbers when necessary (based on get_landmines.py). It should be
   1111     # an early hook but it will need to be run after syncing Chromium and
   1112     # setting up the links, so the script actually exists.
   1113     'name': 'landmines',
   1114     'pattern': '.',
   1115     'action': [
   1116         'python3',
   1117         'src/build/landmines.py',
   1118         '--landmine-scripts',
   1119         'src/tools_webrtc/get_landmines.py',
   1120         '--src-dir',
   1121         'src',
   1122     ],
   1123   },
   1124   {
   1125     # Ensure that the DEPS'd "depot_tools" has its self-update capability
   1126     # disabled.
   1127     'name': 'disable_depot_tools_selfupdate',
   1128     'pattern': '.',
   1129     'action': [
   1130         'python3',
   1131         'src/third_party/depot_tools/update_depot_tools_toggle.py',
   1132         '--disable',
   1133     ],
   1134   },
   1135   {
   1136     'name': 'sysroot_arm',
   1137     'pattern': '.',
   1138     'condition': 'checkout_linux and checkout_arm',
   1139     'action': ['python3', 'src/build/linux/sysroot_scripts/install-sysroot.py',
   1140                '--arch=arm'],
   1141   },
   1142   {
   1143     'name': 'sysroot_arm64',
   1144     'pattern': '.',
   1145     'condition': 'checkout_linux and checkout_arm64',
   1146     'action': ['python3', 'src/build/linux/sysroot_scripts/install-sysroot.py',
   1147                '--arch=arm64'],
   1148   },
   1149   {
   1150     'name': 'sysroot_x86',
   1151     'pattern': '.',
   1152     'condition': 'checkout_linux and (checkout_x86 or checkout_x64)',
   1153     # TODO(mbonadei): change to --arch=x86.
   1154     'action': ['python3', 'src/build/linux/sysroot_scripts/install-sysroot.py',
   1155                '--arch=i386'],
   1156   },
   1157   {
   1158     'name': 'sysroot_mips',
   1159     'pattern': '.',
   1160     'condition': 'checkout_linux and checkout_mips',
   1161     # TODO(mbonadei): change to --arch=mips.
   1162     'action': ['python3', 'src/build/linux/sysroot_scripts/install-sysroot.py',
   1163                '--arch=mipsel'],
   1164   },
   1165   {
   1166     'name': 'sysroot_x64',
   1167     'pattern': '.',
   1168     'condition': 'checkout_linux and checkout_x64',
   1169     # TODO(mbonadei): change to --arch=x64.
   1170     'action': ['python3', 'src/build/linux/sysroot_scripts/install-sysroot.py',
   1171                '--arch=amd64'],
   1172   },
   1173   {
   1174     # Case-insensitivity for the Win SDK. Must run before win_toolchain below.
   1175     'name': 'ciopfs_linux',
   1176     'pattern': '.',
   1177     'condition': 'checkout_win and host_os == "linux"',
   1178     'action': [ 'python3',
   1179                 'src/third_party/depot_tools/download_from_google_storage.py',
   1180                 '--no_resume',
   1181                 '--no_auth',
   1182                 '--bucket', 'chromium-browser-clang/ciopfs',
   1183                 '-s', 'src/build/ciopfs.sha1',
   1184     ]
   1185   },
   1186   {
   1187     # Update the Windows toolchain if necessary. Must run before 'clang' below.
   1188     'name': 'win_toolchain',
   1189     'pattern': '.',
   1190     'condition': 'checkout_win',
   1191     'action': ['python3', 'src/build/vs_toolchain.py', 'update', '--force'],
   1192   },
   1193   {
   1194     # Update the Mac toolchain if necessary.
   1195     'name': 'mac_toolchain',
   1196     'pattern': '.',
   1197     'condition': 'checkout_mac',
   1198     'action': ['python3', 'src/build/mac_toolchain.py'],
   1199   },
   1200 
   1201   {
   1202     'name': 'Download Fuchsia SDK from GCS',
   1203     'pattern': '.',
   1204     'condition': 'checkout_fuchsia',
   1205     'action': [
   1206       'python3',
   1207       'src/build/fuchsia/update_sdk.py',
   1208       '--cipd-prefix={fuchsia_sdk_cipd_prefix}',
   1209       '--version={fuchsia_version}',
   1210     ],
   1211   },
   1212   {
   1213     'name': 'Download Fuchsia system images',
   1214     'pattern': '.',
   1215     'condition': 'checkout_fuchsia and checkout_fuchsia_product_bundles',
   1216     'action': [
   1217       'python3',
   1218       'src/build/fuchsia/update_product_bundles.py',
   1219       '{checkout_fuchsia_boot_images}',
   1220     ],
   1221   },
   1222   {
   1223     # Update LASTCHANGE.
   1224     'name': 'lastchange',
   1225     'pattern': '.',
   1226     'action': ['python3', 'src/build/util/lastchange.py',
   1227                '-o', 'src/build/util/LASTCHANGE'],
   1228   },
   1229   # Pull dsymutil binaries using checked-in hashes.
   1230   {
   1231     'name': 'dsymutil_mac_arm64',
   1232     'pattern': '.',
   1233     'condition': 'host_os == "mac" and host_cpu == "arm64"',
   1234     'action': [ 'python3',
   1235                 'src/third_party/depot_tools/download_from_google_storage.py',
   1236                 '--no_resume',
   1237                 '--no_auth',
   1238                 '--bucket', 'chromium-browser-clang',
   1239                 '-s', 'src/tools/clang/dsymutil/bin/dsymutil.arm64.sha1',
   1240                 '-o', 'src/tools/clang/dsymutil/bin/dsymutil',
   1241     ],
   1242   },
   1243   {
   1244     'name': 'dsymutil_mac_x64',
   1245     'pattern': '.',
   1246     'condition': 'host_os == "mac" and host_cpu == "x64"',
   1247     'action': [ 'python3',
   1248                 'src/third_party/depot_tools/download_from_google_storage.py',
   1249                 '--no_resume',
   1250                 '--no_auth',
   1251                 '--bucket', 'chromium-browser-clang',
   1252                 '-s', 'src/tools/clang/dsymutil/bin/dsymutil.x64.sha1',
   1253                 '-o', 'src/tools/clang/dsymutil/bin/dsymutil',
   1254     ],
   1255   },
   1256   # Pull rc binaries using checked-in hashes.
   1257   {
   1258     'name': 'rc_win',
   1259     'pattern': '.',
   1260     'condition': 'checkout_win and host_os == "win"',
   1261     'action': [ 'python3',
   1262                 'src/third_party/depot_tools/download_from_google_storage.py',
   1263                 '--no_resume',
   1264                 '--no_auth',
   1265                 '--bucket', 'chromium-browser-clang/rc',
   1266                 '-s', 'src/build/toolchain/win/rc/win/rc.exe.sha1',
   1267     ],
   1268   },
   1269   {
   1270     'name': 'rc_mac',
   1271     'pattern': '.',
   1272     'condition': 'checkout_win and host_os == "mac"',
   1273     'action': [ 'python3',
   1274                 'src/third_party/depot_tools/download_from_google_storage.py',
   1275                 '--no_resume',
   1276                 '--no_auth',
   1277                 '--bucket', 'chromium-browser-clang/rc',
   1278                 '-s', 'src/build/toolchain/win/rc/mac/rc.sha1',
   1279     ],
   1280   },
   1281   {
   1282     'name': 'rc_linux',
   1283     'pattern': '.',
   1284     'condition': 'checkout_win and host_os == "linux"',
   1285     'action': [ 'python3',
   1286                 'src/third_party/depot_tools/download_from_google_storage.py',
   1287                 '--no_resume',
   1288                 '--no_auth',
   1289                 '--bucket', 'chromium-browser-clang/rc',
   1290                 '-s', 'src/build/toolchain/win/rc/linux64/rc.sha1',
   1291     ],
   1292   },
   1293   {
   1294     # Download test resources, i.e. video and audio files from Google Storage.
   1295     'pattern': '.',
   1296     'action': ['download_from_google_storage',
   1297                '--directory',
   1298                '--recursive',
   1299                '--num_threads=10',
   1300                '--no_auth',
   1301                '--quiet',
   1302                '--bucket', 'chromium-webrtc-resources',
   1303                'src/resources'],
   1304   },
   1305   {
   1306     'name': 'Generate component metadata for tests',
   1307     'pattern': '.',
   1308     'action': [
   1309       'vpython3',
   1310       'src/testing/generate_location_tags.py',
   1311       '--out',
   1312       'src/testing/location_tags.json',
   1313     ],
   1314   },
   1315   # Download and initialize "vpython" VirtualEnv environment packages.
   1316   {
   1317     'name': 'vpython_common',
   1318     'pattern': '.',
   1319     'action': [ 'vpython3',
   1320                 '-vpython-spec', 'src/.vpython3',
   1321                 '-vpython-tool', 'install',
   1322     ],
   1323   },
   1324   # Download remote exec cfg files
   1325   {
   1326     'name': 'configure_reclient_cfgs',
   1327     'pattern': '.',
   1328     'condition': 'download_remoteexec_cfg',
   1329     'action': ['python3',
   1330                'src/buildtools/reclient_cfgs/configure_reclient_cfgs.py',
   1331                '--rbe_instance',
   1332                Var('rbe_instance'),
   1333                '--reproxy_cfg_template',
   1334                'reproxy.cfg.template',
   1335                '--quiet',
   1336                ],
   1337   },
   1338   # Configure Siso for developer builds.
   1339   {
   1340     'name': 'configure_siso',
   1341     'pattern': '.',
   1342     'action': ['python3',
   1343                'src/build/config/siso/configure_siso.py',
   1344                '--rbe_instance',
   1345                Var('rbe_instance'),
   1346                ],
   1347   },
   1348   {
   1349     # Ensure we remove any file from disk that is no longer needed (e.g. after
   1350     # hooks to native GCS deps migration).
   1351     'name': 'remove_stale_files',
   1352     'pattern': '.',
   1353     'action': [
   1354         'python3',
   1355         'src/tools/remove_stale_files.py',
   1356         'src/third_party/test_fonts/test_fonts.tar.gz', # Remove after 20240901
   1357     ],
   1358   },
   1359 ]
   1360 
   1361 recursedeps = [
   1362   'src/buildtools',
   1363   'src/third_party/instrumented_libs',
   1364 ]
   1365 
   1366 # Define rules for which include paths are allowed in our source.
   1367 include_rules = [
   1368   # Base is only used to build Android APK tests and may not be referenced by
   1369   # WebRTC production code.
   1370   "-base",
   1371   "-chromium",
   1372   "+external/webrtc/webrtc",  # Android platform build.
   1373   "+libyuv",
   1374 
   1375   # These should eventually move out of here.
   1376   "+common_types.h",
   1377 
   1378   "+WebRTC",
   1379   "+api",
   1380   "+modules/include",
   1381   "+rtc_base",
   1382   "+test",
   1383   "+rtc_tools",
   1384 
   1385   # Abseil allowlist. Keep this in sync with abseil-in-webrtc.md.
   1386   "+absl/algorithm/algorithm.h",
   1387   "+absl/algorithm/container.h",
   1388   "+absl/base/attributes.h",
   1389   "+absl/base/config.h",
   1390   "+absl/base/nullability.h",
   1391   "+absl/base/macros.h",
   1392   "+absl/cleanup/cleanup.h",
   1393   "+absl/container",
   1394   "-absl/container/fixed_array.h",
   1395   "+absl/functional/any_invocable.h",
   1396   "+absl/functional/bind_front.h",
   1397   "+absl/memory/memory.h",
   1398   "+absl/numeric/bits.h",
   1399   "+absl/strings/ascii.h",
   1400   "+absl/strings/escaping.h",
   1401   "+absl/strings/match.h",
   1402   "+absl/strings/str_cat.h",  # note - allowed for single argument version only
   1403   "+absl/strings/str_replace.h",
   1404   "+absl/strings/string_view.h",
   1405 
   1406   # Abseil flags are allowed in tests and tools.
   1407   "+absl/flags",
   1408 
   1409   # Perfetto should be used through rtc_base/trace_event.h
   1410   '-third_party/perfetto',
   1411   '-perfetto',
   1412   '-protos/perfetto',
   1413 ]
   1414 
   1415 specific_include_rules = {
   1416   "webrtc_lib_link_test\.cc": [
   1417     "+media/engine",
   1418     "+modules/audio_device",
   1419     "+modules/audio_processing",
   1420   ]
   1421 }