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 |
Yuly Novikov | 27324dd | 2023-09-22 15:10:33 +0000 | [diff] [blame] | 56 | 'reclient_version': 're_client_version:0.114.2.81e819b-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 | b0e4054 | 2023-11-08 17:34:19 +0000 | [diff] [blame] | 67 | 'url': '{chromium_git}/chromium/src/buildtools@48ab3bd053bfe2fef4635d7cb1861f8923167b96', |
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': { |
Austin Eng | 99ad82a | 2022-07-27 21:57:30 +0000 | [diff] [blame] | 71 | 'url': '{chromium_git}/external/github.com/llvm/llvm-project/clang/tools/clang-format.git@8b525d2747f2584fc35d8c7e612e66f377858df7', |
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 | d4f8f96 | 2024-04-04 21:16:49 +0000 | [diff] [blame^] | 100 | 'url': '{chromium_git}/chromium/tools/depot_tools.git@8d8494a1414ef3f532805768f8380f4fd6b9c4dd', |
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 | b0e4054 | 2023-11-08 17:34:19 +0000 | [diff] [blame] | 105 | 'url': '{chromium_git}/external/github.com/llvm/llvm-project/libcxx.git@278060665f956b98b54922e3cb5e38b07884ce7d', |
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 | b0e4054 | 2023-11-08 17:34:19 +0000 | [diff] [blame] | 110 | 'url': '{chromium_git}/external/github.com/llvm/llvm-project/libcxxabi.git@0226cb1cdfe740b173394e1cebbd0dcf293e38ad', |
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': { |
Rusty Sammon | 663c685 | 2024-02-02 18:16:27 +0000 | [diff] [blame] | 118 | 'url': '{chromium_git}/chromium/src/build@c6118a585ff6b2ef9f9a3b180d57b3cbf79e1788', |
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': { |
Rusty Sammon | 663c685 | 2024-02-02 18:16:27 +0000 | [diff] [blame] | 122 | 'url': '{chromium_git}/chromium/src/tools/clang@de6b303a8915c2610e6ff30f5e7c89b2c8e4e2af', |
danakj | 4090b7d | 2023-10-24 17:49:01 +0000 | [diff] [blame] | 123 | 'condition': 'dawn_standalone', |
| 124 | }, |
| 125 | 'tools/rust': { |
Rusty Sammon | 663c685 | 2024-02-02 18:16:27 +0000 | [diff] [blame] | 126 | 'url': '{chromium_git}/chromium/src/tools/rust@bcaf16e552b19d4f5d67636d8373c172a2cf8a1a', |
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 | |
Corentin Wallez | 649e2fe | 2018-08-03 15:57:43 +0200 | [diff] [blame] | 138 | # Testing, GTest and GMock |
Corentin Wallez | 1a0596d | 2018-09-10 15:16:10 +0200 | [diff] [blame] | 139 | 'testing': { |
Ben Clayton | 3610fc9 | 2023-09-29 12:13:00 +0000 | [diff] [blame] | 140 | 'url': '{chromium_git}/chromium/src/testing@035a9b18047370df7403758b006e6c9696d6b84d', |
Ben Clayton | b7bd8d8 | 2023-09-28 14:10:51 +0000 | [diff] [blame] | 141 | 'condition': 'dawn_standalone', |
| 142 | }, |
| 143 | 'third_party/libFuzzer/src': { |
| 144 | '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] | 145 | 'condition': 'dawn_standalone', |
| 146 | }, |
Corentin Wallez | 1a0596d | 2018-09-10 15:16:10 +0200 | [diff] [blame] | 147 | 'third_party/googletest': { |
Austin Eng | a0e96b5 | 2023-02-18 00:39:01 +0000 | [diff] [blame] | 148 | 'url': '{chromium_git}/external/github.com/google/googletest@7a7231c442484be389fdf01594310349ca0e42a8', |
Corentin Wallez | d520366 | 2022-01-05 15:54:08 +0000 | [diff] [blame] | 149 | 'condition': 'dawn_standalone', |
| 150 | }, |
| 151 | # This is a dependency of //testing |
| 152 | 'third_party/catapult': { |
Anne Redulla | 3bcc93f | 2023-08-09 15:12:58 +0000 | [diff] [blame] | 153 | 'url': '{chromium_git}/catapult.git@dd218dfd815774289f8a81015f7a3131f72afbde', |
Corentin Wallez | 649e2fe | 2018-08-03 15:57:43 +0200 | [diff] [blame] | 154 | 'condition': 'dawn_standalone', |
| 155 | }, |
Austin Eng | 6a7bba5 | 2023-04-17 18:11:51 +0000 | [diff] [blame] | 156 | 'third_party/google_benchmark/src': { |
| 157 | 'url': '{chromium_git}/external/github.com/google/benchmark.git' + '@' + 'efc89f0b524780b1994d5dddd83a92718e5be492', |
| 158 | 'condition': 'dawn_standalone', |
| 159 | }, |
Corentin Wallez | 21a2385 | 2018-07-31 18:50:03 +0200 | [diff] [blame] | 160 | |
Corentin Wallez | 3bb0bb9 | 2018-08-13 17:47:44 +0200 | [diff] [blame] | 161 | # Jinja2 and MarkupSafe for the code generator |
Corentin Wallez | 1a0596d | 2018-09-10 15:16:10 +0200 | [diff] [blame] | 162 | 'third_party/jinja2': { |
Corentin Wallez | d2c27be | 2024-01-09 12:37:34 +0000 | [diff] [blame] | 163 | 'url': '{chromium_git}/chromium/src/third_party/jinja2@e2d024354e11cc6b041b0cff032d73f0c7e43a07', |
Corentin Wallez | 3bb0bb9 | 2018-08-13 17:47:44 +0200 | [diff] [blame] | 164 | 'condition': 'dawn_standalone', |
| 165 | }, |
Corentin Wallez | 1a0596d | 2018-09-10 15:16:10 +0200 | [diff] [blame] | 166 | 'third_party/markupsafe': { |
Corentin Wallez | d2c27be | 2024-01-09 12:37:34 +0000 | [diff] [blame] | 167 | 'url': '{chromium_git}/chromium/src/third_party/markupsafe@0bad08bb207bbfc1d6f3bbc82b9242b0c50e5794', |
Corentin Wallez | 3bb0bb9 | 2018-08-13 17:47:44 +0200 | [diff] [blame] | 168 | 'condition': 'dawn_standalone', |
| 169 | }, |
| 170 | |
Corentin Wallez | 4d7d169 | 2018-08-13 08:23:27 +0200 | [diff] [blame] | 171 | # GLFW for tests and samples |
Corentin Wallez | 1a0596d | 2018-09-10 15:16:10 +0200 | [diff] [blame] | 172 | 'third_party/glfw': { |
Corentin Wallez | 6903c46 | 2022-05-25 17:46:04 +0000 | [diff] [blame] | 173 | 'url': '{chromium_git}/external/github.com/glfw/glfw@62e175ef9fae75335575964c845a302447c012c7', |
Corentin Wallez | 4d7d169 | 2018-08-13 08:23:27 +0200 | [diff] [blame] | 174 | }, |
| 175 | |
Stephen White | 77fcdf7 | 2021-01-11 15:52:12 +0000 | [diff] [blame] | 176 | 'third_party/vulkan_memory_allocator': { |
Corentin Wallez | e7badbc | 2024-01-10 19:19:41 +0000 | [diff] [blame] | 177 | 'url': '{chromium_git}/external/github.com/GPUOpen-LibrariesAndSDKs/VulkanMemoryAllocator@52dc220fb326e6ae132b7f262133b37b0dc334a3', |
Stephen White | 77fcdf7 | 2021-01-11 15:52:12 +0000 | [diff] [blame] | 178 | 'condition': 'dawn_standalone', |
| 179 | }, |
| 180 | |
| 181 | 'third_party/angle': { |
Dawn Autoroller | 9fcc7b7 | 2024-04-04 17:03:21 +0000 | [diff] [blame] | 182 | 'url': '{chromium_git}/angle/angle@be79ae93752cbf7502d396a8fe06f8337f940b4f', |
Stephen White | 77fcdf7 | 2021-01-11 15:52:12 +0000 | [diff] [blame] | 183 | 'condition': 'dawn_standalone', |
| 184 | }, |
| 185 | |
Corentin Wallez | 74cebd6 | 2019-11-26 18:21:51 +0000 | [diff] [blame] | 186 | 'third_party/swiftshader': { |
Dawn Autoroller | 1672af6 | 2024-04-02 22:52:31 +0000 | [diff] [blame] | 187 | 'url': '{swiftshader_git}/SwiftShader@62c59c41e194c288c06739788bb0aad3c86b19bf', |
Corentin Wallez | 74cebd6 | 2019-11-26 18:21:51 +0000 | [diff] [blame] | 188 | 'condition': 'dawn_standalone', |
| 189 | }, |
| 190 | |
Stephen White | f1fa60b | 2021-01-06 17:41:50 +0000 | [diff] [blame] | 191 | 'third_party/vulkan-deps': { |
dawn-autoroll | cfbdf0f | 2024-04-04 18:38:23 +0000 | [diff] [blame] | 192 | 'url': '{chromium_git}/vulkan-deps@8d0dac85e66276416f6781f30ff27b8b866279c1', |
Corentin Wallez | 1fdd059 | 2021-04-02 18:04:27 +0000 | [diff] [blame] | 193 | 'condition': 'dawn_standalone', |
Stephen White | 77fcdf7 | 2021-01-11 15:52:12 +0000 | [diff] [blame] | 194 | }, |
| 195 | |
| 196 | 'third_party/zlib': { |
Anne Redulla | 3bcc93f | 2023-08-09 15:12:58 +0000 | [diff] [blame] | 197 | 'url': '{chromium_git}/chromium/src/third_party/zlib@526382e41c9c5275dc329db4328b54e4f344a204', |
Stephen White | f1fa60b | 2021-01-06 17:41:50 +0000 | [diff] [blame] | 198 | 'condition': 'dawn_standalone', |
| 199 | }, |
Brandon Jones | a04663c | 2021-09-23 20:36:03 +0000 | [diff] [blame] | 200 | |
| 201 | 'third_party/abseil-cpp': { |
Geoff Lang | 29b75b8 | 2024-03-15 15:37:07 +0000 | [diff] [blame] | 202 | 'url': '{chromium_git}/chromium/src/third_party/abseil-cpp@1cd1f16ff8f7fb5402aeda870c82652edf8f663a', |
Brandon Jones | a04663c | 2021-09-23 20:36:03 +0000 | [diff] [blame] | 203 | 'condition': 'dawn_standalone', |
| 204 | }, |
Ben Clayton | dc890d6 | 2021-09-27 22:55:39 +0000 | [diff] [blame] | 205 | |
Antonio Maiorano | ad5e108 | 2023-06-22 20:45:54 +0000 | [diff] [blame] | 206 | 'third_party/dxc': { |
Dawn Autoroller | e85db8b | 2024-04-04 17:42:43 +0000 | [diff] [blame] | 207 | 'url': '{chromium_git}/external/github.com/microsoft/DirectXShaderCompiler@aa4d3746e09dfb22e68acb1f5adfdc5a50cb81f3', |
Antonio Maiorano | ad5e108 | 2023-06-22 20:45:54 +0000 | [diff] [blame] | 208 | }, |
Antonio Maiorano | 83bdc7f | 2023-08-21 15:29:35 +0000 | [diff] [blame] | 209 | |
Antonio Maiorano | ad5e108 | 2023-06-22 20:45:54 +0000 | [diff] [blame] | 210 | 'third_party/dxheaders': { |
| 211 | # The non-Windows build of DXC depends on DirectX-Headers, and at a specific commit (not ToT) |
| 212 | 'url': '{chromium_git}/external/github.com/microsoft/DirectX-Headers@980971e835876dc0cde415e8f9bc646e64667bf7', |
Austin Eng | c02f143 | 2023-07-05 22:38:39 +0000 | [diff] [blame] | 213 | 'condition': 'host_os != "win"', |
Antonio Maiorano | ad5e108 | 2023-06-22 20:45:54 +0000 | [diff] [blame] | 214 | }, |
| 215 | |
Antonio Maiorano | 83bdc7f | 2023-08-21 15:29:35 +0000 | [diff] [blame] | 216 | 'third_party/khronos/OpenGL-Registry': { |
| 217 | 'url': '{chromium_git}/external/github.com/KhronosGroup/OpenGL-Registry@5bae8738b23d06968e7c3a41308568120943ae77', |
| 218 | }, |
| 219 | |
| 220 | 'third_party/khronos/EGL-Registry': { |
| 221 | 'url': '{chromium_git}/external/github.com/KhronosGroup/EGL-Registry@7dea2ed79187cd13f76183c4b9100159b9e3e071', |
| 222 | }, |
| 223 | |
Kai Ninomiya | 5c780d7 | 2022-03-17 21:43:17 +0000 | [diff] [blame] | 224 | # WebGPU CTS - not used directly by Dawn, only transitively by Chromium. |
| 225 | 'third_party/webgpu-cts': { |
Dawn Automated Expectations | 548e853 | 2024-03-28 17:41:23 +0000 | [diff] [blame] | 226 | 'url': '{chromium_git}/external/github.com/gpuweb/cts@ffcbe428636d550b437e5bda5f2e16b4e2fa38fe', |
Kai Ninomiya | 5c780d7 | 2022-03-17 21:43:17 +0000 | [diff] [blame] | 227 | 'condition': 'build_with_chromium', |
| 228 | }, |
| 229 | |
Ben Clayton | 6f8ff74 | 2022-03-28 19:55:42 +0000 | [diff] [blame] | 230 | # Dependencies required to build / run Dawn NodeJS bindings |
Ben Clayton | dc890d6 | 2021-09-27 22:55:39 +0000 | [diff] [blame] | 231 | 'third_party/node-api-headers': { |
| 232 | 'url': '{github_git}/nodejs/node-api-headers.git@d68505e4055ecb630e14c26c32e5c2c65e179bba', |
| 233 | 'condition': 'dawn_node', |
| 234 | }, |
| 235 | 'third_party/node-addon-api': { |
| 236 | 'url': '{github_git}/nodejs/node-addon-api.git@4a3de56c3e4ed0031635a2f642b27efeeed00add', |
| 237 | 'condition': 'dawn_node', |
| 238 | }, |
| 239 | 'third_party/gpuweb': { |
François Beaufort | cdfcfca | 2023-11-25 06:05:33 +0000 | [diff] [blame] | 240 | 'url': '{github_git}/gpuweb/gpuweb.git@a6805d5298c6979392768ed13f442e35b9a35b22', |
Ben Clayton | dc890d6 | 2021-09-27 22:55:39 +0000 | [diff] [blame] | 241 | 'condition': 'dawn_node', |
| 242 | }, |
Austin Eng | 4948c81 | 2021-10-15 14:28:32 +0000 | [diff] [blame] | 243 | |
| 244 | 'tools/golang': { |
Austin Eng | 4948c81 | 2021-10-15 14:28:32 +0000 | [diff] [blame] | 245 | 'packages': [{ |
| 246 | 'package': 'infra/3pp/tools/go/${{platform}}', |
| 247 | 'version': Var('dawn_go_version'), |
| 248 | }], |
| 249 | 'dep_type': 'cipd', |
| 250 | }, |
| 251 | |
| 252 | 'tools/cmake': { |
Antonio Maiorano | 762198b | 2024-03-01 01:06:01 +0000 | [diff] [blame] | 253 | '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] | 254 | 'packages': [{ |
| 255 | 'package': 'infra/3pp/tools/cmake/${{platform}}', |
| 256 | 'version': Var('dawn_cmake_version'), |
| 257 | }], |
| 258 | 'dep_type': 'cipd', |
| 259 | }, |
Ryan Harrison | e87ac76 | 2022-04-06 15:37:27 -0400 | [diff] [blame] | 260 | |
Junji Watanabe | 4ad7f01 | 2022-10-03 02:48:52 +0000 | [diff] [blame] | 261 | 'third_party/ninja': { |
| 262 | 'packages': [ |
| 263 | { |
| 264 | 'package': 'infra/3pp/tools/ninja/${{platform}}', |
| 265 | 'version': Var('dawn_ninja_version'), |
| 266 | } |
| 267 | ], |
| 268 | 'dep_type': 'cipd', |
| 269 | }, |
| 270 | |
Ryan Harrison | 29fc5e9 | 2023-07-17 16:12:27 +0000 | [diff] [blame] | 271 | # RBE dependencies |
| 272 | 'buildtools/reclient': { |
| 273 | 'packages': [ |
| 274 | { |
| 275 | 'package': Var('reclient_package') + '${{platform}}', |
| 276 | 'version': Var('reclient_version'), |
| 277 | } |
| 278 | ], |
| 279 | 'dep_type': 'cipd', |
| 280 | 'condition': 'dawn_standalone', |
| 281 | }, |
Ryan Harrison | 29fc5e9 | 2023-07-17 16:12:27 +0000 | [diff] [blame] | 282 | |
Ryan Harrison | e87ac76 | 2022-04-06 15:37:27 -0400 | [diff] [blame] | 283 | # Misc dependencies inherited from Tint |
Ryan Harrison | 3374f43 | 2022-03-28 18:01:02 +0000 | [diff] [blame] | 284 | 'third_party/protobuf': { |
Ben Clayton | de2686e | 2023-11-16 12:39:06 +0000 | [diff] [blame] | 285 | 'url': '{chromium_git}/chromium/src/third_party/protobuf@41759e11ec427e29e1a72b9401d2af3f6e02d839', |
| 286 | 'condition': 'dawn_standalone', |
| 287 | }, |
| 288 | |
| 289 | 'tools/protoc_wrapper': { |
| 290 | 'url': '{chromium_git}/chromium/src/tools/protoc_wrapper@b5ea227bd88235ab3ccda964d5f3819c4e2d8032', |
Ryan Harrison | e87ac76 | 2022-04-06 15:37:27 -0400 | [diff] [blame] | 291 | 'condition': 'dawn_standalone', |
Ryan Harrison | 3374f43 | 2022-03-28 18:01:02 +0000 | [diff] [blame] | 292 | }, |
Arthur Sonzogni | 8b28afe | 2023-10-12 16:06:04 +0000 | [diff] [blame] | 293 | |
Ben Clayton | f9a5b71 | 2024-03-13 17:37:33 +0000 | [diff] [blame] | 294 | # Dependencies for tintd. |
| 295 | 'third_party/jsoncpp': { |
| 296 | 'url': '{github_git}/open-source-parsers/jsoncpp.git@69098a18b9af0c47549d9a271c054d13ca92b006', |
| 297 | 'condition': 'dawn_standalone', |
| 298 | }, |
| 299 | |
| 300 | 'third_party/langsvr': { |
Ben Clayton | 0bac027 | 2024-03-22 17:40:04 +0000 | [diff] [blame] | 301 | 'url': '{github_git}/google/langsvr.git@a79fcb7068cb9c75ad77df9abe16d726402477aa', |
Ben Clayton | f9a5b71 | 2024-03-13 17:37:33 +0000 | [diff] [blame] | 302 | 'condition': 'dawn_standalone', |
| 303 | }, |
| 304 | |
Arthur Sonzogni | 8b28afe | 2023-10-12 16:06:04 +0000 | [diff] [blame] | 305 | # Dependencies for PartitionAlloc. |
| 306 | # Doc: https://docs.google.com/document/d/1wz45t0alQthsIU9P7_rQcfQyqnrBMXzrOjSzdQo-V-A |
| 307 | 'third_party/partition_alloc': { |
Arthur Sonzogni | 7379e22 | 2024-01-09 17:32:25 +0000 | [diff] [blame] | 308 | 'url': '{chromium_git}/chromium/src/base/allocator/partition_allocator.git@67fd2f86eef40b1357387e2b0fc1eaf3c67d6ed7', |
Arthur Sonzogni | 8b28afe | 2023-10-12 16:06:04 +0000 | [diff] [blame] | 309 | 'condition': 'dawn_standalone', |
| 310 | }, |
Corentin Wallez | 21a2385 | 2018-07-31 18:50:03 +0200 | [diff] [blame] | 311 | } |
| 312 | |
| 313 | hooks = [ |
Antonio Maiorano | c4fe82d | 2024-02-22 00:51:41 +0000 | [diff] [blame] | 314 | { |
| 315 | # Ensure that the DEPS'd "depot_tools" has its self-update capability |
| 316 | # disabled. |
| 317 | 'name': 'disable_depot_tools_selfupdate', |
| 318 | 'pattern': '.', |
| 319 | 'condition': 'dawn_standalone', |
| 320 | 'action': [ |
| 321 | 'python3', |
| 322 | 'third_party/depot_tools/update_depot_tools_toggle.py', |
| 323 | '--disable', |
| 324 | ], |
| 325 | }, |
| 326 | |
Corentin Wallez | 21a2385 | 2018-07-31 18:50:03 +0200 | [diff] [blame] | 327 | # Pull the compilers and system libraries for hermetic builds |
| 328 | { |
| 329 | 'name': 'sysroot_x86', |
| 330 | 'pattern': '.', |
Corentin Wallez | 2015b2f | 2021-03-04 17:37:55 +0000 | [diff] [blame] | 331 | 'condition': 'dawn_standalone and checkout_linux and (checkout_x86 or checkout_x64)', |
Corentin Wallez | d520366 | 2022-01-05 15:54:08 +0000 | [diff] [blame] | 332 | 'action': ['python3', 'build/linux/sysroot_scripts/install-sysroot.py', |
Corentin Wallez | 21a2385 | 2018-07-31 18:50:03 +0200 | [diff] [blame] | 333 | '--arch=x86'], |
| 334 | }, |
| 335 | { |
| 336 | 'name': 'sysroot_x64', |
| 337 | 'pattern': '.', |
Corentin Wallez | 2015b2f | 2021-03-04 17:37:55 +0000 | [diff] [blame] | 338 | 'condition': 'dawn_standalone and checkout_linux and checkout_x64', |
Corentin Wallez | d520366 | 2022-01-05 15:54:08 +0000 | [diff] [blame] | 339 | 'action': ['python3', 'build/linux/sysroot_scripts/install-sysroot.py', |
Corentin Wallez | 21a2385 | 2018-07-31 18:50:03 +0200 | [diff] [blame] | 340 | '--arch=x64'], |
| 341 | }, |
| 342 | { |
Corentin Wallez | d4e7f08 | 2020-11-17 21:16:31 +0000 | [diff] [blame] | 343 | # Update the Mac toolchain if possible, this makes builders use "hermetic XCode" which is |
| 344 | # is more consistent (only changes when rolling build/) and is cached. |
| 345 | 'name': 'mac_toolchain', |
| 346 | 'pattern': '.', |
Corentin Wallez | 2015b2f | 2021-03-04 17:37:55 +0000 | [diff] [blame] | 347 | 'condition': 'dawn_standalone and checkout_mac', |
Corentin Wallez | d520366 | 2022-01-05 15:54:08 +0000 | [diff] [blame] | 348 | 'action': ['python3', 'build/mac_toolchain.py'], |
Corentin Wallez | d4e7f08 | 2020-11-17 21:16:31 +0000 | [diff] [blame] | 349 | }, |
| 350 | { |
Peng Huang | 78583a1 | 2023-02-10 13:53:31 +0000 | [diff] [blame] | 351 | # Case-insensitivity for the Win SDK. Must run before win_toolchain below. |
| 352 | 'name': 'ciopfs_linux', |
| 353 | 'pattern': '.', |
Peng Huang | 708a077 | 2023-02-13 11:38:38 +0000 | [diff] [blame] | 354 | 'condition': 'dawn_standalone and checkout_win and host_os == "linux"', |
Antonio Maiorano | c4fe82d | 2024-02-22 00:51:41 +0000 | [diff] [blame] | 355 | 'action': [ 'python3', |
| 356 | 'third_party/depot_tools/download_from_google_storage.py', |
Peng Huang | 78583a1 | 2023-02-10 13:53:31 +0000 | [diff] [blame] | 357 | '--no_resume', |
| 358 | '--no_auth', |
| 359 | '--bucket', 'chromium-browser-clang/ciopfs', |
| 360 | '-s', 'build/ciopfs.sha1', |
| 361 | ] |
| 362 | }, |
| 363 | { |
Corentin Wallez | 682c44a | 2018-08-13 17:48:16 +0200 | [diff] [blame] | 364 | # Update the Windows toolchain if necessary. Must run before 'clang' below. |
Corentin Wallez | 21a2385 | 2018-07-31 18:50:03 +0200 | [diff] [blame] | 365 | 'name': 'win_toolchain', |
| 366 | 'pattern': '.', |
Corentin Wallez | 2015b2f | 2021-03-04 17:37:55 +0000 | [diff] [blame] | 367 | 'condition': 'dawn_standalone and checkout_win', |
Corentin Wallez | d520366 | 2022-01-05 15:54:08 +0000 | [diff] [blame] | 368 | 'action': ['python3', 'build/vs_toolchain.py', 'update', '--force'], |
Corentin Wallez | 21a2385 | 2018-07-31 18:50:03 +0200 | [diff] [blame] | 369 | }, |
| 370 | { |
| 371 | # Note: On Win, this should run after win_toolchain, as it may use it. |
| 372 | 'name': 'clang', |
| 373 | 'pattern': '.', |
Corentin Wallez | d520366 | 2022-01-05 15:54:08 +0000 | [diff] [blame] | 374 | 'action': ['python3', 'tools/clang/scripts/update.py'], |
Corentin Wallez | 21a2385 | 2018-07-31 18:50:03 +0200 | [diff] [blame] | 375 | 'condition': 'dawn_standalone', |
| 376 | }, |
| 377 | { |
dan sinclair | 93cf346 | 2022-05-16 12:58:24 +0000 | [diff] [blame] | 378 | # This is also supposed to support the same set of platforms as 'clang' |
| 379 | # above. LLVM ToT support isn't provided at the moment. |
| 380 | 'name': 'clang_tidy', |
| 381 | 'pattern': '.', |
Corentin Wallez | c4051b1 | 2022-05-17 08:21:02 +0000 | [diff] [blame] | 382 | 'condition': 'dawn_standalone and checkout_clang_tidy', |
dan sinclair | 93cf346 | 2022-05-16 12:58:24 +0000 | [diff] [blame] | 383 | 'action': ['python3', 'tools/clang/scripts/update.py', |
| 384 | '--package=clang-tidy'], |
| 385 | }, |
| 386 | { |
danakj | 4090b7d | 2023-10-24 17:49:01 +0000 | [diff] [blame] | 387 | 'name': 'rust', |
| 388 | 'pattern': '.', |
| 389 | 'action': ['python3', 'tools/rust/update_rust.py'], |
| 390 | 'condition': 'dawn_standalone and checkout_rust', |
| 391 | }, |
| 392 | { |
Corentin Wallez | 21a2385 | 2018-07-31 18:50:03 +0200 | [diff] [blame] | 393 | # Pull rc binaries using checked-in hashes. |
| 394 | 'name': 'rc_win', |
| 395 | 'pattern': '.', |
Corentin Wallez | 2015b2f | 2021-03-04 17:37:55 +0000 | [diff] [blame] | 396 | 'condition': 'dawn_standalone and checkout_win and host_os == "win"', |
Antonio Maiorano | c4fe82d | 2024-02-22 00:51:41 +0000 | [diff] [blame] | 397 | 'action': [ 'python3', |
| 398 | 'third_party/depot_tools/download_from_google_storage.py', |
Corentin Wallez | 21a2385 | 2018-07-31 18:50:03 +0200 | [diff] [blame] | 399 | '--no_resume', |
| 400 | '--no_auth', |
| 401 | '--bucket', 'chromium-browser-clang/rc', |
Corentin Wallez | 1a0596d | 2018-09-10 15:16:10 +0200 | [diff] [blame] | 402 | '-s', 'build/toolchain/win/rc/win/rc.exe.sha1', |
Corentin Wallez | 21a2385 | 2018-07-31 18:50:03 +0200 | [diff] [blame] | 403 | ], |
| 404 | }, |
Peng Huang | 78583a1 | 2023-02-10 13:53:31 +0000 | [diff] [blame] | 405 | { |
| 406 | 'name': 'rc_linux', |
| 407 | 'pattern': '.', |
Peng Huang | 708a077 | 2023-02-13 11:38:38 +0000 | [diff] [blame] | 408 | 'condition': 'dawn_standalone and checkout_win and host_os == "linux"', |
Antonio Maiorano | c4fe82d | 2024-02-22 00:51:41 +0000 | [diff] [blame] | 409 | 'action': [ 'python3', |
| 410 | 'third_party/depot_tools/download_from_google_storage.py', |
Peng Huang | 78583a1 | 2023-02-10 13:53:31 +0000 | [diff] [blame] | 411 | '--no_resume', |
| 412 | '--no_auth', |
| 413 | '--bucket', 'chromium-browser-clang/rc', |
| 414 | '-s', 'build/toolchain/win/rc/linux64/rc.sha1', |
Antonio Maiorano | ef9da42 | 2023-09-21 17:53:34 +0000 | [diff] [blame] | 415 | ], |
| 416 | }, |
| 417 | { |
| 418 | 'name': 'rc_mac', |
| 419 | 'pattern': '.', |
| 420 | 'condition': 'dawn_standalone and checkout_win and host_os == "mac"', |
Antonio Maiorano | c4fe82d | 2024-02-22 00:51:41 +0000 | [diff] [blame] | 421 | 'action': [ 'python3', |
| 422 | 'third_party/depot_tools/download_from_google_storage.py', |
Antonio Maiorano | ef9da42 | 2023-09-21 17:53:34 +0000 | [diff] [blame] | 423 | '--no_resume', |
| 424 | '--no_auth', |
| 425 | '--bucket', 'chromium-browser-clang/rc', |
| 426 | '-s', 'build/toolchain/win/rc/mac/rc.sha1', |
| 427 | ], |
Peng Huang | 78583a1 | 2023-02-10 13:53:31 +0000 | [diff] [blame] | 428 | }, |
Corentin Wallez | 131e619 | 2020-11-03 18:18:06 +0000 | [diff] [blame] | 429 | # Pull clang-format binaries using checked-in hashes. |
| 430 | { |
Corentin Wallez | 51723bd | 2022-04-07 10:40:46 +0000 | [diff] [blame] | 431 | 'name': 'clang_format_win', |
| 432 | 'pattern': '.', |
| 433 | 'condition': 'dawn_standalone and host_os == "win"', |
Antonio Maiorano | c4fe82d | 2024-02-22 00:51:41 +0000 | [diff] [blame] | 434 | 'action': [ 'python3', |
| 435 | 'third_party/depot_tools/download_from_google_storage.py', |
Corentin Wallez | 51723bd | 2022-04-07 10:40:46 +0000 | [diff] [blame] | 436 | '--no_resume', |
| 437 | '--no_auth', |
| 438 | '--bucket', 'chromium-clang-format', |
| 439 | '-s', 'buildtools/win/clang-format.exe.sha1', |
| 440 | ], |
| 441 | }, |
| 442 | { |
Ben Clayton | 088a600 | 2022-04-06 19:57:42 +0000 | [diff] [blame] | 443 | 'name': 'clang_format_mac_x64', |
Corentin Wallez | 131e619 | 2020-11-03 18:18:06 +0000 | [diff] [blame] | 444 | 'pattern': '.', |
Ben Clayton | 088a600 | 2022-04-06 19:57:42 +0000 | [diff] [blame] | 445 | 'condition': 'dawn_standalone and host_os == "mac" and host_cpu == "x64"', |
Antonio Maiorano | c4fe82d | 2024-02-22 00:51:41 +0000 | [diff] [blame] | 446 | 'action': [ 'python3', |
| 447 | 'third_party/depot_tools/download_from_google_storage.py', |
Corentin Wallez | 131e619 | 2020-11-03 18:18:06 +0000 | [diff] [blame] | 448 | '--no_resume', |
| 449 | '--no_auth', |
| 450 | '--bucket', 'chromium-clang-format', |
Ben Clayton | 088a600 | 2022-04-06 19:57:42 +0000 | [diff] [blame] | 451 | '-s', 'buildtools/mac/clang-format.x64.sha1', |
| 452 | '-o', 'buildtools/mac/clang-format', |
Corentin Wallez | 131e619 | 2020-11-03 18:18:06 +0000 | [diff] [blame] | 453 | ], |
| 454 | }, |
| 455 | { |
Ben Clayton | 088a600 | 2022-04-06 19:57:42 +0000 | [diff] [blame] | 456 | 'name': 'clang_format_mac_arm64', |
Corentin Wallez | 131e619 | 2020-11-03 18:18:06 +0000 | [diff] [blame] | 457 | 'pattern': '.', |
Ben Clayton | 088a600 | 2022-04-06 19:57:42 +0000 | [diff] [blame] | 458 | 'condition': 'dawn_standalone and host_os == "mac" and host_cpu == "arm64"', |
Antonio Maiorano | c4fe82d | 2024-02-22 00:51:41 +0000 | [diff] [blame] | 459 | 'action': [ 'python3', |
| 460 | 'third_party/depot_tools/download_from_google_storage.py', |
Corentin Wallez | 131e619 | 2020-11-03 18:18:06 +0000 | [diff] [blame] | 461 | '--no_resume', |
| 462 | '--no_auth', |
| 463 | '--bucket', 'chromium-clang-format', |
Ben Clayton | 088a600 | 2022-04-06 19:57:42 +0000 | [diff] [blame] | 464 | '-s', 'buildtools/mac/clang-format.arm64.sha1', |
| 465 | '-o', 'buildtools/mac/clang-format', |
Corentin Wallez | 131e619 | 2020-11-03 18:18:06 +0000 | [diff] [blame] | 466 | ], |
| 467 | }, |
| 468 | { |
| 469 | 'name': 'clang_format_linux', |
| 470 | 'pattern': '.', |
Corentin Wallez | 2015b2f | 2021-03-04 17:37:55 +0000 | [diff] [blame] | 471 | 'condition': 'dawn_standalone and host_os == "linux"', |
Antonio Maiorano | c4fe82d | 2024-02-22 00:51:41 +0000 | [diff] [blame] | 472 | 'action': [ 'python3', |
| 473 | 'third_party/depot_tools/download_from_google_storage.py', |
Corentin Wallez | 131e619 | 2020-11-03 18:18:06 +0000 | [diff] [blame] | 474 | '--no_resume', |
| 475 | '--no_auth', |
| 476 | '--bucket', 'chromium-clang-format', |
| 477 | '-s', 'buildtools/linux64/clang-format.sha1', |
| 478 | ], |
| 479 | }, |
Corentin Wallez | 15d8cb7 | 2018-11-19 10:13:31 +0000 | [diff] [blame] | 480 | # Update build/util/LASTCHANGE. |
| 481 | { |
| 482 | 'name': 'lastchange', |
| 483 | 'pattern': '.', |
Jiajie Hu | 2ffc55a | 2020-07-01 05:08:36 +0000 | [diff] [blame] | 484 | 'condition': 'dawn_standalone', |
Corentin Wallez | d520366 | 2022-01-05 15:54:08 +0000 | [diff] [blame] | 485 | 'action': ['python3', 'build/util/lastchange.py', |
Corentin Wallez | 15d8cb7 | 2018-11-19 10:13:31 +0000 | [diff] [blame] | 486 | '-o', 'build/util/LASTCHANGE'], |
| 487 | }, |
Austin Eng | 4948c81 | 2021-10-15 14:28:32 +0000 | [diff] [blame] | 488 | # TODO(https://crbug.com/1180257): Use CIPD for CMake on Windows. |
| 489 | { |
| 490 | 'name': 'cmake_win32', |
| 491 | 'pattern': '.', |
Antonio Maiorano | 762198b | 2024-03-01 01:06:01 +0000 | [diff] [blame] | 492 | 'condition': '(fetch_cmake or dawn_node) and host_os == "win"', |
Antonio Maiorano | c4fe82d | 2024-02-22 00:51:41 +0000 | [diff] [blame] | 493 | 'action': [ 'python3', |
| 494 | 'third_party/depot_tools/download_from_google_storage.py', |
Austin Eng | 4948c81 | 2021-10-15 14:28:32 +0000 | [diff] [blame] | 495 | '--no_resume', |
| 496 | '--platform=win32', |
| 497 | '--no_auth', |
| 498 | '--bucket', 'chromium-tools', |
| 499 | Var('dawn_cmake_win32_sha1'), |
| 500 | '-o', 'tools/cmake-win32.zip' |
| 501 | ], |
| 502 | }, |
| 503 | { |
| 504 | 'name': 'cmake_win32_extract', |
| 505 | 'pattern': '.', |
Antonio Maiorano | 762198b | 2024-03-01 01:06:01 +0000 | [diff] [blame] | 506 | 'condition': '(fetch_cmake or dawn_node) and host_os == "win"', |
Corentin Wallez | d520366 | 2022-01-05 15:54:08 +0000 | [diff] [blame] | 507 | 'action': [ 'python3', |
Austin Eng | 4948c81 | 2021-10-15 14:28:32 +0000 | [diff] [blame] | 508 | 'scripts/extract.py', |
| 509 | 'tools/cmake-win32.zip', |
| 510 | 'tools/cmake-win32/', |
| 511 | ], |
| 512 | }, |
Ben Clayton | 6f8ff74 | 2022-03-28 19:55:42 +0000 | [diff] [blame] | 513 | |
| 514 | # Node binaries, when dawn_node is enabled |
| 515 | { |
| 516 | 'name': 'node_linux64', |
| 517 | 'pattern': '.', |
| 518 | 'condition': 'dawn_node and host_os == "linux"', |
Antonio Maiorano | c4fe82d | 2024-02-22 00:51:41 +0000 | [diff] [blame] | 519 | 'action': [ 'python3', |
| 520 | 'third_party/depot_tools/download_from_google_storage.py', |
Ben Clayton | 6f8ff74 | 2022-03-28 19:55:42 +0000 | [diff] [blame] | 521 | '--no_resume', |
| 522 | '--extract', |
| 523 | '--no_auth', |
Ben Clayton | 87a190e | 2024-01-23 15:17:03 +0000 | [diff] [blame] | 524 | '--bucket', 'chromium-nodejs/20.11.0', |
Ben Clayton | 6f8ff74 | 2022-03-28 19:55:42 +0000 | [diff] [blame] | 525 | Var('node_linux_x64_sha'), |
| 526 | '-o', 'third_party/node/node-linux-x64.tar.gz', |
| 527 | ], |
| 528 | }, |
| 529 | { |
| 530 | 'name': 'node_mac', |
| 531 | 'pattern': '.', |
| 532 | 'condition': 'dawn_node and host_os == "mac"', |
Antonio Maiorano | c4fe82d | 2024-02-22 00:51:41 +0000 | [diff] [blame] | 533 | 'action': [ 'python3', |
| 534 | 'third_party/depot_tools/download_from_google_storage.py', |
Ben Clayton | 6f8ff74 | 2022-03-28 19:55:42 +0000 | [diff] [blame] | 535 | '--no_resume', |
| 536 | '--extract', |
| 537 | '--no_auth', |
Ben Clayton | 87a190e | 2024-01-23 15:17:03 +0000 | [diff] [blame] | 538 | '--bucket', 'chromium-nodejs/20.11.0', |
Ben Clayton | 6f8ff74 | 2022-03-28 19:55:42 +0000 | [diff] [blame] | 539 | Var('node_darwin_x64_sha'), |
| 540 | '-o', 'third_party/node/node-darwin-x64.tar.gz', |
| 541 | ], |
| 542 | }, |
| 543 | { |
| 544 | 'name': 'node_mac_arm64', |
| 545 | 'pattern': '.', |
| 546 | 'condition': 'dawn_node and host_os == "mac"', |
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', |
Ben Clayton | 6f8ff74 | 2022-03-28 19:55:42 +0000 | [diff] [blame] | 549 | '--no_resume', |
| 550 | '--extract', |
| 551 | '--no_auth', |
Ben Clayton | 87a190e | 2024-01-23 15:17:03 +0000 | [diff] [blame] | 552 | '--bucket', 'chromium-nodejs/20.11.0', |
Ben Clayton | 6f8ff74 | 2022-03-28 19:55:42 +0000 | [diff] [blame] | 553 | Var('node_darwin_arm64_sha'), |
| 554 | '-o', 'third_party/node/node-darwin-arm64.tar.gz', |
| 555 | ], |
| 556 | }, |
| 557 | { |
| 558 | 'name': 'node_win', |
| 559 | 'pattern': '.', |
| 560 | 'condition': 'dawn_node and host_os == "win"', |
Antonio Maiorano | c4fe82d | 2024-02-22 00:51:41 +0000 | [diff] [blame] | 561 | 'action': [ 'python3', |
| 562 | 'third_party/depot_tools/download_from_google_storage.py', |
Ben Clayton | 6f8ff74 | 2022-03-28 19:55:42 +0000 | [diff] [blame] | 563 | '--no_resume', |
| 564 | '--no_auth', |
Ben Clayton | 87a190e | 2024-01-23 15:17:03 +0000 | [diff] [blame] | 565 | '--bucket', 'chromium-nodejs/20.11.0', |
Ben Clayton | 6f8ff74 | 2022-03-28 19:55:42 +0000 | [diff] [blame] | 566 | Var('node_win_x64_sha'), |
| 567 | '-o', 'third_party/node/node.exe', |
| 568 | ], |
| 569 | }, |
Ryan Harrison | ce158be | 2023-07-20 17:06:56 +0000 | [diff] [blame] | 570 | { |
| 571 | # Download remote exec cfg files |
| 572 | 'name': 'fetch_reclient_cfgs', |
| 573 | 'pattern': '.', |
Austin Eng | d6c4f66 | 2023-07-21 01:00:22 +0000 | [diff] [blame] | 574 | 'condition': 'download_remoteexec_cfg and dawn_standalone', |
Ryan Harrison | ce158be | 2023-07-20 17:06:56 +0000 | [diff] [blame] | 575 | 'action': ['python3', |
| 576 | 'buildtools/reclient_cfgs/fetch_reclient_cfgs.py', |
| 577 | '--rbe_instance', |
| 578 | Var('rbe_instance'), |
| 579 | '--reproxy_cfg_template', |
| 580 | 'reproxy.cfg.template', |
| 581 | '--rewrapper_cfg_project', |
| 582 | Var('rewrapper_cfg_project'), |
| 583 | '--quiet', |
Ryan Harrison | ce158be | 2023-07-20 17:06:56 +0000 | [diff] [blame] | 584 | ], |
| 585 | }, |
Corentin Wallez | ca81bd3 | 2018-09-03 11:55:58 +0200 | [diff] [blame] | 586 | ] |
| 587 | |
| 588 | recursedeps = [ |
Stephen White | f1fa60b | 2021-01-06 17:41:50 +0000 | [diff] [blame] | 589 | 'third_party/vulkan-deps', |
Corentin Wallez | 21a2385 | 2018-07-31 18:50:03 +0200 | [diff] [blame] | 590 | ] |