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