blob: 017cb22da618f5ca313c9c44689599537293372d [file] [log] [blame]
Corentin Wallez1a0596d2018-09-10 15:16:10 +02001use_relative_paths = True
Corentin Wallez1a0596d2018-09-10 15:16:10 +02002
Corentin Wallez4e2d7cf2020-07-14 15:53:34 +00003gclient_gn_args_file = 'build/config/gclient_args.gni'
Corentin Wallez4e2d7cf2020-07-14 15:53:34 +00004
Corentin Wallezd5203662022-01-05 15:54:08 +00005gclient_gn_args = [
6 'generate_location_tags',
7]
8
Corentin Wallez21a23852018-07-31 18:50:03 +02009vars = {
10 'chromium_git': 'https://chromium.googlesource.com',
Corentin Wallez4c351012018-08-27 10:10:28 +020011 'dawn_git': 'https://dawn.googlesource.com',
Corentin Wallez21a23852018-07-31 18:50:03 +020012 'github_git': 'https://github.com',
Corentin Wallez74cebd62019-11-26 18:21:51 +000013 'swiftshader_git': 'https://swiftshader.googlesource.com',
Corentin Wallez21a23852018-07-31 18:50:03 +020014
Corentin Wallez21a23852018-07-31 18:50:03 +020015 'dawn_standalone': True,
Ben Claytondc890d62021-09-27 22:55:39 +000016 'dawn_node': False, # Also fetches dependencies required for building NodeJS bindings.
Austin Eng4948c812021-10-15 14:28:32 +000017 'dawn_cmake_version': 'version:3.13.5',
18 'dawn_cmake_win32_sha1': 'b106d66bcdc8a71ea2cdf5446091327bfdb1bcd7',
Corentin Wallez49b3b112022-03-23 18:45:14 +000019 'dawn_gn_version': 'git_revision:bd99dbf98cbdefe18a4128189665c5761263bcfb',
Austin Eng4948c812021-10-15 14:28:32 +000020 'dawn_go_version': 'version:1.16',
Corentin Wallezd5203662022-01-05 15:54:08 +000021
Ben Clayton6f8ff742022-03-28 19:55:42 +000022 'node_darwin_arm64_sha': '31859fc1fa0994a95f44f09c367d6ff63607cfde',
23 'node_darwin_x64_sha': '16dfd094763b71988933a31735f9dea966f9abd6',
24 'node_linux_x64_sha': 'ab9544e24e752d3d17f335fb7b2055062e582d11',
25 'node_win_x64_sha': '5ef847033c517c499f56f9d136d159b663bab717',
26
Corentin Wallezd5203662022-01-05 15:54:08 +000027 # GN variable required by //testing that will be output in the gclient_args.gni
28 'generate_location_tags': False,
dan sinclair93cf3462022-05-16 12:58:24 +000029
30 # Fetch clang-tidy into the same bin/ directory as our clang binary.
31 'checkout_clang_tidy': False,
Corentin Wallez21a23852018-07-31 18:50:03 +020032}
33
34deps = {
35 # Dependencies required to use GN/Clang in standalone
Corentin Wallez1a0596d2018-09-10 15:16:10 +020036 'build': {
Ben Clayton6bdd6592022-04-28 08:26:23 +000037 'url': '{chromium_git}/chromium/src/build@87b04ad66530e4a571cef36d6e71ef737d23a887',
Corentin Wallez21a23852018-07-31 18:50:03 +020038 'condition': 'dawn_standalone',
39 },
Corentin Wallez1a0596d2018-09-10 15:16:10 +020040 'buildtools': {
Ben Clayton6bdd6592022-04-28 08:26:23 +000041 'url': '{chromium_git}/chromium/src/buildtools@f0d740e4e2f803e39dfd5d8d11f7d87bdf489514',
Corentin Wallez21a23852018-07-31 18:50:03 +020042 'condition': 'dawn_standalone',
43 },
Corentin Wallez60ca94b2021-03-24 16:22:32 +000044 'buildtools/clang_format/script': {
45 'url': '{chromium_git}/external/github.com/llvm/llvm-project/clang/tools/clang-format.git@99803d74e35962f63a775f29477882afd4d57d94',
46 'condition': 'dawn_standalone',
47 },
Corentin Wallez60ca94b2021-03-24 16:22:32 +000048 'buildtools/linux64': {
49 'packages': [{
50 'package': 'gn/gn/linux-amd64',
Corentin Wallez88d5e072021-12-13 15:24:55 +000051 'version': Var('dawn_gn_version'),
Corentin Wallez60ca94b2021-03-24 16:22:32 +000052 }],
53 'dep_type': 'cipd',
54 'condition': 'dawn_standalone and host_os == "linux"',
55 },
56 'buildtools/mac': {
57 'packages': [{
58 'package': 'gn/gn/mac-${{arch}}',
Corentin Wallez88d5e072021-12-13 15:24:55 +000059 'version': Var('dawn_gn_version'),
Corentin Wallez60ca94b2021-03-24 16:22:32 +000060 }],
61 'dep_type': 'cipd',
62 'condition': 'dawn_standalone and host_os == "mac"',
63 },
64 'buildtools/win': {
65 'packages': [{
66 'package': 'gn/gn/windows-amd64',
Corentin Wallez88d5e072021-12-13 15:24:55 +000067 'version': Var('dawn_gn_version'),
Corentin Wallez60ca94b2021-03-24 16:22:32 +000068 }],
69 'dep_type': 'cipd',
70 'condition': 'dawn_standalone and host_os == "win"',
71 },
72
73 'buildtools/third_party/libc++/trunk': {
Corentin Wallezd5203662022-01-05 15:54:08 +000074 'url': '{chromium_git}/external/github.com/llvm/llvm-project/libcxx.git@79a2e924d96e2fc1e4b937c42efd08898fa472d7',
Corentin Wallez60ca94b2021-03-24 16:22:32 +000075 'condition': 'dawn_standalone',
76 },
77
78 'buildtools/third_party/libc++abi/trunk': {
Corentin Wallez08985d42022-03-24 14:19:19 +000079 'url': '{chromium_git}/external/github.com/llvm/llvm-project/libcxxabi.git@edde7bbc4049ae4a32257d9f16451312c763c601',
Corentin Wallez60ca94b2021-03-24 16:22:32 +000080 'condition': 'dawn_standalone',
81 },
82
Corentin Wallez1a0596d2018-09-10 15:16:10 +020083 'tools/clang': {
Ben Clayton6bdd6592022-04-28 08:26:23 +000084 'url': '{chromium_git}/chromium/src/tools/clang@3c4a622d9f0b0ce5ec2a438189d46c695216b324',
Corentin Wallez21a23852018-07-31 18:50:03 +020085 'condition': 'dawn_standalone',
86 },
Kai Ninomiyaf526d772020-04-06 22:27:02 +000087 'tools/clang/dsymutil': {
Corentin Wallez60ca94b2021-03-24 16:22:32 +000088 'packages': [{
89 'package': 'chromium/llvm-build-tools/dsymutil',
90 'version': 'M56jPzDv1620Rnm__jTMYS62Zi8rxHVq7yw0qeBFEgkC',
91 }],
Corentin Wallez2015b2f2021-03-04 17:37:55 +000092 'condition': 'dawn_standalone and (checkout_mac or checkout_ios)',
Kai Ninomiyaf526d772020-04-06 22:27:02 +000093 'dep_type': 'cipd',
94 },
Corentin Wallez21a23852018-07-31 18:50:03 +020095
Corentin Wallez649e2fe2018-08-03 15:57:43 +020096 # Testing, GTest and GMock
Corentin Wallez1a0596d2018-09-10 15:16:10 +020097 'testing': {
Corentin Wallezd5203662022-01-05 15:54:08 +000098 'url': '{chromium_git}/chromium/src/testing@d485ae97b7900c1fb7edfbe2901ae5adcb120865',
Corentin Wallez21a23852018-07-31 18:50:03 +020099 'condition': 'dawn_standalone',
100 },
Corentin Wallez1a0596d2018-09-10 15:16:10 +0200101 'third_party/googletest': {
dan sinclaira5ff0e92022-05-10 18:44:34 +0000102 'url': '{chromium_git}/external/github.com/google/googletest@bda85449f48f2d80a494c8c07766b6aba3170f3b',
Corentin Wallezd5203662022-01-05 15:54:08 +0000103 'condition': 'dawn_standalone',
104 },
105 # This is a dependency of //testing
106 'third_party/catapult': {
107 'url': '{chromium_git}/catapult.git@fa35beefb3429605035f98211ddb8750dee6a13d',
Corentin Wallez649e2fe2018-08-03 15:57:43 +0200108 'condition': 'dawn_standalone',
109 },
Corentin Wallez21a23852018-07-31 18:50:03 +0200110
Corentin Wallez3bb0bb92018-08-13 17:47:44 +0200111 # Jinja2 and MarkupSafe for the code generator
Corentin Wallez1a0596d2018-09-10 15:16:10 +0200112 'third_party/jinja2': {
James Pricee97594d2021-11-02 08:31:02 +0000113 'url': '{chromium_git}/chromium/src/third_party/jinja2@ee69aa00ee8536f61db6a451f3858745cf587de6',
Corentin Wallez3bb0bb92018-08-13 17:47:44 +0200114 'condition': 'dawn_standalone',
115 },
Corentin Wallez1a0596d2018-09-10 15:16:10 +0200116 'third_party/markupsafe': {
Corentin Wallezbf1e9532020-11-04 09:44:47 +0000117 'url': '{chromium_git}/chromium/src/third_party/markupsafe@0944e71f4b2cb9a871bcbe353f95e889b64a611a',
Corentin Wallez3bb0bb92018-08-13 17:47:44 +0200118 'condition': 'dawn_standalone',
119 },
120
Corentin Wallez4d7d1692018-08-13 08:23:27 +0200121 # GLFW for tests and samples
Corentin Wallez1a0596d2018-09-10 15:16:10 +0200122 'third_party/glfw': {
Corentin Wallez6903c462022-05-25 17:46:04 +0000123 'url': '{chromium_git}/external/github.com/glfw/glfw@62e175ef9fae75335575964c845a302447c012c7',
Corentin Wallez4d7d1692018-08-13 08:23:27 +0200124 },
125
Stephen White77fcdf72021-01-11 15:52:12 +0000126 'third_party/vulkan_memory_allocator': {
Austin Eng972c2382021-12-21 21:21:42 +0000127 'url': '{chromium_git}/external/github.com/GPUOpen-LibrariesAndSDKs/VulkanMemoryAllocator@5e49f57a6e71a026a54eb42e366de09a4142d24e',
Stephen White77fcdf72021-01-11 15:52:12 +0000128 'condition': 'dawn_standalone',
129 },
130
131 'third_party/angle': {
Dawn Autoroller15691362022-05-27 12:20:15 +0000132 'url': '{chromium_git}/angle/angle@aa220172527037deada6cf4bc494df479844d589',
Stephen White77fcdf72021-01-11 15:52:12 +0000133 'condition': 'dawn_standalone',
134 },
135
Corentin Wallez74cebd62019-11-26 18:21:51 +0000136 'third_party/swiftshader': {
Dawn Autoroller3f881de2022-05-27 17:34:26 +0000137 'url': '{swiftshader_git}/SwiftShader@d070309f7d154d6764cbd514b1a5c8bfcef61d06',
Corentin Wallez74cebd62019-11-26 18:21:51 +0000138 'condition': 'dawn_standalone',
139 },
140
Stephen Whitef1fa60b2021-01-06 17:41:50 +0000141 'third_party/vulkan-deps': {
dawn-autoroll118d1612022-05-27 18:14:36 +0000142 'url': '{chromium_git}/vulkan-deps@e46647cbc8837fadedddd4ff4b65b2cf0fb2487e',
Corentin Wallez1fdd0592021-04-02 18:04:27 +0000143 'condition': 'dawn_standalone',
Stephen White77fcdf72021-01-11 15:52:12 +0000144 },
145
146 'third_party/zlib': {
147 'url': '{chromium_git}/chromium/src/third_party/zlib@c29ee8c9c3824ca013479bf8115035527967fe02',
Stephen Whitef1fa60b2021-01-06 17:41:50 +0000148 'condition': 'dawn_standalone',
149 },
Brandon Jonesa04663c2021-09-23 20:36:03 +0000150
151 'third_party/abseil-cpp': {
152 'url': '{chromium_git}/chromium/src/third_party/abseil-cpp@789af048b388657987c59d4da406859034fe310f',
153 'condition': 'dawn_standalone',
154 },
Ben Claytondc890d62021-09-27 22:55:39 +0000155
Kai Ninomiya5c780d72022-03-17 21:43:17 +0000156 # WebGPU CTS - not used directly by Dawn, only transitively by Chromium.
157 'third_party/webgpu-cts': {
Ben Claytoncc32bcc2022-05-25 22:42:19 +0000158 'url': '{chromium_git}/external/github.com/gpuweb/cts@5f05d6d5e625fe6f04903335473c5638ddf94514',
Kai Ninomiya5c780d72022-03-17 21:43:17 +0000159 'condition': 'build_with_chromium',
160 },
161
Ben Clayton6f8ff742022-03-28 19:55:42 +0000162 # Dependencies required to build / run Dawn NodeJS bindings
Ben Claytondc890d62021-09-27 22:55:39 +0000163 'third_party/node-api-headers': {
164 'url': '{github_git}/nodejs/node-api-headers.git@d68505e4055ecb630e14c26c32e5c2c65e179bba',
165 'condition': 'dawn_node',
166 },
167 'third_party/node-addon-api': {
168 'url': '{github_git}/nodejs/node-addon-api.git@4a3de56c3e4ed0031635a2f642b27efeeed00add',
169 'condition': 'dawn_node',
170 },
171 'third_party/gpuweb': {
Ben Clayton28299222022-05-03 20:02:53 +0000172 'url': '{github_git}/gpuweb/gpuweb.git@16df823c91c9045b7cdf9bd0f2c0ef6d43ac95e7',
Ben Claytondc890d62021-09-27 22:55:39 +0000173 'condition': 'dawn_node',
174 },
Austin Eng4948c812021-10-15 14:28:32 +0000175
176 'tools/golang': {
177 'condition': 'dawn_node',
178 'packages': [{
179 'package': 'infra/3pp/tools/go/${{platform}}',
180 'version': Var('dawn_go_version'),
181 }],
182 'dep_type': 'cipd',
183 },
184
185 'tools/cmake': {
186 'condition': 'dawn_node and (host_os == "mac" or host_os == "linux")',
187 'packages': [{
188 'package': 'infra/3pp/tools/cmake/${{platform}}',
189 'version': Var('dawn_cmake_version'),
190 }],
191 'dep_type': 'cipd',
192 },
Ryan Harrisone87ac762022-04-06 15:37:27 -0400193
194 # Misc dependencies inherited from Tint
Ryan Harrison3374f432022-03-28 18:01:02 +0000195 'third_party/benchmark': {
196 'url': '{chromium_git}/external/github.com/google/benchmark.git@e991355c02b93fe17713efe04cbc2e278e00fdbd',
Ryan Harrisone87ac762022-04-06 15:37:27 -0400197 'condition': 'dawn_standalone',
Ryan Harrison3374f432022-03-28 18:01:02 +0000198 },
Ryan Harrison3374f432022-03-28 18:01:02 +0000199 'third_party/protobuf': {
200 'url': '{chromium_git}/external/github.com/protocolbuffers/protobuf.git@fde7cf7358ec7cd69e8db9be4f1fa6a5c431386a',
Ryan Harrisone87ac762022-04-06 15:37:27 -0400201 'condition': 'dawn_standalone',
Ryan Harrison3374f432022-03-28 18:01:02 +0000202 },
Corentin Wallez21a23852018-07-31 18:50:03 +0200203}
204
205hooks = [
Corentin Wallez21a23852018-07-31 18:50:03 +0200206 # Pull the compilers and system libraries for hermetic builds
207 {
208 'name': 'sysroot_x86',
209 'pattern': '.',
Corentin Wallez2015b2f2021-03-04 17:37:55 +0000210 'condition': 'dawn_standalone and checkout_linux and (checkout_x86 or checkout_x64)',
Corentin Wallezd5203662022-01-05 15:54:08 +0000211 'action': ['python3', 'build/linux/sysroot_scripts/install-sysroot.py',
Corentin Wallez21a23852018-07-31 18:50:03 +0200212 '--arch=x86'],
213 },
214 {
215 'name': 'sysroot_x64',
216 'pattern': '.',
Corentin Wallez2015b2f2021-03-04 17:37:55 +0000217 'condition': 'dawn_standalone and checkout_linux and checkout_x64',
Corentin Wallezd5203662022-01-05 15:54:08 +0000218 'action': ['python3', 'build/linux/sysroot_scripts/install-sysroot.py',
Corentin Wallez21a23852018-07-31 18:50:03 +0200219 '--arch=x64'],
220 },
221 {
Corentin Wallezd4e7f082020-11-17 21:16:31 +0000222 # Update the Mac toolchain if possible, this makes builders use "hermetic XCode" which is
223 # is more consistent (only changes when rolling build/) and is cached.
224 'name': 'mac_toolchain',
225 'pattern': '.',
Corentin Wallez2015b2f2021-03-04 17:37:55 +0000226 'condition': 'dawn_standalone and checkout_mac',
Corentin Wallezd5203662022-01-05 15:54:08 +0000227 'action': ['python3', 'build/mac_toolchain.py'],
Corentin Wallezd4e7f082020-11-17 21:16:31 +0000228 },
229 {
Corentin Wallez682c44a2018-08-13 17:48:16 +0200230 # Update the Windows toolchain if necessary. Must run before 'clang' below.
Corentin Wallez21a23852018-07-31 18:50:03 +0200231 'name': 'win_toolchain',
232 'pattern': '.',
Corentin Wallez2015b2f2021-03-04 17:37:55 +0000233 'condition': 'dawn_standalone and checkout_win',
Corentin Wallezd5203662022-01-05 15:54:08 +0000234 'action': ['python3', 'build/vs_toolchain.py', 'update', '--force'],
Corentin Wallez21a23852018-07-31 18:50:03 +0200235 },
236 {
237 # Note: On Win, this should run after win_toolchain, as it may use it.
238 'name': 'clang',
239 'pattern': '.',
Corentin Wallezd5203662022-01-05 15:54:08 +0000240 'action': ['python3', 'tools/clang/scripts/update.py'],
Corentin Wallez21a23852018-07-31 18:50:03 +0200241 'condition': 'dawn_standalone',
242 },
243 {
dan sinclair93cf3462022-05-16 12:58:24 +0000244 # This is also supposed to support the same set of platforms as 'clang'
245 # above. LLVM ToT support isn't provided at the moment.
246 'name': 'clang_tidy',
247 'pattern': '.',
Corentin Wallezc4051b12022-05-17 08:21:02 +0000248 'condition': 'dawn_standalone and checkout_clang_tidy',
dan sinclair93cf3462022-05-16 12:58:24 +0000249 'action': ['python3', 'tools/clang/scripts/update.py',
250 '--package=clang-tidy'],
251 },
252 {
Corentin Wallez21a23852018-07-31 18:50:03 +0200253 # Pull rc binaries using checked-in hashes.
254 'name': 'rc_win',
255 'pattern': '.',
Corentin Wallez2015b2f2021-03-04 17:37:55 +0000256 'condition': 'dawn_standalone and checkout_win and host_os == "win"',
Corentin Wallez21a23852018-07-31 18:50:03 +0200257 'action': [ 'download_from_google_storage',
258 '--no_resume',
259 '--no_auth',
260 '--bucket', 'chromium-browser-clang/rc',
Corentin Wallez1a0596d2018-09-10 15:16:10 +0200261 '-s', 'build/toolchain/win/rc/win/rc.exe.sha1',
Corentin Wallez21a23852018-07-31 18:50:03 +0200262 ],
263 },
Corentin Wallez131e6192020-11-03 18:18:06 +0000264 # Pull clang-format binaries using checked-in hashes.
265 {
Corentin Wallez51723bd2022-04-07 10:40:46 +0000266 'name': 'clang_format_win',
267 'pattern': '.',
268 'condition': 'dawn_standalone and host_os == "win"',
269 'action': [ 'download_from_google_storage',
270 '--no_resume',
271 '--no_auth',
272 '--bucket', 'chromium-clang-format',
273 '-s', 'buildtools/win/clang-format.exe.sha1',
274 ],
275 },
276 {
Ben Clayton088a6002022-04-06 19:57:42 +0000277 'name': 'clang_format_mac_x64',
Corentin Wallez131e6192020-11-03 18:18:06 +0000278 'pattern': '.',
Ben Clayton088a6002022-04-06 19:57:42 +0000279 'condition': 'dawn_standalone and host_os == "mac" and host_cpu == "x64"',
Corentin Wallez131e6192020-11-03 18:18:06 +0000280 'action': [ 'download_from_google_storage',
281 '--no_resume',
282 '--no_auth',
283 '--bucket', 'chromium-clang-format',
Ben Clayton088a6002022-04-06 19:57:42 +0000284 '-s', 'buildtools/mac/clang-format.x64.sha1',
285 '-o', 'buildtools/mac/clang-format',
Corentin Wallez131e6192020-11-03 18:18:06 +0000286 ],
287 },
288 {
Ben Clayton088a6002022-04-06 19:57:42 +0000289 'name': 'clang_format_mac_arm64',
Corentin Wallez131e6192020-11-03 18:18:06 +0000290 'pattern': '.',
Ben Clayton088a6002022-04-06 19:57:42 +0000291 'condition': 'dawn_standalone and host_os == "mac" and host_cpu == "arm64"',
Corentin Wallez131e6192020-11-03 18:18:06 +0000292 'action': [ 'download_from_google_storage',
293 '--no_resume',
294 '--no_auth',
295 '--bucket', 'chromium-clang-format',
Ben Clayton088a6002022-04-06 19:57:42 +0000296 '-s', 'buildtools/mac/clang-format.arm64.sha1',
297 '-o', 'buildtools/mac/clang-format',
Corentin Wallez131e6192020-11-03 18:18:06 +0000298 ],
299 },
300 {
301 'name': 'clang_format_linux',
302 'pattern': '.',
Corentin Wallez2015b2f2021-03-04 17:37:55 +0000303 'condition': 'dawn_standalone and host_os == "linux"',
Corentin Wallez131e6192020-11-03 18:18:06 +0000304 'action': [ 'download_from_google_storage',
305 '--no_resume',
306 '--no_auth',
307 '--bucket', 'chromium-clang-format',
308 '-s', 'buildtools/linux64/clang-format.sha1',
309 ],
310 },
Corentin Wallez15d8cb72018-11-19 10:13:31 +0000311 # Update build/util/LASTCHANGE.
312 {
313 'name': 'lastchange',
314 'pattern': '.',
Jiajie Hu2ffc55a2020-07-01 05:08:36 +0000315 'condition': 'dawn_standalone',
Corentin Wallezd5203662022-01-05 15:54:08 +0000316 'action': ['python3', 'build/util/lastchange.py',
Corentin Wallez15d8cb72018-11-19 10:13:31 +0000317 '-o', 'build/util/LASTCHANGE'],
318 },
Austin Eng4948c812021-10-15 14:28:32 +0000319 # TODO(https://crbug.com/1180257): Use CIPD for CMake on Windows.
320 {
321 'name': 'cmake_win32',
322 'pattern': '.',
323 'condition': 'dawn_node and host_os == "win"',
324 'action': [ 'download_from_google_storage',
325 '--no_resume',
326 '--platform=win32',
327 '--no_auth',
328 '--bucket', 'chromium-tools',
329 Var('dawn_cmake_win32_sha1'),
330 '-o', 'tools/cmake-win32.zip'
331 ],
332 },
333 {
334 'name': 'cmake_win32_extract',
335 'pattern': '.',
336 'condition': 'dawn_node and host_os == "win"',
Corentin Wallezd5203662022-01-05 15:54:08 +0000337 'action': [ 'python3',
Austin Eng4948c812021-10-15 14:28:32 +0000338 'scripts/extract.py',
339 'tools/cmake-win32.zip',
340 'tools/cmake-win32/',
341 ],
342 },
Ben Clayton6f8ff742022-03-28 19:55:42 +0000343
344 # Node binaries, when dawn_node is enabled
345 {
346 'name': 'node_linux64',
347 'pattern': '.',
348 'condition': 'dawn_node and host_os == "linux"',
349 'action': [ 'download_from_google_storage',
350 '--no_resume',
351 '--extract',
352 '--no_auth',
353 '--bucket', 'chromium-nodejs/16.13.0',
354 Var('node_linux_x64_sha'),
355 '-o', 'third_party/node/node-linux-x64.tar.gz',
356 ],
357 },
358 {
359 'name': 'node_mac',
360 'pattern': '.',
361 'condition': 'dawn_node and host_os == "mac"',
362 'action': [ 'download_from_google_storage',
363 '--no_resume',
364 '--extract',
365 '--no_auth',
366 '--bucket', 'chromium-nodejs/16.13.0',
367 Var('node_darwin_x64_sha'),
368 '-o', 'third_party/node/node-darwin-x64.tar.gz',
369 ],
370 },
371 {
372 'name': 'node_mac_arm64',
373 'pattern': '.',
374 'condition': 'dawn_node and host_os == "mac"',
375 'action': [ 'download_from_google_storage',
376 '--no_resume',
377 '--extract',
378 '--no_auth',
379 '--bucket', 'chromium-nodejs/16.13.0',
380 Var('node_darwin_arm64_sha'),
381 '-o', 'third_party/node/node-darwin-arm64.tar.gz',
382 ],
383 },
384 {
385 'name': 'node_win',
386 'pattern': '.',
387 'condition': 'dawn_node and host_os == "win"',
388 'action': [ 'download_from_google_storage',
389 '--no_resume',
390 '--no_auth',
391 '--bucket', 'chromium-nodejs/16.13.0',
392 Var('node_win_x64_sha'),
393 '-o', 'third_party/node/node.exe',
394 ],
395 },
396
Corentin Wallezca81bd32018-09-03 11:55:58 +0200397]
398
399recursedeps = [
Stephen Whitef1fa60b2021-01-06 17:41:50 +0000400 'third_party/vulkan-deps',
Corentin Wallez21a23852018-07-31 18:50:03 +0200401]