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 | 21a2385 | 2018-07-31 18:50:03 +0200 | [diff] [blame] | 5 | vars = { |
| 6 | 'chromium_git': 'https://chromium.googlesource.com', |
Corentin Wallez | 4c35101 | 2018-08-27 10:10:28 +0200 | [diff] [blame] | 7 | 'dawn_git': 'https://dawn.googlesource.com', |
Corentin Wallez | 21a2385 | 2018-07-31 18:50:03 +0200 | [diff] [blame] | 8 | 'github_git': 'https://github.com', |
Corentin Wallez | 74cebd6 | 2019-11-26 18:21:51 +0000 | [diff] [blame] | 9 | 'swiftshader_git': 'https://swiftshader.googlesource.com', |
Corentin Wallez | 21a2385 | 2018-07-31 18:50:03 +0200 | [diff] [blame] | 10 | |
Corentin Wallez | 21a2385 | 2018-07-31 18:50:03 +0200 | [diff] [blame] | 11 | 'dawn_standalone': True, |
Ben Clayton | dc890d6 | 2021-09-27 22:55:39 +0000 | [diff] [blame] | 12 | 'dawn_node': False, # Also fetches dependencies required for building NodeJS bindings. |
Austin Eng | 4948c81 | 2021-10-15 14:28:32 +0000 | [diff] [blame] | 13 | 'dawn_cmake_version': 'version:3.13.5', |
| 14 | 'dawn_cmake_win32_sha1': 'b106d66bcdc8a71ea2cdf5446091327bfdb1bcd7', |
Corentin Wallez | 88d5e07 | 2021-12-13 15:24:55 +0000 | [diff] [blame] | 15 | 'dawn_gn_version': 'git_revision:fc295f3ac7ca4fe7acc6cb5fb052d22909ef3a8f', |
Austin Eng | 4948c81 | 2021-10-15 14:28:32 +0000 | [diff] [blame] | 16 | 'dawn_go_version': 'version:1.16', |
Corentin Wallez | 21a2385 | 2018-07-31 18:50:03 +0200 | [diff] [blame] | 17 | } |
| 18 | |
| 19 | deps = { |
| 20 | # Dependencies required to use GN/Clang in standalone |
Corentin Wallez | 1a0596d | 2018-09-10 15:16:10 +0200 | [diff] [blame] | 21 | 'build': { |
Corentin Wallez | d5f44ce | 2021-06-23 09:22:22 +0000 | [diff] [blame] | 22 | 'url': '{chromium_git}/chromium/src/build@0ff4b3d4eeb6d480c716b432a9a93a58c42150d5', |
Corentin Wallez | 21a2385 | 2018-07-31 18:50:03 +0200 | [diff] [blame] | 23 | 'condition': 'dawn_standalone', |
| 24 | }, |
Corentin Wallez | 1a0596d | 2018-09-10 15:16:10 +0200 | [diff] [blame] | 25 | 'buildtools': { |
Corentin Wallez | d5f44ce | 2021-06-23 09:22:22 +0000 | [diff] [blame] | 26 | 'url': '{chromium_git}/chromium/src/buildtools@9c143ace7560797fed136da85e22ea4834e6b147', |
Corentin Wallez | 21a2385 | 2018-07-31 18:50:03 +0200 | [diff] [blame] | 27 | 'condition': 'dawn_standalone', |
| 28 | }, |
Corentin Wallez | 60ca94b | 2021-03-24 16:22:32 +0000 | [diff] [blame] | 29 | 'buildtools/clang_format/script': { |
| 30 | 'url': '{chromium_git}/external/github.com/llvm/llvm-project/clang/tools/clang-format.git@99803d74e35962f63a775f29477882afd4d57d94', |
| 31 | 'condition': 'dawn_standalone', |
| 32 | }, |
| 33 | |
| 34 | 'buildtools/linux64': { |
| 35 | 'packages': [{ |
| 36 | 'package': 'gn/gn/linux-amd64', |
Corentin Wallez | 88d5e07 | 2021-12-13 15:24:55 +0000 | [diff] [blame] | 37 | 'version': Var('dawn_gn_version'), |
Corentin Wallez | 60ca94b | 2021-03-24 16:22:32 +0000 | [diff] [blame] | 38 | }], |
| 39 | 'dep_type': 'cipd', |
| 40 | 'condition': 'dawn_standalone and host_os == "linux"', |
| 41 | }, |
| 42 | 'buildtools/mac': { |
| 43 | 'packages': [{ |
| 44 | 'package': 'gn/gn/mac-${{arch}}', |
Corentin Wallez | 88d5e07 | 2021-12-13 15:24:55 +0000 | [diff] [blame] | 45 | 'version': Var('dawn_gn_version'), |
Corentin Wallez | 60ca94b | 2021-03-24 16:22:32 +0000 | [diff] [blame] | 46 | }], |
| 47 | 'dep_type': 'cipd', |
| 48 | 'condition': 'dawn_standalone and host_os == "mac"', |
| 49 | }, |
| 50 | 'buildtools/win': { |
| 51 | 'packages': [{ |
| 52 | 'package': 'gn/gn/windows-amd64', |
Corentin Wallez | 88d5e07 | 2021-12-13 15:24:55 +0000 | [diff] [blame] | 53 | 'version': Var('dawn_gn_version'), |
Corentin Wallez | 60ca94b | 2021-03-24 16:22:32 +0000 | [diff] [blame] | 54 | }], |
| 55 | 'dep_type': 'cipd', |
| 56 | 'condition': 'dawn_standalone and host_os == "win"', |
| 57 | }, |
| 58 | |
| 59 | 'buildtools/third_party/libc++/trunk': { |
| 60 | 'url': '{chromium_git}/external/github.com/llvm/llvm-project/libcxx.git@8fa87946779682841e21e2da977eccfb6cb3bded', |
| 61 | 'condition': 'dawn_standalone', |
| 62 | }, |
| 63 | |
| 64 | 'buildtools/third_party/libc++abi/trunk': { |
Corentin Wallez | d5f44ce | 2021-06-23 09:22:22 +0000 | [diff] [blame] | 65 | 'url': '{chromium_git}/external/github.com/llvm/llvm-project/libcxxabi.git@f4328ad7c0d8242d36cb5bea530925f9fea34248', |
Corentin Wallez | 60ca94b | 2021-03-24 16:22:32 +0000 | [diff] [blame] | 66 | 'condition': 'dawn_standalone', |
| 67 | }, |
| 68 | |
Corentin Wallez | 1a0596d | 2018-09-10 15:16:10 +0200 | [diff] [blame] | 69 | 'tools/clang': { |
Corentin Wallez | d5f44ce | 2021-06-23 09:22:22 +0000 | [diff] [blame] | 70 | 'url': '{chromium_git}/chromium/src/tools/clang@03ff857f12277f511e0a30aca44b80e8aaebafd7', |
Corentin Wallez | 21a2385 | 2018-07-31 18:50:03 +0200 | [diff] [blame] | 71 | 'condition': 'dawn_standalone', |
| 72 | }, |
Kai Ninomiya | f526d77 | 2020-04-06 22:27:02 +0000 | [diff] [blame] | 73 | 'tools/clang/dsymutil': { |
Corentin Wallez | 60ca94b | 2021-03-24 16:22:32 +0000 | [diff] [blame] | 74 | 'packages': [{ |
| 75 | 'package': 'chromium/llvm-build-tools/dsymutil', |
| 76 | 'version': 'M56jPzDv1620Rnm__jTMYS62Zi8rxHVq7yw0qeBFEgkC', |
| 77 | }], |
Corentin Wallez | 2015b2f | 2021-03-04 17:37:55 +0000 | [diff] [blame] | 78 | 'condition': 'dawn_standalone and (checkout_mac or checkout_ios)', |
Kai Ninomiya | f526d77 | 2020-04-06 22:27:02 +0000 | [diff] [blame] | 79 | 'dep_type': 'cipd', |
| 80 | }, |
Corentin Wallez | 21a2385 | 2018-07-31 18:50:03 +0200 | [diff] [blame] | 81 | |
Corentin Wallez | 649e2fe | 2018-08-03 15:57:43 +0200 | [diff] [blame] | 82 | # Testing, GTest and GMock |
Corentin Wallez | 1a0596d | 2018-09-10 15:16:10 +0200 | [diff] [blame] | 83 | 'testing': { |
Corentin Wallez | bf1e953 | 2020-11-04 09:44:47 +0000 | [diff] [blame] | 84 | 'url': '{chromium_git}/chromium/src/testing@3e2640a325dc34ec3d9cb2802b8da874aecaf52d', |
Corentin Wallez | 21a2385 | 2018-07-31 18:50:03 +0200 | [diff] [blame] | 85 | 'condition': 'dawn_standalone', |
| 86 | }, |
Corentin Wallez | 1a0596d | 2018-09-10 15:16:10 +0200 | [diff] [blame] | 87 | 'third_party/googletest': { |
Shrek Shao | 2f8f251 | 2021-09-15 19:22:19 +0000 | [diff] [blame] | 88 | 'url': '{chromium_git}/external/github.com/google/googletest@2828773179fa425ee406df61890a150577178ea2', |
Corentin Wallez | 649e2fe | 2018-08-03 15:57:43 +0200 | [diff] [blame] | 89 | 'condition': 'dawn_standalone', |
| 90 | }, |
Corentin Wallez | 21a2385 | 2018-07-31 18:50:03 +0200 | [diff] [blame] | 91 | |
Corentin Wallez | 3bb0bb9 | 2018-08-13 17:47:44 +0200 | [diff] [blame] | 92 | # Jinja2 and MarkupSafe for the code generator |
Corentin Wallez | 1a0596d | 2018-09-10 15:16:10 +0200 | [diff] [blame] | 93 | 'third_party/jinja2': { |
James Price | e97594d | 2021-11-02 08:31:02 +0000 | [diff] [blame] | 94 | 'url': '{chromium_git}/chromium/src/third_party/jinja2@ee69aa00ee8536f61db6a451f3858745cf587de6', |
Corentin Wallez | 3bb0bb9 | 2018-08-13 17:47:44 +0200 | [diff] [blame] | 95 | 'condition': 'dawn_standalone', |
| 96 | }, |
Corentin Wallez | 1a0596d | 2018-09-10 15:16:10 +0200 | [diff] [blame] | 97 | 'third_party/markupsafe': { |
Corentin Wallez | bf1e953 | 2020-11-04 09:44:47 +0000 | [diff] [blame] | 98 | 'url': '{chromium_git}/chromium/src/third_party/markupsafe@0944e71f4b2cb9a871bcbe353f95e889b64a611a', |
Corentin Wallez | 3bb0bb9 | 2018-08-13 17:47:44 +0200 | [diff] [blame] | 99 | 'condition': 'dawn_standalone', |
| 100 | }, |
| 101 | |
Ryan Harrison | 991b947 | 2020-05-06 23:15:54 +0000 | [diff] [blame] | 102 | # WGSL support |
| 103 | 'third_party/tint': { |
Dawn Autoroller | 5b95b12 | 2021-12-21 16:17:33 +0000 | [diff] [blame] | 104 | 'url': '{dawn_git}/tint@821f9bb525a34f9976627727b04ff9325bc982e6', |
Ryan Harrison | 991b947 | 2020-05-06 23:15:54 +0000 | [diff] [blame] | 105 | }, |
| 106 | |
Corentin Wallez | 4d7d169 | 2018-08-13 08:23:27 +0200 | [diff] [blame] | 107 | # GLFW for tests and samples |
Corentin Wallez | 1a0596d | 2018-09-10 15:16:10 +0200 | [diff] [blame] | 108 | 'third_party/glfw': { |
Stephen White | 3aa929b | 2021-02-03 19:22:47 +0000 | [diff] [blame] | 109 | 'url': '{chromium_git}/external/github.com/glfw/glfw@94773111300fee0453844a4c9407af7e880b4df8', |
Corentin Wallez | 4d7d169 | 2018-08-13 08:23:27 +0200 | [diff] [blame] | 110 | 'condition': 'dawn_standalone', |
| 111 | }, |
| 112 | |
Stephen White | 77fcdf7 | 2021-01-11 15:52:12 +0000 | [diff] [blame] | 113 | 'third_party/vulkan_memory_allocator': { |
Austin Eng | 972c238 | 2021-12-21 21:21:42 +0000 | [diff] [blame^] | 114 | 'url': '{chromium_git}/external/github.com/GPUOpen-LibrariesAndSDKs/VulkanMemoryAllocator@5e49f57a6e71a026a54eb42e366de09a4142d24e', |
Stephen White | 77fcdf7 | 2021-01-11 15:52:12 +0000 | [diff] [blame] | 115 | 'condition': 'dawn_standalone', |
| 116 | }, |
| 117 | |
| 118 | 'third_party/angle': { |
Dawn Autoroller | 3649af2 | 2021-12-16 19:31:38 +0000 | [diff] [blame] | 119 | 'url': '{chromium_git}/angle/angle@543f5750f70e014dc9c2217fb2fcf1c6b63badd5', |
Stephen White | 77fcdf7 | 2021-01-11 15:52:12 +0000 | [diff] [blame] | 120 | 'condition': 'dawn_standalone', |
| 121 | }, |
| 122 | |
Corentin Wallez | 74cebd6 | 2019-11-26 18:21:51 +0000 | [diff] [blame] | 123 | 'third_party/swiftshader': { |
Dawn Autoroller | 2ed5c1c | 2021-12-21 19:14:52 +0000 | [diff] [blame] | 124 | 'url': '{swiftshader_git}/SwiftShader@f354daff5a2b882fc182c8377c826aa99b30f989', |
Corentin Wallez | 74cebd6 | 2019-11-26 18:21:51 +0000 | [diff] [blame] | 125 | 'condition': 'dawn_standalone', |
| 126 | }, |
| 127 | |
Stephen White | f1fa60b | 2021-01-06 17:41:50 +0000 | [diff] [blame] | 128 | 'third_party/vulkan-deps': { |
dawn-autoroll | f6a0544 | 2021-12-21 21:07:37 +0000 | [diff] [blame] | 129 | 'url': '{chromium_git}/vulkan-deps@fbeca8f4ea6a6280982422028e991c2821385383', |
Corentin Wallez | 1fdd059 | 2021-04-02 18:04:27 +0000 | [diff] [blame] | 130 | 'condition': 'dawn_standalone', |
Stephen White | 77fcdf7 | 2021-01-11 15:52:12 +0000 | [diff] [blame] | 131 | }, |
| 132 | |
| 133 | 'third_party/zlib': { |
| 134 | 'url': '{chromium_git}/chromium/src/third_party/zlib@c29ee8c9c3824ca013479bf8115035527967fe02', |
Stephen White | f1fa60b | 2021-01-06 17:41:50 +0000 | [diff] [blame] | 135 | 'condition': 'dawn_standalone', |
| 136 | }, |
Brandon Jones | a04663c | 2021-09-23 20:36:03 +0000 | [diff] [blame] | 137 | |
| 138 | 'third_party/abseil-cpp': { |
| 139 | 'url': '{chromium_git}/chromium/src/third_party/abseil-cpp@789af048b388657987c59d4da406859034fe310f', |
| 140 | 'condition': 'dawn_standalone', |
| 141 | }, |
Ben Clayton | dc890d6 | 2021-09-27 22:55:39 +0000 | [diff] [blame] | 142 | |
| 143 | # Dependencies required to build Dawn NodeJS bindings |
| 144 | 'third_party/node-api-headers': { |
| 145 | 'url': '{github_git}/nodejs/node-api-headers.git@d68505e4055ecb630e14c26c32e5c2c65e179bba', |
| 146 | 'condition': 'dawn_node', |
| 147 | }, |
| 148 | 'third_party/node-addon-api': { |
| 149 | 'url': '{github_git}/nodejs/node-addon-api.git@4a3de56c3e4ed0031635a2f642b27efeeed00add', |
| 150 | 'condition': 'dawn_node', |
| 151 | }, |
| 152 | 'third_party/gpuweb': { |
| 153 | 'url': '{github_git}/gpuweb/gpuweb.git@67edc187f5305a72456663c34d51153601b79f3b', |
| 154 | 'condition': 'dawn_node', |
| 155 | }, |
Austin Eng | 4948c81 | 2021-10-15 14:28:32 +0000 | [diff] [blame] | 156 | |
| 157 | 'tools/golang': { |
| 158 | 'condition': 'dawn_node', |
| 159 | 'packages': [{ |
| 160 | 'package': 'infra/3pp/tools/go/${{platform}}', |
| 161 | 'version': Var('dawn_go_version'), |
| 162 | }], |
| 163 | 'dep_type': 'cipd', |
| 164 | }, |
| 165 | |
| 166 | 'tools/cmake': { |
| 167 | 'condition': 'dawn_node and (host_os == "mac" or host_os == "linux")', |
| 168 | 'packages': [{ |
| 169 | 'package': 'infra/3pp/tools/cmake/${{platform}}', |
| 170 | 'version': Var('dawn_cmake_version'), |
| 171 | }], |
| 172 | 'dep_type': 'cipd', |
| 173 | }, |
Corentin Wallez | 21a2385 | 2018-07-31 18:50:03 +0200 | [diff] [blame] | 174 | } |
| 175 | |
| 176 | hooks = [ |
Corentin Wallez | 21a2385 | 2018-07-31 18:50:03 +0200 | [diff] [blame] | 177 | # Pull the compilers and system libraries for hermetic builds |
| 178 | { |
| 179 | 'name': 'sysroot_x86', |
| 180 | 'pattern': '.', |
Corentin Wallez | 2015b2f | 2021-03-04 17:37:55 +0000 | [diff] [blame] | 181 | 'condition': 'dawn_standalone and checkout_linux and (checkout_x86 or checkout_x64)', |
Corentin Wallez | 1a0596d | 2018-09-10 15:16:10 +0200 | [diff] [blame] | 182 | 'action': ['python', 'build/linux/sysroot_scripts/install-sysroot.py', |
Corentin Wallez | 21a2385 | 2018-07-31 18:50:03 +0200 | [diff] [blame] | 183 | '--arch=x86'], |
| 184 | }, |
| 185 | { |
| 186 | 'name': 'sysroot_x64', |
| 187 | 'pattern': '.', |
Corentin Wallez | 2015b2f | 2021-03-04 17:37:55 +0000 | [diff] [blame] | 188 | 'condition': 'dawn_standalone and checkout_linux and checkout_x64', |
Corentin Wallez | 1a0596d | 2018-09-10 15:16:10 +0200 | [diff] [blame] | 189 | 'action': ['python', 'build/linux/sysroot_scripts/install-sysroot.py', |
Corentin Wallez | 21a2385 | 2018-07-31 18:50:03 +0200 | [diff] [blame] | 190 | '--arch=x64'], |
| 191 | }, |
| 192 | { |
Corentin Wallez | d4e7f08 | 2020-11-17 21:16:31 +0000 | [diff] [blame] | 193 | # Update the Mac toolchain if possible, this makes builders use "hermetic XCode" which is |
| 194 | # is more consistent (only changes when rolling build/) and is cached. |
| 195 | 'name': 'mac_toolchain', |
| 196 | 'pattern': '.', |
Corentin Wallez | 2015b2f | 2021-03-04 17:37:55 +0000 | [diff] [blame] | 197 | 'condition': 'dawn_standalone and checkout_mac', |
Corentin Wallez | d4e7f08 | 2020-11-17 21:16:31 +0000 | [diff] [blame] | 198 | 'action': ['python', 'build/mac_toolchain.py'], |
| 199 | }, |
| 200 | { |
Corentin Wallez | 682c44a | 2018-08-13 17:48:16 +0200 | [diff] [blame] | 201 | # Update the Windows toolchain if necessary. Must run before 'clang' below. |
Corentin Wallez | 21a2385 | 2018-07-31 18:50:03 +0200 | [diff] [blame] | 202 | 'name': 'win_toolchain', |
| 203 | 'pattern': '.', |
Corentin Wallez | 2015b2f | 2021-03-04 17:37:55 +0000 | [diff] [blame] | 204 | 'condition': 'dawn_standalone and checkout_win', |
Corentin Wallez | 1a0596d | 2018-09-10 15:16:10 +0200 | [diff] [blame] | 205 | 'action': ['python', 'build/vs_toolchain.py', 'update', '--force'], |
Corentin Wallez | 21a2385 | 2018-07-31 18:50:03 +0200 | [diff] [blame] | 206 | }, |
| 207 | { |
| 208 | # Note: On Win, this should run after win_toolchain, as it may use it. |
| 209 | 'name': 'clang', |
| 210 | 'pattern': '.', |
Corentin Wallez | 1a0596d | 2018-09-10 15:16:10 +0200 | [diff] [blame] | 211 | 'action': ['python', 'tools/clang/scripts/update.py'], |
Corentin Wallez | 21a2385 | 2018-07-31 18:50:03 +0200 | [diff] [blame] | 212 | 'condition': 'dawn_standalone', |
| 213 | }, |
| 214 | { |
| 215 | # Pull rc binaries using checked-in hashes. |
| 216 | 'name': 'rc_win', |
| 217 | 'pattern': '.', |
Corentin Wallez | 2015b2f | 2021-03-04 17:37:55 +0000 | [diff] [blame] | 218 | 'condition': 'dawn_standalone and checkout_win and host_os == "win"', |
Corentin Wallez | 21a2385 | 2018-07-31 18:50:03 +0200 | [diff] [blame] | 219 | 'action': [ 'download_from_google_storage', |
| 220 | '--no_resume', |
| 221 | '--no_auth', |
| 222 | '--bucket', 'chromium-browser-clang/rc', |
Corentin Wallez | 1a0596d | 2018-09-10 15:16:10 +0200 | [diff] [blame] | 223 | '-s', 'build/toolchain/win/rc/win/rc.exe.sha1', |
Corentin Wallez | 21a2385 | 2018-07-31 18:50:03 +0200 | [diff] [blame] | 224 | ], |
| 225 | }, |
Corentin Wallez | 131e619 | 2020-11-03 18:18:06 +0000 | [diff] [blame] | 226 | # Pull clang-format binaries using checked-in hashes. |
| 227 | { |
| 228 | 'name': 'clang_format_win', |
| 229 | 'pattern': '.', |
Corentin Wallez | 2015b2f | 2021-03-04 17:37:55 +0000 | [diff] [blame] | 230 | 'condition': 'dawn_standalone and host_os == "win"', |
Corentin Wallez | 131e619 | 2020-11-03 18:18:06 +0000 | [diff] [blame] | 231 | 'action': [ 'download_from_google_storage', |
| 232 | '--no_resume', |
| 233 | '--no_auth', |
| 234 | '--bucket', 'chromium-clang-format', |
| 235 | '-s', 'buildtools/win/clang-format.exe.sha1', |
| 236 | ], |
| 237 | }, |
| 238 | { |
| 239 | 'name': 'clang_format_mac', |
| 240 | 'pattern': '.', |
Corentin Wallez | 2015b2f | 2021-03-04 17:37:55 +0000 | [diff] [blame] | 241 | 'condition': 'dawn_standalone and host_os == "mac"', |
Corentin Wallez | 131e619 | 2020-11-03 18:18:06 +0000 | [diff] [blame] | 242 | 'action': [ 'download_from_google_storage', |
| 243 | '--no_resume', |
| 244 | '--no_auth', |
| 245 | '--bucket', 'chromium-clang-format', |
| 246 | '-s', 'buildtools/mac/clang-format.sha1', |
| 247 | ], |
| 248 | }, |
| 249 | { |
| 250 | 'name': 'clang_format_linux', |
| 251 | 'pattern': '.', |
Corentin Wallez | 2015b2f | 2021-03-04 17:37:55 +0000 | [diff] [blame] | 252 | 'condition': 'dawn_standalone and host_os == "linux"', |
Corentin Wallez | 131e619 | 2020-11-03 18:18:06 +0000 | [diff] [blame] | 253 | 'action': [ 'download_from_google_storage', |
| 254 | '--no_resume', |
| 255 | '--no_auth', |
| 256 | '--bucket', 'chromium-clang-format', |
| 257 | '-s', 'buildtools/linux64/clang-format.sha1', |
| 258 | ], |
| 259 | }, |
Corentin Wallez | 15d8cb7 | 2018-11-19 10:13:31 +0000 | [diff] [blame] | 260 | # Update build/util/LASTCHANGE. |
| 261 | { |
| 262 | 'name': 'lastchange', |
| 263 | 'pattern': '.', |
Jiajie Hu | 2ffc55a | 2020-07-01 05:08:36 +0000 | [diff] [blame] | 264 | 'condition': 'dawn_standalone', |
Corentin Wallez | 15d8cb7 | 2018-11-19 10:13:31 +0000 | [diff] [blame] | 265 | 'action': ['python', 'build/util/lastchange.py', |
| 266 | '-o', 'build/util/LASTCHANGE'], |
| 267 | }, |
Austin Eng | 4948c81 | 2021-10-15 14:28:32 +0000 | [diff] [blame] | 268 | # TODO(https://crbug.com/1180257): Use CIPD for CMake on Windows. |
| 269 | { |
| 270 | 'name': 'cmake_win32', |
| 271 | 'pattern': '.', |
| 272 | 'condition': 'dawn_node and host_os == "win"', |
| 273 | 'action': [ 'download_from_google_storage', |
| 274 | '--no_resume', |
| 275 | '--platform=win32', |
| 276 | '--no_auth', |
| 277 | '--bucket', 'chromium-tools', |
| 278 | Var('dawn_cmake_win32_sha1'), |
| 279 | '-o', 'tools/cmake-win32.zip' |
| 280 | ], |
| 281 | }, |
| 282 | { |
| 283 | 'name': 'cmake_win32_extract', |
| 284 | 'pattern': '.', |
| 285 | 'condition': 'dawn_node and host_os == "win"', |
| 286 | 'action': [ 'python', |
| 287 | 'scripts/extract.py', |
| 288 | 'tools/cmake-win32.zip', |
| 289 | 'tools/cmake-win32/', |
| 290 | ], |
| 291 | }, |
Corentin Wallez | ca81bd3 | 2018-09-03 11:55:58 +0200 | [diff] [blame] | 292 | ] |
| 293 | |
| 294 | recursedeps = [ |
Stephen White | f1fa60b | 2021-01-06 17:41:50 +0000 | [diff] [blame] | 295 | 'third_party/vulkan-deps', |
Corentin Wallez | 21a2385 | 2018-07-31 18:50:03 +0200 | [diff] [blame] | 296 | ] |