Corentin Wallez | 1a0596d | 2018-09-10 15:16:10 +0200 | [diff] [blame] | 1 | use_relative_paths = True |
Corentin Wallez | 1a0596d | 2018-09-10 15:16:10 +0200 | [diff] [blame] | 2 | |
Corentin Wallez | 4e2d7cf | 2020-07-14 15:53:34 +0000 | [diff] [blame] | 3 | gclient_gn_args_file = 'build/config/gclient_args.gni' |
Corentin Wallez | 4e2d7cf | 2020-07-14 15:53:34 +0000 | [diff] [blame] | 4 | |
Corentin Wallez | d520366 | 2022-01-05 15:54:08 +0000 | [diff] [blame] | 5 | gclient_gn_args = [ |
| 6 | 'generate_location_tags', |
| 7 | ] |
| 8 | |
Joanna Wang | 77ce559 | 2023-08-04 22:26:55 +0000 | [diff] [blame] | 9 | git_dependencies = 'SYNC' |
| 10 | |
Corentin Wallez | 21a2385 | 2018-07-31 18:50:03 +0200 | [diff] [blame] | 11 | vars = { |
| 12 | 'chromium_git': 'https://chromium.googlesource.com', |
Corentin Wallez | 4c35101 | 2018-08-27 10:10:28 +0200 | [diff] [blame] | 13 | 'dawn_git': 'https://dawn.googlesource.com', |
Corentin Wallez | 21a2385 | 2018-07-31 18:50:03 +0200 | [diff] [blame] | 14 | 'github_git': 'https://github.com', |
Corentin Wallez | 74cebd6 | 2019-11-26 18:21:51 +0000 | [diff] [blame] | 15 | 'swiftshader_git': 'https://swiftshader.googlesource.com', |
Corentin Wallez | 21a2385 | 2018-07-31 18:50:03 +0200 | [diff] [blame] | 16 | |
Corentin Wallez | 21a2385 | 2018-07-31 18:50:03 +0200 | [diff] [blame] | 17 | 'dawn_standalone': True, |
Ben Clayton | dc890d6 | 2021-09-27 22:55:39 +0000 | [diff] [blame] | 18 | 'dawn_node': False, # Also fetches dependencies required for building NodeJS bindings. |
Corentin Wallez | fa1a547 | 2022-08-02 16:07:45 +0000 | [diff] [blame] | 19 | 'dawn_cmake_version': 'version:2@3.23.3', |
Austin Eng | 4948c81 | 2021-10-15 14:28:32 +0000 | [diff] [blame] | 20 | 'dawn_cmake_win32_sha1': 'b106d66bcdc8a71ea2cdf5446091327bfdb1bcd7', |
danakj | 352b630 | 2023-10-19 22:27:14 +0000 | [diff] [blame] | 21 | 'dawn_gn_version': 'git_revision:182a6eb05d15cc76d2302f7928fdb4f645d52c53', |
Junji Watanabe | 4ad7f01 | 2022-10-03 02:48:52 +0000 | [diff] [blame] | 22 | # ninja CIPD package version. |
| 23 | # https://chrome-infra-packages.appspot.com/p/infra/3pp/tools/ninja |
Corentin Wallez | 89b7809 | 2023-01-27 15:36:18 +0000 | [diff] [blame] | 24 | 'dawn_ninja_version': 'version:2@1.11.1.chromium.6', |
Ben Clayton | 08c4ea3 | 2023-10-30 18:46:42 +0000 | [diff] [blame] | 25 | 'dawn_go_version': 'version:2@1.21.3', |
Corentin Wallez | d520366 | 2022-01-05 15:54:08 +0000 | [diff] [blame] | 26 | |
Ben Clayton | 87a190e | 2024-01-23 15:17:03 +0000 | [diff] [blame] | 27 | 'node_darwin_arm64_sha': '864780996d3be6c9aca03f371a4bd672728f0a75', |
| 28 | 'node_darwin_x64_sha': '85ccc2202fd4f1615a443248c01a866ae227ba78', |
| 29 | 'node_linux_x64_sha': '46795170ff5df9831955f163f6966abde581c8af', |
| 30 | 'node_win_x64_sha': '2cb36010af52bc5e2a2d1e3675c10361c80d8f8d', |
Ben Clayton | 6f8ff74 | 2022-03-28 19:55:42 +0000 | [diff] [blame] | 31 | |
Corentin Wallez | d520366 | 2022-01-05 15:54:08 +0000 | [diff] [blame] | 32 | # GN variable required by //testing that will be output in the gclient_args.gni |
| 33 | 'generate_location_tags': False, |
dan sinclair | 93cf346 | 2022-05-16 12:58:24 +0000 | [diff] [blame] | 34 | |
| 35 | # Fetch clang-tidy into the same bin/ directory as our clang binary. |
| 36 | 'checkout_clang_tidy': False, |
Ryan Harrison | 29fc5e9 | 2023-07-17 16:12:27 +0000 | [diff] [blame] | 37 | |
danakj | 4090b7d | 2023-10-24 17:49:01 +0000 | [diff] [blame] | 38 | # Fetch the rust toolchain. |
| 39 | # |
| 40 | # Use a custom_vars section to enable it: |
| 41 | # "custom_vars": { |
| 42 | # "checkout_rust": True, |
| 43 | # } |
| 44 | 'checkout_rust': False, |
| 45 | |
Ryan Harrison | 29fc5e9 | 2023-07-17 16:12:27 +0000 | [diff] [blame] | 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 |
Corentin Wallez | 5905d92 | 2023-07-27 21:33:21 +0000 | [diff] [blame] | 49 | 'rbe_instance': 'projects/rbe-chrome-untrusted/instances/default_instance', |
Ryan Harrison | 29fc5e9 | 2023-07-17 16:12:27 +0000 | [diff] [blame] | 50 | # RBE project to download rewrapper config files for. Only needed if |
| 51 | # different from the project used in 'rbe_instance' |
Corentin Wallez | 5905d92 | 2023-07-27 21:33:21 +0000 | [diff] [blame] | 52 | 'rewrapper_cfg_project': '', |
Ryan Harrison | 29fc5e9 | 2023-07-17 16:12:27 +0000 | [diff] [blame] | 53 | # reclient CIPD package |
| 54 | 'reclient_package': 'infra/rbe/client/', |
| 55 | # reclient CIPD package version |
Loko Kung | 970b0d2 | 2024-06-01 03:26:40 +0000 | [diff] [blame] | 56 | 'reclient_version': 're_client_version:0.143.0.518e369-gomaip', |
Joanna Wang | 77ce559 | 2023-08-04 22:26:55 +0000 | [diff] [blame] | 57 | |
| 58 | # 'magic' text to tell depot_tools that git submodules should be accepted |
| 59 | # but parity with DEPS file is expected. |
Antonio Maiorano | 762198b | 2024-03-01 01:06:01 +0000 | [diff] [blame] | 60 | 'SUBMODULE_MIGRATION': 'True', |
| 61 | |
| 62 | 'fetch_cmake': False |
Corentin Wallez | 21a2385 | 2018-07-31 18:50:03 +0200 | [diff] [blame] | 63 | } |
| 64 | |
| 65 | deps = { |
Corentin Wallez | 1a0596d | 2018-09-10 15:16:10 +0200 | [diff] [blame] | 66 | 'buildtools': { |
Arthur Sonzogni | 3aaa0a3 | 2024-05-31 14:01:04 +0000 | [diff] [blame] | 67 | 'url': '{chromium_git}/chromium/src/buildtools@efa920ce144e4dc1c1841e73179cd7e23b9f0d5e', |
Corentin Wallez | 21a2385 | 2018-07-31 18:50:03 +0200 | [diff] [blame] | 68 | 'condition': 'dawn_standalone', |
| 69 | }, |
Loko Kung | 2d988ce | 2023-05-25 23:28:34 +0000 | [diff] [blame] | 70 | 'third_party/clang-format/script': { |
Arthur Sonzogni | 3aaa0a3 | 2024-05-31 14:01:04 +0000 | [diff] [blame] | 71 | 'url': '{chromium_git}/external/github.com/llvm/llvm-project/clang/tools/clang-format.git@95c834f3753e65ce6daa74e345c879566c1491d0', |
Corentin Wallez | 60ca94b | 2021-03-24 16:22:32 +0000 | [diff] [blame] | 72 | 'condition': 'dawn_standalone', |
| 73 | }, |
Corentin Wallez | 60ca94b | 2021-03-24 16:22:32 +0000 | [diff] [blame] | 74 | 'buildtools/linux64': { |
| 75 | 'packages': [{ |
| 76 | 'package': 'gn/gn/linux-amd64', |
Corentin Wallez | 88d5e07 | 2021-12-13 15:24:55 +0000 | [diff] [blame] | 77 | 'version': Var('dawn_gn_version'), |
Corentin Wallez | 60ca94b | 2021-03-24 16:22:32 +0000 | [diff] [blame] | 78 | }], |
| 79 | 'dep_type': 'cipd', |
| 80 | 'condition': 'dawn_standalone and host_os == "linux"', |
| 81 | }, |
| 82 | 'buildtools/mac': { |
| 83 | 'packages': [{ |
| 84 | 'package': 'gn/gn/mac-${{arch}}', |
Corentin Wallez | 88d5e07 | 2021-12-13 15:24:55 +0000 | [diff] [blame] | 85 | 'version': Var('dawn_gn_version'), |
Corentin Wallez | 60ca94b | 2021-03-24 16:22:32 +0000 | [diff] [blame] | 86 | }], |
| 87 | 'dep_type': 'cipd', |
| 88 | 'condition': 'dawn_standalone and host_os == "mac"', |
| 89 | }, |
| 90 | 'buildtools/win': { |
| 91 | 'packages': [{ |
| 92 | 'package': 'gn/gn/windows-amd64', |
Corentin Wallez | 88d5e07 | 2021-12-13 15:24:55 +0000 | [diff] [blame] | 93 | 'version': Var('dawn_gn_version'), |
Corentin Wallez | 60ca94b | 2021-03-24 16:22:32 +0000 | [diff] [blame] | 94 | }], |
| 95 | 'dep_type': 'cipd', |
| 96 | 'condition': 'dawn_standalone and host_os == "win"', |
| 97 | }, |
| 98 | |
Antonio Maiorano | c4fe82d | 2024-02-22 00:51:41 +0000 | [diff] [blame] | 99 | 'third_party/depot_tools': { |
Dawn Autoroller | 4127f7f | 2024-06-21 08:57:56 +0000 | [diff] [blame] | 100 | 'url': '{chromium_git}/chromium/tools/depot_tools.git@06673958a399758b95be5eeae3af2828e8d1a82d', |
Antonio Maiorano | c4fe82d | 2024-02-22 00:51:41 +0000 | [diff] [blame] | 101 | 'condition': 'dawn_standalone', |
| 102 | }, |
| 103 | |
Joanna Wang | ff5d8b5 | 2023-08-02 16:35:08 +0000 | [diff] [blame] | 104 | 'third_party/libc++/src': { |
Arthur Sonzogni | 3aaa0a3 | 2024-05-31 14:01:04 +0000 | [diff] [blame] | 105 | 'url': '{chromium_git}/external/github.com/llvm/llvm-project/libcxx.git@93a8f551c85a12ab102407db0f9a2236bcac505a', |
Joanna Wang | e7e54c0 | 2023-07-25 17:59:41 +0000 | [diff] [blame] | 106 | 'condition': 'dawn_standalone', |
| 107 | }, |
| 108 | |
Joanna Wang | ff5d8b5 | 2023-08-02 16:35:08 +0000 | [diff] [blame] | 109 | 'third_party/libc++abi/src': { |
Arthur Sonzogni | 3aaa0a3 | 2024-05-31 14:01:04 +0000 | [diff] [blame] | 110 | 'url': '{chromium_git}/external/github.com/llvm/llvm-project/libcxxabi.git@5f2c9767ceaeb8a21e4004890bf2c6b08faa8687', |
Joanna Wang | e7e54c0 | 2023-07-25 17:59:41 +0000 | [diff] [blame] | 111 | 'condition': 'dawn_standalone', |
| 112 | }, |
| 113 | |
danakj | 4090b7d | 2023-10-24 17:49:01 +0000 | [diff] [blame] | 114 | # Dependencies required to use GN, Clang, and Rust in standalone. |
| 115 | # The //build, //tools/clang, and //tools/rust deps should all be updated |
| 116 | # in unison, as there are dependencies between them. |
| 117 | 'build': { |
Arthur Sonzogni | 3aaa0a3 | 2024-05-31 14:01:04 +0000 | [diff] [blame] | 118 | 'url': '{chromium_git}/chromium/src/build@007a74bf79d5c749f6c217f743999ffdcea4cbec', |
Corentin Wallez | 21a2385 | 2018-07-31 18:50:03 +0200 | [diff] [blame] | 119 | 'condition': 'dawn_standalone', |
| 120 | }, |
danakj | 4090b7d | 2023-10-24 17:49:01 +0000 | [diff] [blame] | 121 | 'tools/clang': { |
Arthur Sonzogni | 3aaa0a3 | 2024-05-31 14:01:04 +0000 | [diff] [blame] | 122 | 'url': '{chromium_git}/chromium/src/tools/clang@7d6eb60255e85509c5124e727d5c9502a344c9f1', |
danakj | 4090b7d | 2023-10-24 17:49:01 +0000 | [diff] [blame] | 123 | 'condition': 'dawn_standalone', |
| 124 | }, |
| 125 | 'tools/rust': { |
Arthur Sonzogni | 3aaa0a3 | 2024-05-31 14:01:04 +0000 | [diff] [blame] | 126 | 'url': '{chromium_git}/chromium/src/tools/rust@e509baed59ecd097b6fe27c0ffabd3be5ed87860', |
danakj | 4090b7d | 2023-10-24 17:49:01 +0000 | [diff] [blame] | 127 | 'condition': 'dawn_standalone and checkout_rust', |
| 128 | }, |
Kai Ninomiya | f526d77 | 2020-04-06 22:27:02 +0000 | [diff] [blame] | 129 | 'tools/clang/dsymutil': { |
Corentin Wallez | 60ca94b | 2021-03-24 16:22:32 +0000 | [diff] [blame] | 130 | 'packages': [{ |
| 131 | 'package': 'chromium/llvm-build-tools/dsymutil', |
| 132 | 'version': 'M56jPzDv1620Rnm__jTMYS62Zi8rxHVq7yw0qeBFEgkC', |
| 133 | }], |
Corentin Wallez | 2015b2f | 2021-03-04 17:37:55 +0000 | [diff] [blame] | 134 | 'condition': 'dawn_standalone and (checkout_mac or checkout_ios)', |
Kai Ninomiya | f526d77 | 2020-04-06 22:27:02 +0000 | [diff] [blame] | 135 | 'dep_type': 'cipd', |
| 136 | }, |
Corentin Wallez | 21a2385 | 2018-07-31 18:50:03 +0200 | [diff] [blame] | 137 | |
Antonio Maiorano | af46ea5 | 2024-05-03 19:36:58 +0000 | [diff] [blame] | 138 | # Linux sysroots for hermetic builds instead of relying on whatever is |
| 139 | # available from the system used for compilation. Only applicable to |
| 140 | # dawn_standalone since Chromium has its own sysroot copy. |
| 141 | 'build/linux/debian_bullseye_armhf-sysroot': { |
| 142 | 'bucket': 'chrome-linux-sysroot', |
| 143 | 'condition': 'dawn_standalone and checkout_linux and checkout_arm', |
| 144 | 'dep_type': 'gcs', |
| 145 | 'objects': [ |
| 146 | { |
| 147 | 'object_name': 'e1ace9eea7f5f8906a5de665022abb745efb47ce4931ae774b58005adaf907e9', |
| 148 | 'sha256sum': 'e1ace9eea7f5f8906a5de665022abb745efb47ce4931ae774b58005adaf907e9', |
| 149 | 'size_bytes': 96825360, |
| 150 | 'generation': 1714159610727506, |
| 151 | }, |
| 152 | ], |
| 153 | }, |
| 154 | 'build/linux/debian_bullseye_arm64-sysroot': { |
| 155 | 'bucket': 'chrome-linux-sysroot', |
| 156 | 'condition': 'dawn_standalone and checkout_linux and checkout_arm64', |
| 157 | 'dep_type': 'gcs', |
| 158 | 'objects': [ |
| 159 | { |
| 160 | 'object_name': 'd303cf3faf7804c9dd24c9b6b167d0345d41d7fe4bfb7d34add3ab342f6a236c', |
| 161 | 'sha256sum': 'd303cf3faf7804c9dd24c9b6b167d0345d41d7fe4bfb7d34add3ab342f6a236c', |
| 162 | 'size_bytes': 103556332, |
| 163 | 'generation': 1714159596952688, |
| 164 | }, |
| 165 | ], |
| 166 | }, |
| 167 | 'build/linux/debian_bullseye_i386-sysroot': { |
| 168 | 'bucket': 'chrome-linux-sysroot', |
| 169 | 'condition': 'dawn_standalone and checkout_linux and (checkout_x86 or checkout_x64)', |
| 170 | 'dep_type': 'gcs', |
| 171 | 'objects': [ |
| 172 | { |
| 173 | 'object_name': '4300851707ad38b204e7f4912950c05ad51da0251ecc4e410de9b9fb94f7decf', |
| 174 | 'sha256sum': '4300851707ad38b204e7f4912950c05ad51da0251ecc4e410de9b9fb94f7decf', |
| 175 | 'size_bytes': 116515924, |
| 176 | 'generation': 1714159579525878, |
| 177 | }, |
| 178 | ], |
| 179 | }, |
| 180 | 'build/linux/debian_bullseye_mipsel-sysroot': { |
| 181 | 'bucket': 'chrome-linux-sysroot', |
| 182 | 'condition': 'dawn_standalone and checkout_linux and checkout_mips', |
| 183 | 'dep_type': 'gcs', |
| 184 | 'objects': [ |
| 185 | { |
| 186 | 'object_name': 'cc3202718a58541488e79b0333ce936a32227e07228f6b3c122d99ee45f83270', |
| 187 | 'sha256sum': 'cc3202718a58541488e79b0333ce936a32227e07228f6b3c122d99ee45f83270', |
| 188 | 'size_bytes': 93412776, |
| 189 | 'generation': 1714159559897107, |
| 190 | }, |
| 191 | ], |
| 192 | }, |
| 193 | 'build/linux/debian_bullseye_mips64el-sysroot': { |
| 194 | 'bucket': 'chrome-linux-sysroot', |
| 195 | 'condition': 'dawn_standalone and checkout_linux and checkout_mips64', |
| 196 | 'dep_type': 'gcs', |
| 197 | 'objects': [ |
| 198 | { |
| 199 | 'object_name': 'ee94d723b36d1e643820fe7ee2a8f45b3664b4c5d3c3379ebab39e474a2c9f86', |
| 200 | 'sha256sum': 'ee94d723b36d1e643820fe7ee2a8f45b3664b4c5d3c3379ebab39e474a2c9f86', |
| 201 | 'size_bytes': 97911708, |
| 202 | 'generation': 1714159538956875, |
| 203 | }, |
| 204 | ], |
| 205 | }, |
| 206 | 'build/linux/debian_bullseye_amd64-sysroot': { |
| 207 | 'bucket': 'chrome-linux-sysroot', |
| 208 | 'condition': 'dawn_standalone and checkout_linux and checkout_x64', |
| 209 | 'dep_type': 'gcs', |
| 210 | 'objects': [ |
| 211 | { |
| 212 | 'object_name': '5df5be9357b425cdd70d92d4697d07e7d55d7a923f037c22dc80a78e85842d2c', |
| 213 | 'sha256sum': '5df5be9357b425cdd70d92d4697d07e7d55d7a923f037c22dc80a78e85842d2c', |
| 214 | 'size_bytes': 123084324, |
| 215 | 'generation': 1714159395960299, |
| 216 | }, |
| 217 | ], |
| 218 | }, |
| 219 | |
| 220 | |
Corentin Wallez | 649e2fe | 2018-08-03 15:57:43 +0200 | [diff] [blame] | 221 | # Testing, GTest and GMock |
Corentin Wallez | 1a0596d | 2018-09-10 15:16:10 +0200 | [diff] [blame] | 222 | 'testing': { |
Takuto Ikuta | 6cdf3a1 | 2024-06-13 08:26:19 +0000 | [diff] [blame] | 223 | 'url': '{chromium_git}/chromium/src/testing@1bd0da6657e330cf26ed0702b3f456393587ad7c', |
Ben Clayton | b7bd8d8 | 2023-09-28 14:10:51 +0000 | [diff] [blame] | 224 | 'condition': 'dawn_standalone', |
| 225 | }, |
| 226 | 'third_party/libFuzzer/src': { |
| 227 | 'url': '{chromium_git}/external/github.com/llvm/llvm-project/compiler-rt/lib/fuzzer.git' + '@' + '26cc39e59b2bf5cbc20486296248a842c536878d', |
Corentin Wallez | 21a2385 | 2018-07-31 18:50:03 +0200 | [diff] [blame] | 228 | 'condition': 'dawn_standalone', |
| 229 | }, |
Corentin Wallez | 1a0596d | 2018-09-10 15:16:10 +0200 | [diff] [blame] | 230 | 'third_party/googletest': { |
Austin Eng | a0e96b5 | 2023-02-18 00:39:01 +0000 | [diff] [blame] | 231 | 'url': '{chromium_git}/external/github.com/google/googletest@7a7231c442484be389fdf01594310349ca0e42a8', |
Corentin Wallez | d520366 | 2022-01-05 15:54:08 +0000 | [diff] [blame] | 232 | 'condition': 'dawn_standalone', |
| 233 | }, |
| 234 | # This is a dependency of //testing |
| 235 | 'third_party/catapult': { |
Anne Redulla | 3bcc93f | 2023-08-09 15:12:58 +0000 | [diff] [blame] | 236 | 'url': '{chromium_git}/catapult.git@dd218dfd815774289f8a81015f7a3131f72afbde', |
Corentin Wallez | 649e2fe | 2018-08-03 15:57:43 +0200 | [diff] [blame] | 237 | 'condition': 'dawn_standalone', |
| 238 | }, |
Austin Eng | 6a7bba5 | 2023-04-17 18:11:51 +0000 | [diff] [blame] | 239 | 'third_party/google_benchmark/src': { |
| 240 | 'url': '{chromium_git}/external/github.com/google/benchmark.git' + '@' + 'efc89f0b524780b1994d5dddd83a92718e5be492', |
| 241 | 'condition': 'dawn_standalone', |
| 242 | }, |
Corentin Wallez | 21a2385 | 2018-07-31 18:50:03 +0200 | [diff] [blame] | 243 | |
Corentin Wallez | 3bb0bb9 | 2018-08-13 17:47:44 +0200 | [diff] [blame] | 244 | # Jinja2 and MarkupSafe for the code generator |
Corentin Wallez | 1a0596d | 2018-09-10 15:16:10 +0200 | [diff] [blame] | 245 | 'third_party/jinja2': { |
Corentin Wallez | d2c27be | 2024-01-09 12:37:34 +0000 | [diff] [blame] | 246 | 'url': '{chromium_git}/chromium/src/third_party/jinja2@e2d024354e11cc6b041b0cff032d73f0c7e43a07', |
Corentin Wallez | 3bb0bb9 | 2018-08-13 17:47:44 +0200 | [diff] [blame] | 247 | 'condition': 'dawn_standalone', |
| 248 | }, |
Corentin Wallez | 1a0596d | 2018-09-10 15:16:10 +0200 | [diff] [blame] | 249 | 'third_party/markupsafe': { |
Corentin Wallez | d2c27be | 2024-01-09 12:37:34 +0000 | [diff] [blame] | 250 | 'url': '{chromium_git}/chromium/src/third_party/markupsafe@0bad08bb207bbfc1d6f3bbc82b9242b0c50e5794', |
Corentin Wallez | 3bb0bb9 | 2018-08-13 17:47:44 +0200 | [diff] [blame] | 251 | 'condition': 'dawn_standalone', |
| 252 | }, |
| 253 | |
Corentin Wallez | 4d7d169 | 2018-08-13 08:23:27 +0200 | [diff] [blame] | 254 | # GLFW for tests and samples |
Corentin Wallez | 1a0596d | 2018-09-10 15:16:10 +0200 | [diff] [blame] | 255 | 'third_party/glfw': { |
Corentin Wallez | 82d0a2e | 2024-05-24 14:40:48 +0000 | [diff] [blame] | 256 | 'url': '{chromium_git}/external/github.com/glfw/glfw@b35641f4a3c62aa86a0b3c983d163bc0fe36026d', |
Corentin Wallez | 4d7d169 | 2018-08-13 08:23:27 +0200 | [diff] [blame] | 257 | }, |
| 258 | |
Stephen White | 77fcdf7 | 2021-01-11 15:52:12 +0000 | [diff] [blame] | 259 | 'third_party/vulkan_memory_allocator': { |
Corentin Wallez | e7badbc | 2024-01-10 19:19:41 +0000 | [diff] [blame] | 260 | 'url': '{chromium_git}/external/github.com/GPUOpen-LibrariesAndSDKs/VulkanMemoryAllocator@52dc220fb326e6ae132b7f262133b37b0dc334a3', |
Stephen White | 77fcdf7 | 2021-01-11 15:52:12 +0000 | [diff] [blame] | 261 | 'condition': 'dawn_standalone', |
| 262 | }, |
| 263 | |
| 264 | 'third_party/angle': { |
Dawn Autoroller | bf16872 | 2024-06-28 01:00:49 +0000 | [diff] [blame^] | 265 | 'url': '{chromium_git}/angle/angle@a674dc1dae8fc6e7b4839429f27ff00629a04d8a', |
Stephen White | 77fcdf7 | 2021-01-11 15:52:12 +0000 | [diff] [blame] | 266 | 'condition': 'dawn_standalone', |
| 267 | }, |
| 268 | |
Corentin Wallez | 74cebd6 | 2019-11-26 18:21:51 +0000 | [diff] [blame] | 269 | 'third_party/swiftshader': { |
Dawn Autoroller | be511f2 | 2024-06-26 04:40:33 +0000 | [diff] [blame] | 270 | 'url': '{swiftshader_git}/SwiftShader@a0ec371d8331d787c61eccc89fb411019330314e', |
Corentin Wallez | 74cebd6 | 2019-11-26 18:21:51 +0000 | [diff] [blame] | 271 | 'condition': 'dawn_standalone', |
| 272 | }, |
| 273 | |
Stephen White | f1fa60b | 2021-01-06 17:41:50 +0000 | [diff] [blame] | 274 | 'third_party/vulkan-deps': { |
Dawn Autoroller | 2177c4d | 2024-06-27 10:44:11 +0000 | [diff] [blame] | 275 | 'url': '{chromium_git}/vulkan-deps@7ff358e64e2ba8121386cbcaaa95835c6abe63af', |
Corentin Wallez | 1fdd059 | 2021-04-02 18:04:27 +0000 | [diff] [blame] | 276 | 'condition': 'dawn_standalone', |
Stephen White | 77fcdf7 | 2021-01-11 15:52:12 +0000 | [diff] [blame] | 277 | }, |
| 278 | |
Yuly Novikov | 143523a | 2024-05-23 15:59:58 +0000 | [diff] [blame] | 279 | 'third_party/glslang/src': { |
Dawn Autoroller | 2177c4d | 2024-06-27 10:44:11 +0000 | [diff] [blame] | 280 | 'url': '{chromium_git}/external/github.com/KhronosGroup/glslang@ea087ff90d03947307cfe52500b74551aa35d34d', |
Yuly Novikov | 143523a | 2024-05-23 15:59:58 +0000 | [diff] [blame] | 281 | 'condition': 'dawn_standalone', |
| 282 | }, |
| 283 | |
| 284 | 'third_party/spirv-cross/src': { |
| 285 | 'url': '{chromium_git}/external/github.com/KhronosGroup/SPIRV-Cross@b8fcf307f1f347089e3c46eb4451d27f32ebc8d3', |
| 286 | 'condition': 'dawn_standalone', |
| 287 | }, |
| 288 | |
| 289 | 'third_party/spirv-headers/src': { |
Dawn Autoroller | 88ab548 | 2024-06-13 11:51:55 +0000 | [diff] [blame] | 290 | 'url': '{chromium_git}/external/github.com/KhronosGroup/SPIRV-Headers@2acb319af38d43be3ea76bfabf3998e5281d8d12', |
Yuly Novikov | 143523a | 2024-05-23 15:59:58 +0000 | [diff] [blame] | 291 | 'condition': 'dawn_standalone', |
| 292 | }, |
| 293 | |
| 294 | 'third_party/spirv-tools/src': { |
Dawn Autoroller | 2177c4d | 2024-06-27 10:44:11 +0000 | [diff] [blame] | 295 | 'url': '{chromium_git}/external/github.com/KhronosGroup/SPIRV-Tools@ca004da9f9c7fa7ed536709823bd604fab3cd7da', |
Yuly Novikov | 143523a | 2024-05-23 15:59:58 +0000 | [diff] [blame] | 296 | 'condition': 'dawn_standalone', |
| 297 | }, |
| 298 | |
| 299 | 'third_party/vulkan-headers/src': { |
Dawn Autoroller | b5e7596 | 2024-06-19 16:22:34 +0000 | [diff] [blame] | 300 | 'url': '{chromium_git}/external/github.com/KhronosGroup/Vulkan-Headers@e3c37e6e184a232e10b01dff5a065ce48c047f88', |
Yuly Novikov | 143523a | 2024-05-23 15:59:58 +0000 | [diff] [blame] | 301 | 'condition': 'dawn_standalone', |
| 302 | }, |
| 303 | |
| 304 | 'third_party/vulkan-loader/src': { |
Dawn Autoroller | 22e48df | 2024-06-26 08:41:53 +0000 | [diff] [blame] | 305 | 'url': '{chromium_git}/external/github.com/KhronosGroup/Vulkan-Loader@05f36c032ef20676eff121a8c8d5e6e33796ec8b', |
Yuly Novikov | 143523a | 2024-05-23 15:59:58 +0000 | [diff] [blame] | 306 | 'condition': 'dawn_standalone', |
| 307 | }, |
| 308 | |
| 309 | 'third_party/vulkan-tools/src': { |
Dawn Autoroller | 50c90ed | 2024-06-15 10:52:32 +0000 | [diff] [blame] | 310 | 'url': '{chromium_git}/external/github.com/KhronosGroup/Vulkan-Tools@345af476e583366352e014ee8e43fc5ddf421ab9', |
Yuly Novikov | 143523a | 2024-05-23 15:59:58 +0000 | [diff] [blame] | 311 | 'condition': 'dawn_standalone', |
| 312 | }, |
| 313 | |
| 314 | 'third_party/vulkan-utility-libraries/src': { |
Dawn Autoroller | 15a4f53 | 2024-06-25 07:07:26 +0000 | [diff] [blame] | 315 | 'url': '{chromium_git}/external/github.com/KhronosGroup/Vulkan-Utility-Libraries@60fe7d0c153dc07325a8fb45310723a1767db811', |
Yuly Novikov | 143523a | 2024-05-23 15:59:58 +0000 | [diff] [blame] | 316 | 'condition': 'dawn_standalone', |
| 317 | }, |
| 318 | |
| 319 | 'third_party/vulkan-validation-layers/src': { |
Dawn Autoroller | 2177c4d | 2024-06-27 10:44:11 +0000 | [diff] [blame] | 320 | 'url': '{chromium_git}/external/github.com/KhronosGroup/Vulkan-ValidationLayers@df3e018436e38c2536d5b79e1e662e6323b6fbe2', |
Yuly Novikov | 143523a | 2024-05-23 15:59:58 +0000 | [diff] [blame] | 321 | 'condition': 'dawn_standalone', |
| 322 | }, |
| 323 | |
Stephen White | 77fcdf7 | 2021-01-11 15:52:12 +0000 | [diff] [blame] | 324 | 'third_party/zlib': { |
Arthur Sonzogni | 3aaa0a3 | 2024-05-31 14:01:04 +0000 | [diff] [blame] | 325 | 'url': '{chromium_git}/chromium/src/third_party/zlib@209717dd69cd62f24cbacc4758261ae2dd78cfac', |
Stephen White | f1fa60b | 2021-01-06 17:41:50 +0000 | [diff] [blame] | 326 | 'condition': 'dawn_standalone', |
| 327 | }, |
Brandon Jones | a04663c | 2021-09-23 20:36:03 +0000 | [diff] [blame] | 328 | |
| 329 | 'third_party/abseil-cpp': { |
Corentin Wallez | 86e10a6 | 2024-05-20 13:48:38 +0000 | [diff] [blame] | 330 | 'url': '{chromium_git}/chromium/src/third_party/abseil-cpp@f81f6c011baf9b0132a5594c034fe0060820711d', |
Brandon Jones | a04663c | 2021-09-23 20:36:03 +0000 | [diff] [blame] | 331 | 'condition': 'dawn_standalone', |
| 332 | }, |
Ben Clayton | dc890d6 | 2021-09-27 22:55:39 +0000 | [diff] [blame] | 333 | |
Antonio Maiorano | ad5e108 | 2023-06-22 20:45:54 +0000 | [diff] [blame] | 334 | 'third_party/dxc': { |
Dawn Autoroller | 76256a8 | 2024-06-28 00:23:43 +0000 | [diff] [blame] | 335 | 'url': '{chromium_git}/external/github.com/microsoft/DirectXShaderCompiler@49d1ae9a029c404141050e270c05c9348b1011af', |
Antonio Maiorano | ad5e108 | 2023-06-22 20:45:54 +0000 | [diff] [blame] | 336 | }, |
Antonio Maiorano | 83bdc7f | 2023-08-21 15:29:35 +0000 | [diff] [blame] | 337 | |
Antonio Maiorano | ad5e108 | 2023-06-22 20:45:54 +0000 | [diff] [blame] | 338 | 'third_party/dxheaders': { |
| 339 | # The non-Windows build of DXC depends on DirectX-Headers, and at a specific commit (not ToT) |
| 340 | 'url': '{chromium_git}/external/github.com/microsoft/DirectX-Headers@980971e835876dc0cde415e8f9bc646e64667bf7', |
Austin Eng | c02f143 | 2023-07-05 22:38:39 +0000 | [diff] [blame] | 341 | 'condition': 'host_os != "win"', |
Antonio Maiorano | ad5e108 | 2023-06-22 20:45:54 +0000 | [diff] [blame] | 342 | }, |
| 343 | |
Austin Eng | b94ef82 | 2024-05-02 02:37:35 +0000 | [diff] [blame] | 344 | 'third_party/webgpu-headers': { |
Ho Cheung | 084cc58 | 2024-05-22 15:51:26 +0000 | [diff] [blame] | 345 | 'url': '{chromium_git}/external/github.com/webgpu-native/webgpu-headers@8049c324dc7b3c09dc96ea04cb02860f272c8686', |
Austin Eng | b94ef82 | 2024-05-02 02:37:35 +0000 | [diff] [blame] | 346 | }, |
| 347 | |
Antonio Maiorano | 83bdc7f | 2023-08-21 15:29:35 +0000 | [diff] [blame] | 348 | 'third_party/khronos/OpenGL-Registry': { |
| 349 | 'url': '{chromium_git}/external/github.com/KhronosGroup/OpenGL-Registry@5bae8738b23d06968e7c3a41308568120943ae77', |
| 350 | }, |
| 351 | |
| 352 | 'third_party/khronos/EGL-Registry': { |
| 353 | 'url': '{chromium_git}/external/github.com/KhronosGroup/EGL-Registry@7dea2ed79187cd13f76183c4b9100159b9e3e071', |
| 354 | }, |
| 355 | |
Kai Ninomiya | 5c780d7 | 2022-03-17 21:43:17 +0000 | [diff] [blame] | 356 | # WebGPU CTS - not used directly by Dawn, only transitively by Chromium. |
| 357 | 'third_party/webgpu-cts': { |
Dawn Automated Expectations | 2c06629 | 2024-06-26 00:33:40 +0000 | [diff] [blame] | 358 | 'url': '{chromium_git}/external/github.com/gpuweb/cts@3d390f4e5b7dafd0172089ee43353a2ae023cdcc', |
Kai Ninomiya | 5c780d7 | 2022-03-17 21:43:17 +0000 | [diff] [blame] | 359 | 'condition': 'build_with_chromium', |
| 360 | }, |
| 361 | |
Ben Clayton | 6f8ff74 | 2022-03-28 19:55:42 +0000 | [diff] [blame] | 362 | # Dependencies required to build / run Dawn NodeJS bindings |
Ben Clayton | dc890d6 | 2021-09-27 22:55:39 +0000 | [diff] [blame] | 363 | 'third_party/node-api-headers': { |
Corentin Wallez | bcfe066 | 2024-05-20 13:57:04 +0000 | [diff] [blame] | 364 | 'url': '{github_git}/nodejs/node-api-headers.git@d5cfe19da8b974ca35764dd1c73b91d57cd3c4ce', |
Ben Clayton | dc890d6 | 2021-09-27 22:55:39 +0000 | [diff] [blame] | 365 | 'condition': 'dawn_node', |
| 366 | }, |
| 367 | 'third_party/node-addon-api': { |
Corentin Wallez | bcfe066 | 2024-05-20 13:57:04 +0000 | [diff] [blame] | 368 | 'url': '{github_git}/nodejs/node-addon-api.git@1e26dcb52829a74260ec262edb41fc22998669b6', |
Ben Clayton | dc890d6 | 2021-09-27 22:55:39 +0000 | [diff] [blame] | 369 | 'condition': 'dawn_node', |
| 370 | }, |
| 371 | 'third_party/gpuweb': { |
François Beaufort | cd2be0f | 2024-06-04 00:36:05 +0000 | [diff] [blame] | 372 | 'url': '{github_git}/gpuweb/gpuweb.git@002b4939ba7ad3db1f83470e7c6a0a488fc548a6', |
Ben Clayton | dc890d6 | 2021-09-27 22:55:39 +0000 | [diff] [blame] | 373 | 'condition': 'dawn_node', |
| 374 | }, |
Austin Eng | 4948c81 | 2021-10-15 14:28:32 +0000 | [diff] [blame] | 375 | |
| 376 | 'tools/golang': { |
Austin Eng | 4948c81 | 2021-10-15 14:28:32 +0000 | [diff] [blame] | 377 | 'packages': [{ |
| 378 | 'package': 'infra/3pp/tools/go/${{platform}}', |
| 379 | 'version': Var('dawn_go_version'), |
| 380 | }], |
| 381 | 'dep_type': 'cipd', |
| 382 | }, |
| 383 | |
| 384 | 'tools/cmake': { |
Antonio Maiorano | 762198b | 2024-03-01 01:06:01 +0000 | [diff] [blame] | 385 | 'condition': '(fetch_cmake or dawn_node) and (host_os == "mac" or host_os == "linux")', |
Austin Eng | 4948c81 | 2021-10-15 14:28:32 +0000 | [diff] [blame] | 386 | 'packages': [{ |
| 387 | 'package': 'infra/3pp/tools/cmake/${{platform}}', |
| 388 | 'version': Var('dawn_cmake_version'), |
| 389 | }], |
| 390 | 'dep_type': 'cipd', |
| 391 | }, |
Ryan Harrison | e87ac76 | 2022-04-06 15:37:27 -0400 | [diff] [blame] | 392 | |
Junji Watanabe | 4ad7f01 | 2022-10-03 02:48:52 +0000 | [diff] [blame] | 393 | 'third_party/ninja': { |
| 394 | 'packages': [ |
| 395 | { |
| 396 | 'package': 'infra/3pp/tools/ninja/${{platform}}', |
| 397 | 'version': Var('dawn_ninja_version'), |
| 398 | } |
| 399 | ], |
| 400 | 'dep_type': 'cipd', |
| 401 | }, |
| 402 | |
Ryan Harrison | 29fc5e9 | 2023-07-17 16:12:27 +0000 | [diff] [blame] | 403 | # RBE dependencies |
| 404 | 'buildtools/reclient': { |
| 405 | 'packages': [ |
| 406 | { |
| 407 | 'package': Var('reclient_package') + '${{platform}}', |
| 408 | 'version': Var('reclient_version'), |
| 409 | } |
| 410 | ], |
| 411 | 'dep_type': 'cipd', |
| 412 | 'condition': 'dawn_standalone', |
| 413 | }, |
Ryan Harrison | 29fc5e9 | 2023-07-17 16:12:27 +0000 | [diff] [blame] | 414 | |
Ryan Harrison | e87ac76 | 2022-04-06 15:37:27 -0400 | [diff] [blame] | 415 | # Misc dependencies inherited from Tint |
Ryan Harrison | 3374f43 | 2022-03-28 18:01:02 +0000 | [diff] [blame] | 416 | 'third_party/protobuf': { |
Ben Clayton | de2686e | 2023-11-16 12:39:06 +0000 | [diff] [blame] | 417 | 'url': '{chromium_git}/chromium/src/third_party/protobuf@41759e11ec427e29e1a72b9401d2af3f6e02d839', |
| 418 | 'condition': 'dawn_standalone', |
| 419 | }, |
| 420 | |
| 421 | 'tools/protoc_wrapper': { |
| 422 | 'url': '{chromium_git}/chromium/src/tools/protoc_wrapper@b5ea227bd88235ab3ccda964d5f3819c4e2d8032', |
Ryan Harrison | e87ac76 | 2022-04-06 15:37:27 -0400 | [diff] [blame] | 423 | 'condition': 'dawn_standalone', |
Ryan Harrison | 3374f43 | 2022-03-28 18:01:02 +0000 | [diff] [blame] | 424 | }, |
Arthur Sonzogni | 8b28afe | 2023-10-12 16:06:04 +0000 | [diff] [blame] | 425 | |
Ben Clayton | 818dfde | 2024-05-27 22:48:41 +0000 | [diff] [blame] | 426 | 'third_party/libprotobuf-mutator/src': { |
| 427 | 'url': '{chromium_git}/external/github.com/google/libprotobuf-mutator.git@a304ec48dcf15d942607032151f7e9ee504b5dcf', |
| 428 | 'condition': 'dawn_standalone', |
| 429 | }, |
| 430 | |
Ben Clayton | f9a5b71 | 2024-03-13 17:37:33 +0000 | [diff] [blame] | 431 | # Dependencies for tintd. |
| 432 | 'third_party/jsoncpp': { |
| 433 | 'url': '{github_git}/open-source-parsers/jsoncpp.git@69098a18b9af0c47549d9a271c054d13ca92b006', |
| 434 | 'condition': 'dawn_standalone', |
| 435 | }, |
| 436 | |
| 437 | 'third_party/langsvr': { |
Gregg Tavares | 498879a | 2024-05-17 12:12:09 +0000 | [diff] [blame] | 438 | 'url': '{github_git}/google/langsvr.git@303c526231a90049a3e384549720f3fbd453cf66', |
Ben Clayton | f9a5b71 | 2024-03-13 17:37:33 +0000 | [diff] [blame] | 439 | 'condition': 'dawn_standalone', |
| 440 | }, |
| 441 | |
Arthur Sonzogni | 8b28afe | 2023-10-12 16:06:04 +0000 | [diff] [blame] | 442 | # Dependencies for PartitionAlloc. |
| 443 | # Doc: https://docs.google.com/document/d/1wz45t0alQthsIU9P7_rQcfQyqnrBMXzrOjSzdQo-V-A |
| 444 | 'third_party/partition_alloc': { |
Arthur Sonzogni | 3aaa0a3 | 2024-05-31 14:01:04 +0000 | [diff] [blame] | 445 | 'url': '{chromium_git}/chromium/src/base/allocator/partition_allocator.git@f941becc7efa75971aa4e83d0cd3217f4f1ef57f', |
Arthur Sonzogni | 8b28afe | 2023-10-12 16:06:04 +0000 | [diff] [blame] | 446 | 'condition': 'dawn_standalone', |
| 447 | }, |
Corentin Wallez | 21a2385 | 2018-07-31 18:50:03 +0200 | [diff] [blame] | 448 | } |
| 449 | |
| 450 | hooks = [ |
Antonio Maiorano | c4fe82d | 2024-02-22 00:51:41 +0000 | [diff] [blame] | 451 | { |
| 452 | # Ensure that the DEPS'd "depot_tools" has its self-update capability |
| 453 | # disabled. |
| 454 | 'name': 'disable_depot_tools_selfupdate', |
| 455 | 'pattern': '.', |
| 456 | 'condition': 'dawn_standalone', |
| 457 | 'action': [ |
| 458 | 'python3', |
| 459 | 'third_party/depot_tools/update_depot_tools_toggle.py', |
| 460 | '--disable', |
| 461 | ], |
| 462 | }, |
| 463 | |
Corentin Wallez | 21a2385 | 2018-07-31 18:50:03 +0200 | [diff] [blame] | 464 | # Pull the compilers and system libraries for hermetic builds |
| 465 | { |
| 466 | 'name': 'sysroot_x86', |
| 467 | 'pattern': '.', |
Corentin Wallez | 2015b2f | 2021-03-04 17:37:55 +0000 | [diff] [blame] | 468 | 'condition': 'dawn_standalone and checkout_linux and (checkout_x86 or checkout_x64)', |
Corentin Wallez | d520366 | 2022-01-05 15:54:08 +0000 | [diff] [blame] | 469 | 'action': ['python3', 'build/linux/sysroot_scripts/install-sysroot.py', |
Corentin Wallez | 21a2385 | 2018-07-31 18:50:03 +0200 | [diff] [blame] | 470 | '--arch=x86'], |
| 471 | }, |
| 472 | { |
| 473 | 'name': 'sysroot_x64', |
| 474 | 'pattern': '.', |
Corentin Wallez | 2015b2f | 2021-03-04 17:37:55 +0000 | [diff] [blame] | 475 | 'condition': 'dawn_standalone and checkout_linux and checkout_x64', |
Corentin Wallez | d520366 | 2022-01-05 15:54:08 +0000 | [diff] [blame] | 476 | 'action': ['python3', 'build/linux/sysroot_scripts/install-sysroot.py', |
Corentin Wallez | 21a2385 | 2018-07-31 18:50:03 +0200 | [diff] [blame] | 477 | '--arch=x64'], |
| 478 | }, |
| 479 | { |
Corentin Wallez | d4e7f08 | 2020-11-17 21:16:31 +0000 | [diff] [blame] | 480 | # Update the Mac toolchain if possible, this makes builders use "hermetic XCode" which is |
| 481 | # is more consistent (only changes when rolling build/) and is cached. |
| 482 | 'name': 'mac_toolchain', |
| 483 | 'pattern': '.', |
Corentin Wallez | 2015b2f | 2021-03-04 17:37:55 +0000 | [diff] [blame] | 484 | 'condition': 'dawn_standalone and checkout_mac', |
Corentin Wallez | d520366 | 2022-01-05 15:54:08 +0000 | [diff] [blame] | 485 | 'action': ['python3', 'build/mac_toolchain.py'], |
Corentin Wallez | d4e7f08 | 2020-11-17 21:16:31 +0000 | [diff] [blame] | 486 | }, |
| 487 | { |
Peng Huang | 78583a1 | 2023-02-10 13:53:31 +0000 | [diff] [blame] | 488 | # Case-insensitivity for the Win SDK. Must run before win_toolchain below. |
| 489 | 'name': 'ciopfs_linux', |
| 490 | 'pattern': '.', |
Peng Huang | 708a077 | 2023-02-13 11:38:38 +0000 | [diff] [blame] | 491 | 'condition': 'dawn_standalone and checkout_win and host_os == "linux"', |
Antonio Maiorano | c4fe82d | 2024-02-22 00:51:41 +0000 | [diff] [blame] | 492 | 'action': [ 'python3', |
| 493 | 'third_party/depot_tools/download_from_google_storage.py', |
Peng Huang | 78583a1 | 2023-02-10 13:53:31 +0000 | [diff] [blame] | 494 | '--no_resume', |
| 495 | '--no_auth', |
| 496 | '--bucket', 'chromium-browser-clang/ciopfs', |
| 497 | '-s', 'build/ciopfs.sha1', |
| 498 | ] |
| 499 | }, |
| 500 | { |
Corentin Wallez | 682c44a | 2018-08-13 17:48:16 +0200 | [diff] [blame] | 501 | # Update the Windows toolchain if necessary. Must run before 'clang' below. |
Corentin Wallez | 21a2385 | 2018-07-31 18:50:03 +0200 | [diff] [blame] | 502 | 'name': 'win_toolchain', |
| 503 | 'pattern': '.', |
Corentin Wallez | 2015b2f | 2021-03-04 17:37:55 +0000 | [diff] [blame] | 504 | 'condition': 'dawn_standalone and checkout_win', |
Corentin Wallez | d520366 | 2022-01-05 15:54:08 +0000 | [diff] [blame] | 505 | 'action': ['python3', 'build/vs_toolchain.py', 'update', '--force'], |
Corentin Wallez | 21a2385 | 2018-07-31 18:50:03 +0200 | [diff] [blame] | 506 | }, |
| 507 | { |
| 508 | # Note: On Win, this should run after win_toolchain, as it may use it. |
| 509 | 'name': 'clang', |
| 510 | 'pattern': '.', |
Corentin Wallez | d520366 | 2022-01-05 15:54:08 +0000 | [diff] [blame] | 511 | 'action': ['python3', 'tools/clang/scripts/update.py'], |
Corentin Wallez | 21a2385 | 2018-07-31 18:50:03 +0200 | [diff] [blame] | 512 | 'condition': 'dawn_standalone', |
| 513 | }, |
| 514 | { |
dan sinclair | 93cf346 | 2022-05-16 12:58:24 +0000 | [diff] [blame] | 515 | # This is also supposed to support the same set of platforms as 'clang' |
| 516 | # above. LLVM ToT support isn't provided at the moment. |
| 517 | 'name': 'clang_tidy', |
| 518 | 'pattern': '.', |
Corentin Wallez | c4051b1 | 2022-05-17 08:21:02 +0000 | [diff] [blame] | 519 | 'condition': 'dawn_standalone and checkout_clang_tidy', |
dan sinclair | 93cf346 | 2022-05-16 12:58:24 +0000 | [diff] [blame] | 520 | 'action': ['python3', 'tools/clang/scripts/update.py', |
| 521 | '--package=clang-tidy'], |
| 522 | }, |
| 523 | { |
danakj | 4090b7d | 2023-10-24 17:49:01 +0000 | [diff] [blame] | 524 | 'name': 'rust', |
| 525 | 'pattern': '.', |
| 526 | 'action': ['python3', 'tools/rust/update_rust.py'], |
| 527 | 'condition': 'dawn_standalone and checkout_rust', |
| 528 | }, |
| 529 | { |
Corentin Wallez | 21a2385 | 2018-07-31 18:50:03 +0200 | [diff] [blame] | 530 | # Pull rc binaries using checked-in hashes. |
| 531 | 'name': 'rc_win', |
| 532 | 'pattern': '.', |
Corentin Wallez | 2015b2f | 2021-03-04 17:37:55 +0000 | [diff] [blame] | 533 | 'condition': 'dawn_standalone and checkout_win and host_os == "win"', |
Antonio Maiorano | c4fe82d | 2024-02-22 00:51:41 +0000 | [diff] [blame] | 534 | 'action': [ 'python3', |
| 535 | 'third_party/depot_tools/download_from_google_storage.py', |
Corentin Wallez | 21a2385 | 2018-07-31 18:50:03 +0200 | [diff] [blame] | 536 | '--no_resume', |
| 537 | '--no_auth', |
| 538 | '--bucket', 'chromium-browser-clang/rc', |
Corentin Wallez | 1a0596d | 2018-09-10 15:16:10 +0200 | [diff] [blame] | 539 | '-s', 'build/toolchain/win/rc/win/rc.exe.sha1', |
Corentin Wallez | 21a2385 | 2018-07-31 18:50:03 +0200 | [diff] [blame] | 540 | ], |
| 541 | }, |
Peng Huang | 78583a1 | 2023-02-10 13:53:31 +0000 | [diff] [blame] | 542 | { |
| 543 | 'name': 'rc_linux', |
| 544 | 'pattern': '.', |
Peng Huang | 708a077 | 2023-02-13 11:38:38 +0000 | [diff] [blame] | 545 | 'condition': 'dawn_standalone and checkout_win and host_os == "linux"', |
Antonio Maiorano | c4fe82d | 2024-02-22 00:51:41 +0000 | [diff] [blame] | 546 | 'action': [ 'python3', |
| 547 | 'third_party/depot_tools/download_from_google_storage.py', |
Peng Huang | 78583a1 | 2023-02-10 13:53:31 +0000 | [diff] [blame] | 548 | '--no_resume', |
| 549 | '--no_auth', |
| 550 | '--bucket', 'chromium-browser-clang/rc', |
| 551 | '-s', 'build/toolchain/win/rc/linux64/rc.sha1', |
Antonio Maiorano | ef9da42 | 2023-09-21 17:53:34 +0000 | [diff] [blame] | 552 | ], |
| 553 | }, |
| 554 | { |
| 555 | 'name': 'rc_mac', |
| 556 | 'pattern': '.', |
| 557 | 'condition': 'dawn_standalone and checkout_win and host_os == "mac"', |
Antonio Maiorano | c4fe82d | 2024-02-22 00:51:41 +0000 | [diff] [blame] | 558 | 'action': [ 'python3', |
| 559 | 'third_party/depot_tools/download_from_google_storage.py', |
Antonio Maiorano | ef9da42 | 2023-09-21 17:53:34 +0000 | [diff] [blame] | 560 | '--no_resume', |
| 561 | '--no_auth', |
| 562 | '--bucket', 'chromium-browser-clang/rc', |
| 563 | '-s', 'build/toolchain/win/rc/mac/rc.sha1', |
| 564 | ], |
Peng Huang | 78583a1 | 2023-02-10 13:53:31 +0000 | [diff] [blame] | 565 | }, |
Corentin Wallez | 15d8cb7 | 2018-11-19 10:13:31 +0000 | [diff] [blame] | 566 | # Update build/util/LASTCHANGE. |
| 567 | { |
| 568 | 'name': 'lastchange', |
| 569 | 'pattern': '.', |
Jiajie Hu | 2ffc55a | 2020-07-01 05:08:36 +0000 | [diff] [blame] | 570 | 'condition': 'dawn_standalone', |
Corentin Wallez | d520366 | 2022-01-05 15:54:08 +0000 | [diff] [blame] | 571 | 'action': ['python3', 'build/util/lastchange.py', |
Corentin Wallez | 15d8cb7 | 2018-11-19 10:13:31 +0000 | [diff] [blame] | 572 | '-o', 'build/util/LASTCHANGE'], |
| 573 | }, |
Austin Eng | 4948c81 | 2021-10-15 14:28:32 +0000 | [diff] [blame] | 574 | # TODO(https://crbug.com/1180257): Use CIPD for CMake on Windows. |
| 575 | { |
| 576 | 'name': 'cmake_win32', |
| 577 | 'pattern': '.', |
Antonio Maiorano | 762198b | 2024-03-01 01:06:01 +0000 | [diff] [blame] | 578 | 'condition': '(fetch_cmake or dawn_node) and host_os == "win"', |
Antonio Maiorano | c4fe82d | 2024-02-22 00:51:41 +0000 | [diff] [blame] | 579 | 'action': [ 'python3', |
| 580 | 'third_party/depot_tools/download_from_google_storage.py', |
Austin Eng | 4948c81 | 2021-10-15 14:28:32 +0000 | [diff] [blame] | 581 | '--no_resume', |
| 582 | '--platform=win32', |
| 583 | '--no_auth', |
| 584 | '--bucket', 'chromium-tools', |
| 585 | Var('dawn_cmake_win32_sha1'), |
| 586 | '-o', 'tools/cmake-win32.zip' |
| 587 | ], |
| 588 | }, |
| 589 | { |
| 590 | 'name': 'cmake_win32_extract', |
| 591 | 'pattern': '.', |
Antonio Maiorano | 762198b | 2024-03-01 01:06:01 +0000 | [diff] [blame] | 592 | 'condition': '(fetch_cmake or dawn_node) and host_os == "win"', |
Corentin Wallez | d520366 | 2022-01-05 15:54:08 +0000 | [diff] [blame] | 593 | 'action': [ 'python3', |
Austin Eng | 4948c81 | 2021-10-15 14:28:32 +0000 | [diff] [blame] | 594 | 'scripts/extract.py', |
| 595 | 'tools/cmake-win32.zip', |
| 596 | 'tools/cmake-win32/', |
| 597 | ], |
| 598 | }, |
Ben Clayton | 6f8ff74 | 2022-03-28 19:55:42 +0000 | [diff] [blame] | 599 | |
| 600 | # Node binaries, when dawn_node is enabled |
| 601 | { |
| 602 | 'name': 'node_linux64', |
| 603 | 'pattern': '.', |
| 604 | 'condition': 'dawn_node and host_os == "linux"', |
Antonio Maiorano | c4fe82d | 2024-02-22 00:51:41 +0000 | [diff] [blame] | 605 | 'action': [ 'python3', |
| 606 | 'third_party/depot_tools/download_from_google_storage.py', |
Ben Clayton | 6f8ff74 | 2022-03-28 19:55:42 +0000 | [diff] [blame] | 607 | '--no_resume', |
| 608 | '--extract', |
| 609 | '--no_auth', |
Ben Clayton | 87a190e | 2024-01-23 15:17:03 +0000 | [diff] [blame] | 610 | '--bucket', 'chromium-nodejs/20.11.0', |
Ben Clayton | 6f8ff74 | 2022-03-28 19:55:42 +0000 | [diff] [blame] | 611 | Var('node_linux_x64_sha'), |
| 612 | '-o', 'third_party/node/node-linux-x64.tar.gz', |
| 613 | ], |
| 614 | }, |
| 615 | { |
| 616 | 'name': 'node_mac', |
| 617 | 'pattern': '.', |
| 618 | 'condition': 'dawn_node and host_os == "mac"', |
Antonio Maiorano | c4fe82d | 2024-02-22 00:51:41 +0000 | [diff] [blame] | 619 | 'action': [ 'python3', |
| 620 | 'third_party/depot_tools/download_from_google_storage.py', |
Ben Clayton | 6f8ff74 | 2022-03-28 19:55:42 +0000 | [diff] [blame] | 621 | '--no_resume', |
| 622 | '--extract', |
| 623 | '--no_auth', |
Ben Clayton | 87a190e | 2024-01-23 15:17:03 +0000 | [diff] [blame] | 624 | '--bucket', 'chromium-nodejs/20.11.0', |
Ben Clayton | 6f8ff74 | 2022-03-28 19:55:42 +0000 | [diff] [blame] | 625 | Var('node_darwin_x64_sha'), |
| 626 | '-o', 'third_party/node/node-darwin-x64.tar.gz', |
| 627 | ], |
| 628 | }, |
| 629 | { |
| 630 | 'name': 'node_mac_arm64', |
| 631 | 'pattern': '.', |
| 632 | 'condition': 'dawn_node and host_os == "mac"', |
Antonio Maiorano | c4fe82d | 2024-02-22 00:51:41 +0000 | [diff] [blame] | 633 | 'action': [ 'python3', |
| 634 | 'third_party/depot_tools/download_from_google_storage.py', |
Ben Clayton | 6f8ff74 | 2022-03-28 19:55:42 +0000 | [diff] [blame] | 635 | '--no_resume', |
| 636 | '--extract', |
| 637 | '--no_auth', |
Ben Clayton | 87a190e | 2024-01-23 15:17:03 +0000 | [diff] [blame] | 638 | '--bucket', 'chromium-nodejs/20.11.0', |
Ben Clayton | 6f8ff74 | 2022-03-28 19:55:42 +0000 | [diff] [blame] | 639 | Var('node_darwin_arm64_sha'), |
| 640 | '-o', 'third_party/node/node-darwin-arm64.tar.gz', |
| 641 | ], |
| 642 | }, |
| 643 | { |
| 644 | 'name': 'node_win', |
| 645 | 'pattern': '.', |
| 646 | 'condition': 'dawn_node and host_os == "win"', |
Antonio Maiorano | c4fe82d | 2024-02-22 00:51:41 +0000 | [diff] [blame] | 647 | 'action': [ 'python3', |
| 648 | 'third_party/depot_tools/download_from_google_storage.py', |
Ben Clayton | 6f8ff74 | 2022-03-28 19:55:42 +0000 | [diff] [blame] | 649 | '--no_resume', |
| 650 | '--no_auth', |
Ben Clayton | 87a190e | 2024-01-23 15:17:03 +0000 | [diff] [blame] | 651 | '--bucket', 'chromium-nodejs/20.11.0', |
Ben Clayton | 6f8ff74 | 2022-03-28 19:55:42 +0000 | [diff] [blame] | 652 | Var('node_win_x64_sha'), |
| 653 | '-o', 'third_party/node/node.exe', |
| 654 | ], |
| 655 | }, |
Ryan Harrison | ce158be | 2023-07-20 17:06:56 +0000 | [diff] [blame] | 656 | { |
| 657 | # Download remote exec cfg files |
| 658 | 'name': 'fetch_reclient_cfgs', |
| 659 | 'pattern': '.', |
Austin Eng | d6c4f66 | 2023-07-21 01:00:22 +0000 | [diff] [blame] | 660 | 'condition': 'download_remoteexec_cfg and dawn_standalone', |
Ryan Harrison | ce158be | 2023-07-20 17:06:56 +0000 | [diff] [blame] | 661 | 'action': ['python3', |
| 662 | 'buildtools/reclient_cfgs/fetch_reclient_cfgs.py', |
| 663 | '--rbe_instance', |
| 664 | Var('rbe_instance'), |
| 665 | '--reproxy_cfg_template', |
| 666 | 'reproxy.cfg.template', |
| 667 | '--rewrapper_cfg_project', |
| 668 | Var('rewrapper_cfg_project'), |
| 669 | '--quiet', |
Ryan Harrison | ce158be | 2023-07-20 17:06:56 +0000 | [diff] [blame] | 670 | ], |
| 671 | }, |
Corentin Wallez | ca81bd3 | 2018-09-03 11:55:58 +0200 | [diff] [blame] | 672 | ] |
Josip Sokcevic | 5705830 | 2024-05-31 07:13:26 +0000 | [diff] [blame] | 673 | |
| 674 | recursedeps = [ |
| 675 | 'buildtools', |
| 676 | ] |