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