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