blob: e8ea13cc0392a350feb64c0db2235677ab008163 [file] [log] [blame]
Jamie Madill4237e532019-06-28 11:14:31 -04001# This file is used to manage the dependencies of the ANGLE git repo. It is
2# used by gclient to determine what version of each dependency to check out, and
3# where.
4
Jamie Madill8ba50492019-10-10 17:46:54 -04005# Avoids the need for a custom root variable.
6use_relative_paths = True
Jamie Madill8ba50492019-10-10 17:46:54 -04007
Jamie Madill23211582020-07-21 10:08:03 -04008gclient_gn_args_file = 'build/config/gclient_args.gni'
9
Jamie Madill2fdd3da2015-07-20 10:14:54 -040010vars = {
Jamie Madill37ee8a62016-12-13 15:18:58 -050011 'android_git': 'https://android.googlesource.com',
Jamie Madill2fdd3da2015-07-20 10:14:54 -040012 'chromium_git': 'https://chromium.googlesource.com',
Jamie Madill67a017f2019-10-10 15:27:27 -040013 'chrome_internal_git': 'https://chrome-internal.googlesource.com',
Jamie Madill8be7a4c2019-09-19 12:48:31 -040014 'swiftshader_git': 'https://swiftshader.googlesource.com',
Jamie Madill027717f2018-04-13 15:51:24 -040015
Edward Lemur8ae09b02018-06-01 14:18:28 -040016 # This variable is overrided in Chromium's DEPS file.
17 'build_with_chromium': False,
18
Jamie Madill67a017f2019-10-10 15:27:27 -040019 # Only check out public sources by default. This can be overridden with custom_vars.
Cody Northrop84f45f12019-12-18 14:34:29 -070020 'checkout_angle_internal': False,
Jamie Madill4237e532019-06-28 11:14:31 -040021
Jamie Madill1948af32019-10-11 17:49:24 -040022 # Version of Chromium our Chromium-based DEPS are mirrored from.
angle-autoroll105b8c72021-02-17 07:01:52 +000023 'chromium_revision': '794086037940d09e8afa262b56296fdf9832b3be',
Yuly Novikov6a652f12020-08-12 21:12:47 -040024 # We never want to checkout chromium,
25 # but need a dummy DEPS entry for the autoroller
26 'dummy_checkout_chromium': False,
Jamie Madill1948af32019-10-11 17:49:24 -040027
Courtney Goeltzenleuchterfebdcf52019-10-28 10:54:03 -060028 # Current revision of VK-GL-CTS (a.k.a dEQP).
angle-autorollb8135da2021-02-16 15:56:02 +000029 'vk_gl_cts_revision': 'eab348e95425c8684e158f987a372431723dd5ae',
Edward Lemur8ae09b02018-06-01 14:18:28 -040030
Jamie Madill07035682019-10-25 09:00:41 -040031 # Current revision of googletest.
32 # Note: this dep cannot be auto-rolled b/c of nesting.
Yuly Novikov7d38b0b2020-08-19 17:33:31 -040033 'googletest_revision': '4fe018038f87675c083d0cfb6a6b57c274fb1753',
34
35 # Current revision of Chrome's third_party googletest directory. This
36 # repository is mirrored as a separate repository, with separate git hashes
37 # that don't match the external googletest repository or Chrome. Mirrored
38 # patches will have a different git hash associated with them.
39 # To roll, first get the new hash for chromium_googletest_revision from the
40 # mirror of third_party/googletest located here:
41 # https://chromium.googlesource.com/chromium/src/third_party/googletest/
42 # Then get the new hash for googletest_revision from the root Chrome DEPS
43 # file: https://source.chromium.org/chromium/chromium/src/+/master:DEPS
44 'chromium_googletest_revision': 'c20c5a3085ab4d90fdb403e3ac98e7991317dd27',
Jamie Madill07035682019-10-25 09:00:41 -040045
Jamie Madille7c8e802019-10-26 08:16:12 -040046 # Current revision of jsoncpp.
47 # Note: this dep cannot be auto-rolled b/c of nesting.
48 'jsoncpp_revision': '645250b6690785be60ab6780ce4b58698d884d11',
49
Jordan Bayles1265dbe2020-06-24 15:12:17 -070050 # Current revision of Chrome's third_party jsoncpp directory. This repository
51 # is mirrored as a separate repository, with separate git hashes that
52 # don't match the external JsonCpp repository or Chrome. Mirrored patches
53 # will have a different git hash associated with them.
54 # To roll, first get the new hash for chromium_jsoncpp_revision from the
55 # mirror of third_party/jsoncpp located here:
56 # https://chromium.googlesource.com/chromium/src/third_party/jsoncpp/
57 # Then get the new hash for jsoncpp_revision from the root Chrome DEPS file:
58 # https://source.chromium.org/chromium/chromium/src/+/master:DEPS
Yuly Novikov7d38b0b2020-08-19 17:33:31 -040059 'chromium_jsoncpp_revision': '30a6ac108e24dabac7c2e0df4d33d55032af4ee7',
Jordan Bayles1265dbe2020-06-24 15:12:17 -070060
Jamie Madille7c8e802019-10-26 08:16:12 -040061 # Current revision of patched-yasm.
62 # Note: this dep cannot be auto-rolled b/c of nesting.
63 'patched_yasm_revision': '720b70524a4424b15fc57e82263568c8ba0496ad',
64
Geoff Lang6e687af2019-10-17 14:36:41 -040065 # Three lines of non-changing comments so that
66 # the commit queue can handle CLs rolling catapult
67 # and whatever else without interference from each other.
angle-autoroll105b8c72021-02-17 07:01:52 +000068 'catapult_revision': '832539cc4d3305c7a5196eb4b72d647d3a6f22a0',
Jamie Madillb99bbba2020-09-13 10:34:54 -040069
70 # Three lines of non-changing comments so that
71 # the commit queue can handle CLs rolling luci-go
72 # and whatever else without interference from each other.
angle-autoroll5678b562021-01-15 07:35:52 +000073 'luci_go': 'git_revision:77944aa535e42e29faadf6cfa81aee252807d468',
Jamie Madill2fdd3da2015-07-20 10:14:54 -040074}
75
alokp@chromium.org29d56fb2010-04-06 15:42:22 +000076deps = {
alokp@chromium.org416fcd32012-04-11 16:23:44 +000077
Jamie Madill8ba50492019-10-10 17:46:54 -040078 'build': {
angle-autoroll105b8c72021-02-17 07:01:52 +000079 'url': '{chromium_git}/chromium/src/build.git@43c1e3a98afd4eba9b63da8dea9b1671a8c08a8c',
Edward Lemur8ae09b02018-06-01 14:18:28 -040080 'condition': 'not build_with_chromium',
81 },
Frank Henigmand0ef13a2017-08-28 22:53:24 -040082
Jamie Madill8ba50492019-10-10 17:46:54 -040083 'buildtools': {
angle-autoroll105b8c72021-02-17 07:01:52 +000084 'url': '{chromium_git}/chromium/src/buildtools.git@fe293b0f5a00752cb8d7d8e85717a8b2d8fb66ed',
Edward Lemur8ae09b02018-06-01 14:18:28 -040085 'condition': 'not build_with_chromium',
86 },
Frank Henigmand0ef13a2017-08-28 22:53:24 -040087
Jamie Madill8ba50492019-10-10 17:46:54 -040088 'testing': {
angle-autoroll105b8c72021-02-17 07:01:52 +000089 'url': '{chromium_git}/chromium/src/testing@dc82acba81f615b0c8537ae06ca29e016b0d6933',
Edward Lemur8ae09b02018-06-01 14:18:28 -040090 'condition': 'not build_with_chromium',
91 },
alokp@chromium.org5cd9c602012-05-16 23:37:50 +000092
Tim Van Pattened337952020-07-23 12:58:10 -060093 'third_party/abseil-cpp': {
angle-autorolldf226272021-02-11 08:14:03 +000094 'url': '{chromium_git}/chromium/src/third_party/abseil-cpp@b33c25cc0bdfc9647b8a56171bad6b688ac79e81',
Tim Van Pattened337952020-07-23 12:58:10 -060095 'condition': 'not build_with_chromium',
96 },
97
Jamie Madill23211582020-07-21 10:08:03 -040098 'third_party/android_ndk': {
99 'url': '{chromium_git}/android_ndk.git@27c0a8d090c666a50e40fceb4ee5b40b1a2d3f87',
100 'condition': 'checkout_android and not build_with_chromium',
101 },
102
103 'third_party/catapult': {
104 'url': '{chromium_git}/catapult.git@{catapult_revision}',
Jamie Madillacd15ca2020-10-11 17:16:34 -0400105 'condition': 'not build_with_chromium',
Jamie Madill23211582020-07-21 10:08:03 -0400106 },
107
Courtney Goeltzenleuchterfebdcf52019-10-28 10:54:03 -0600108 # Cherry is a dEQP/VK-GL-CTS management GUI written in Go. We use it for viewing test results.
Jamie Madill8ba50492019-10-10 17:46:54 -0400109 'third_party/cherry': {
Edward Lemur8ae09b02018-06-01 14:18:28 -0400110 'url': '{android_git}/platform/external/cherry@4f8fb08d33ca5ff05a1c638f04c85bbb8d8b52cc',
111 'condition': 'not build_with_chromium',
112 },
Jamie Madill9e76f562015-10-02 08:57:14 -0400113
Yuly Novikov6a652f12020-08-12 21:12:47 -0400114 # We never want to checkout chromium,
115 # but need a dummy DEPS entry for the autoroller
116 'third_party/dummy_chromium': {
117 'url': '{chromium_git}/chromium/src.git@{chromium_revision}',
118 'condition': 'dummy_checkout_chromium',
119 },
120
Jamie Madill8ba50492019-10-10 17:46:54 -0400121 'third_party/fuchsia-sdk': {
Jamie Madill130fdbc2019-10-10 19:13:07 -0400122 'url': '{chromium_git}/chromium/src/third_party/fuchsia-sdk.git@1785f0ac8e1fe81cb25e260acbe7de8f62fa3e44',
Jamie Madill9f958342019-04-08 09:40:40 -0400123 'condition': 'checkout_fuchsia and not build_with_chromium',
124 },
125
Jamie Madill67a017f2019-10-10 15:27:27 -0400126 # Closed-source OpenGL ES 1.1 Conformance tests.
Jamie Madill8ba50492019-10-10 17:46:54 -0400127 'third_party/gles1_conform': {
Jamie Madill67a017f2019-10-10 15:27:27 -0400128 'url': '{chrome_internal_git}/angle/es-cts.git@dc9f502f709c9cd88d7f8d3974f1c77aa246958e',
Cody Northrop84f45f12019-12-18 14:34:29 -0700129 'condition': 'checkout_angle_internal',
Jamie Madill67a017f2019-10-10 15:27:27 -0400130 },
131
Jamie Madill55959b02019-03-05 10:07:41 -0500132 # glmark2 is a GPL3-licensed OpenGL ES 2.0 benchmark. We use it for testing.
Jamie Madill8ba50492019-10-10 17:46:54 -0400133 'third_party/glmark2/src': {
Jamie Madill2971fd32019-08-12 16:53:21 -0400134 'url': '{chromium_git}/external/github.com/glmark2/glmark2@9e01aef1a786b28aca73135a5b00f85c357e8f5e',
Jamie Madill55959b02019-03-05 10:07:41 -0500135 },
136
Jamie Madill8ba50492019-10-10 17:46:54 -0400137 'third_party/googletest': {
Yuly Novikov7d38b0b2020-08-19 17:33:31 -0400138 'url': '{chromium_git}/chromium/src/third_party/googletest@{chromium_googletest_revision}',
Jamie Madillcf9b2852019-02-13 09:15:26 -0500139 'condition': 'not build_with_chromium',
140 },
141
Jamie Madill55959b02019-03-05 10:07:41 -0500142 # libjpeg_turbo is used by glmark2.
Jamie Madill8ba50492019-10-10 17:46:54 -0400143 'third_party/libjpeg_turbo': {
angle-autoroll63b4df52021-01-27 07:35:55 +0000144 'url': '{chromium_git}/chromium/deps/libjpeg_turbo.git@fa0de07678c9828cc57b3eb086c03771912ba527',
Jamie Madill55959b02019-03-05 10:07:41 -0500145 'condition': 'not build_with_chromium',
146 },
147
Jamie Madill8ba50492019-10-10 17:46:54 -0400148 'third_party/libpng/src': {
Edward Lemur8ae09b02018-06-01 14:18:28 -0400149 'url': '{android_git}/platform/external/libpng@094e181e79a3d6c23fd005679025058b7df1ad6c',
150 'condition': 'not build_with_chromium',
151 },
Jamie Madill37ee8a62016-12-13 15:18:58 -0500152
Jamie Madill8ba50492019-10-10 17:46:54 -0400153 'third_party/jsoncpp': {
Jordan Bayles1265dbe2020-06-24 15:12:17 -0700154 'url': '{chromium_git}/chromium/src/third_party/jsoncpp@{chromium_jsoncpp_revision}',
Jamie Madill0cb3b0f2019-01-28 09:55:20 -0500155 'condition': 'not build_with_chromium',
156 },
Tobin Ehlis5fdc38c2018-08-28 09:20:57 -0600157
Jamie Madill43951702020-04-27 16:57:46 -0400158 'third_party/nasm': {
Jamie Madill23211582020-07-21 10:08:03 -0400159 'url': '{chromium_git}/chromium/deps/nasm.git@19f3fad68da99277b2882939d3b2fa4c4b8d51d9',
Jamie Madill43951702020-04-27 16:57:46 -0400160 'condition': 'not build_with_chromium',
161 },
162
Jamie Madillacd15ca2020-10-11 17:16:34 -0400163 'third_party/protobuf': {
angle-autoroll67a84f32021-01-29 07:00:38 +0000164 'url': '{chromium_git}/chromium/src/third_party/protobuf@84a6931d875cbce0c6011eca684f23dcbd4c5a2a',
Jamie Madillacd15ca2020-10-11 17:16:34 -0400165 'condition': 'not build_with_chromium',
166 },
167
Jamie Madill8ba50492019-10-10 17:46:54 -0400168 'third_party/Python-Markdown': {
angle-autorolla13f6842020-12-08 07:54:47 +0000169 'url': '{chromium_git}/chromium/src/third_party/Python-Markdown@2bb7b23b6398f9e79bc2fa8c6bc64a3cf1613ebf',
Jamie Madill9f958342019-04-08 09:40:40 -0400170 'condition': 'not build_with_chromium',
171 },
172
Jamie Madill8ba50492019-10-10 17:46:54 -0400173 'third_party/qemu-linux-x64': {
Michael Spang229fc832019-01-21 18:09:15 -0500174 'packages': [
175 {
176 'package': 'fuchsia/qemu/linux-amd64',
177 'version': '9cc486c5b18a0be515c39a280ca9a309c54cf994'
178 },
179 ],
180 'condition': 'not build_with_chromium and (host_os == "linux" and checkout_fuchsia)',
181 'dep_type': 'cipd',
182 },
183
Jamie Madill8ba50492019-10-10 17:46:54 -0400184 'third_party/qemu-mac-x64': {
Michael Spang229fc832019-01-21 18:09:15 -0500185 'packages': [
186 {
187 'package': 'fuchsia/qemu/mac-amd64',
188 'version': '2d3358ae9a569b2d4a474f498b32b202a152134f'
189 },
190 ],
191 'condition': 'not build_with_chromium and (host_os == "mac" and checkout_fuchsia)',
192 'dep_type': 'cipd',
193 },
194
Jamie Madill8ba50492019-10-10 17:46:54 -0400195 'third_party/rapidjson/src': {
Jamie Madill46d32e02019-02-25 17:13:16 -0500196 'url': '{chromium_git}/external/github.com/Tencent/rapidjson@7484e06c589873e1ed80382d262087e4fa80fb63',
197 },
198
Jamie Madill8ba50492019-10-10 17:46:54 -0400199 'third_party/SwiftShader': {
angle-autorollcebe8d32021-02-15 10:01:46 +0000200 'url': '{swiftshader_git}/SwiftShader@539ef8e9426e10d7611d433ee60b94de0737344a',
Jamie Madill8be7a4c2019-09-19 12:48:31 -0400201 'condition': 'not build_with_chromium',
202 },
203
Tim Van Pattened337952020-07-23 12:58:10 -0600204 'third_party/VK-GL-CTS/src': {
205 'url': '{chromium_git}/external/github.com/KhronosGroup/VK-GL-CTS@{vk_gl_cts_revision}',
206 },
207
Jamie Madill653f6192020-12-14 12:55:55 -0500208 'third_party/vulkan-deps': {
angle-autoroll500d4b92021-02-16 10:01:12 +0000209 'url': '{chromium_git}/vulkan-deps@a1175c67dd67f373b2c61821a5a9dd06467403f2',
Jamie Madill653f6192020-12-14 12:55:55 -0500210 'condition': 'not build_with_chromium',
Tobin Ehlisb971f492018-05-24 10:56:17 -0600211 },
212
Tim Van Pattened337952020-07-23 12:58:10 -0600213 'third_party/vulkan_memory_allocator': {
Peng Huang0d2e6562021-02-12 14:21:00 -0500214 'url': '{chromium_git}/external/github.com/GPUOpen-LibrariesAndSDKs/VulkanMemoryAllocator@732a76d9d3c70d6aa487216495eeb28518349c3a',
Tim Van Pattened337952020-07-23 12:58:10 -0600215 'condition': 'not build_with_chromium',
216 },
217
Jamie Madill8ba50492019-10-10 17:46:54 -0400218 'third_party/zlib': {
angle-autorollb5bbc9f2021-02-02 07:00:02 +0000219 'url': '{chromium_git}/chromium/src/third_party/zlib@bf44340d1b6be1af8950bbdf664fec0cf5a831cc',
Edward Lemur8ae09b02018-06-01 14:18:28 -0400220 'condition': 'not build_with_chromium',
221 },
Frank Henigmand0ef13a2017-08-28 22:53:24 -0400222
Jamie Madill8ba50492019-10-10 17:46:54 -0400223 'tools/clang': {
angle-autoroll105b8c72021-02-17 07:01:52 +0000224 'url': '{chromium_git}/chromium/src/tools/clang.git@6ec6688f3b165d76362e58e74e113d9ecd2c2ae6',
Edward Lemur8ae09b02018-06-01 14:18:28 -0400225 'condition': 'not build_with_chromium',
226 },
Michael Spang229fc832019-01-21 18:09:15 -0500227
Le Hoang Quyencaeb2172019-11-20 22:30:17 +0800228 'tools/clang/dsymutil': {
229 'packages': [
230 {
231 'package': 'chromium/llvm-build-tools/dsymutil',
232 'version': 'M56jPzDv1620Rnm__jTMYS62Zi8rxHVq7yw0qeBFEgkC',
233 }
234 ],
235 'condition': 'checkout_mac and not build_with_chromium',
236 'dep_type': 'cipd',
237 },
238
Jamie Madillb99bbba2020-09-13 10:34:54 -0400239 'tools/luci-go': {
240 'packages': [
241 {
242 'package': 'infra/tools/luci/isolate/${{platform}}',
243 'version': Var('luci_go'),
244 },
245 {
246 'package': 'infra/tools/luci/isolated/${{platform}}',
247 'version': Var('luci_go'),
248 },
249 {
250 'package': 'infra/tools/luci/swarming/${{platform}}',
251 'version': Var('luci_go'),
252 },
253 ],
254 'condition': 'not build_with_chromium',
255 'dep_type': 'cipd',
256 },
257
258 'tools/mb': {
angle-autoroll105b8c72021-02-17 07:01:52 +0000259 'url': '{chromium_git}/chromium/src/tools/mb@bd7d7f71cf3d41312d492da15394a31a36512700',
Jamie Madillb99bbba2020-09-13 10:34:54 -0400260 'condition': 'not build_with_chromium',
261 },
262
Jamie Madill8ba50492019-10-10 17:46:54 -0400263 'tools/md_browser': {
Yuly Novikov5dff6072020-08-19 20:57:36 -0400264 'url': '{chromium_git}/chromium/src/tools/md_browser@60141af3603925d99bf3fb22fdfca138416339b1',
Jamie Madill9f958342019-04-08 09:40:40 -0400265 'condition': 'not build_with_chromium',
Michael Spang229fc832019-01-21 18:09:15 -0500266 },
Jamie Madilldf0ce012019-09-05 11:04:39 -0400267
Jamie Madill8ba50492019-10-10 17:46:54 -0400268 'tools/memory': {
angle-autoroll64654a82020-12-02 16:33:31 +0000269 'url': '{chromium_git}/chromium/src/tools/memory@71214b910decfe2e7cfc8b0ffc072a1b97da2d36',
Jamie Madilldf0ce012019-09-05 11:04:39 -0400270 'condition': 'not build_with_chromium',
271 },
Jamie Madilldff93312020-09-25 13:31:25 -0400272
Jamie Madillacd15ca2020-10-11 17:16:34 -0400273 'tools/protoc_wrapper': {
angle-autoroll67a84f32021-01-29 07:00:38 +0000274 'url': '{chromium_git}/chromium/src/tools/protoc_wrapper@0bdacc02464650c583db63806913af47ea0fe97d',
Jamie Madillacd15ca2020-10-11 17:16:34 -0400275 'condition': 'not build_with_chromium',
276 },
277
Jamie Madilldff93312020-09-25 13:31:25 -0400278 'tools/skia_goldctl/linux': {
279 'packages': [
280 {
281 'package': 'skia/tools/goldctl/linux-amd64',
angle-autoroll105b8c72021-02-17 07:01:52 +0000282 'version': 'sm5PB3-BZYObubxkNie_5-C1p_sD1rtSOFVIc8PLymYC',
Jamie Madilldff93312020-09-25 13:31:25 -0400283 },
284 ],
285 'dep_type': 'cipd',
286 'condition': 'checkout_linux and not build_with_chromium',
287 },
288
289 'tools/skia_goldctl/win': {
290 'packages': [
291 {
292 'package': 'skia/tools/goldctl/windows-amd64',
angle-autoroll105b8c72021-02-17 07:01:52 +0000293 'version': '0JpeSchnXAemMxcrvtlMxxr3uiYp4vpP_iKo4kKEfUoC',
Jamie Madilldff93312020-09-25 13:31:25 -0400294 },
295 ],
296 'dep_type': 'cipd',
297 'condition': 'checkout_win and not build_with_chromium',
298 },
299
300 'tools/skia_goldctl/mac': {
301 'packages': [
302 {
303 'package': 'skia/tools/goldctl/mac-amd64',
angle-autoroll105b8c72021-02-17 07:01:52 +0000304 'version': 'O-zkkp_UNP-ZoPmmK4xpuqYw9tpNzRGuUCNFH8I9PzwC',
Jamie Madilldff93312020-09-25 13:31:25 -0400305 },
306 ],
307 'dep_type': 'cipd',
308 'condition': 'checkout_mac and not build_with_chromium',
309 },
alokp@chromium.org29d56fb2010-04-06 15:42:22 +0000310}
311
alokp@chromium.org29d56fb2010-04-06 15:42:22 +0000312hooks = [
Jamie Madill2fdd3da2015-07-20 10:14:54 -0400313 # Pull clang-format binaries using checked-in hashes.
314 {
315 'name': 'clang_format_win',
316 'pattern': '.',
Edward Lemur8ae09b02018-06-01 14:18:28 -0400317 'condition': 'host_os == "win" and not build_with_chromium',
Jamie Madill2fdd3da2015-07-20 10:14:54 -0400318 'action': [ 'download_from_google_storage',
319 '--no_resume',
320 '--platform=win32',
321 '--no_auth',
322 '--bucket', 'chromium-clang-format',
Jamie Madill8ba50492019-10-10 17:46:54 -0400323 '-s', 'buildtools/win/clang-format.exe.sha1',
Jamie Madill2fdd3da2015-07-20 10:14:54 -0400324 ],
325 },
326 {
327 'name': 'clang_format_mac',
328 'pattern': '.',
Edward Lemur8ae09b02018-06-01 14:18:28 -0400329 'condition': 'host_os == "mac" and not build_with_chromium',
Jamie Madill2fdd3da2015-07-20 10:14:54 -0400330 'action': [ 'download_from_google_storage',
331 '--no_resume',
332 '--platform=darwin',
333 '--no_auth',
334 '--bucket', 'chromium-clang-format',
Jamie Madill8ba50492019-10-10 17:46:54 -0400335 '-s', 'buildtools/mac/clang-format.sha1',
Jamie Madill2fdd3da2015-07-20 10:14:54 -0400336 ],
337 },
338 {
339 'name': 'clang_format_linux',
340 'pattern': '.',
Edward Lemur8ae09b02018-06-01 14:18:28 -0400341 'condition': 'host_os == "linux" and not build_with_chromium',
Jamie Madill2fdd3da2015-07-20 10:14:54 -0400342 'action': [ 'download_from_google_storage',
343 '--no_resume',
344 '--platform=linux*',
345 '--no_auth',
346 '--bucket', 'chromium-clang-format',
Jamie Madill8ba50492019-10-10 17:46:54 -0400347 '-s', 'buildtools/linux64/clang-format.sha1',
Jamie Madill2fdd3da2015-07-20 10:14:54 -0400348 ],
349 },
Tobin Ehlis9d4277b2018-05-21 16:22:22 -0600350 {
351 'name': 'sysroot_x86',
352 'pattern': '.',
Edward Lemur8ae09b02018-06-01 14:18:28 -0400353 'condition': 'checkout_linux and ((checkout_x86 or checkout_x64) and not build_with_chromium)',
Jamie Madill8ba50492019-10-10 17:46:54 -0400354 'action': ['python', 'build/linux/sysroot_scripts/install-sysroot.py',
Tobin Ehlis9d4277b2018-05-21 16:22:22 -0600355 '--arch=x86'],
356 },
357 {
358 'name': 'sysroot_x64',
359 'pattern': '.',
Edward Lemur8ae09b02018-06-01 14:18:28 -0400360 'condition': 'checkout_linux and (checkout_x64 and not build_with_chromium)',
Jamie Madill8ba50492019-10-10 17:46:54 -0400361 'action': ['python', 'build/linux/sysroot_scripts/install-sysroot.py',
Tobin Ehlis9d4277b2018-05-21 16:22:22 -0600362 '--arch=x64'],
363 },
Jamie Madill027717f2018-04-13 15:51:24 -0400364 {
365 # Update the Windows toolchain if necessary. Must run before 'clang' below.
366 'name': 'win_toolchain',
367 'pattern': '.',
Edward Lemur8ae09b02018-06-01 14:18:28 -0400368 'condition': 'checkout_win and not build_with_chromium',
Jamie Madill8ba50492019-10-10 17:46:54 -0400369 'action': ['python', 'build/vs_toolchain.py', 'update', '--force'],
Jamie Madill027717f2018-04-13 15:51:24 -0400370 },
Geoff Lang66ae5312019-04-01 16:35:53 -0400371 {
372 # Update the Mac toolchain if necessary.
373 'name': 'mac_toolchain',
374 'pattern': '.',
375 'condition': 'checkout_mac and not build_with_chromium',
Jamie Madill8ba50492019-10-10 17:46:54 -0400376 'action': ['python', 'build/mac_toolchain.py'],
Geoff Lang66ae5312019-04-01 16:35:53 -0400377 },
Jamie Madill027717f2018-04-13 15:51:24 -0400378
alokp@chromium.org29d56fb2010-04-06 15:42:22 +0000379 {
Frank Henigmand0ef13a2017-08-28 22:53:24 -0400380 # Note: On Win, this should run after win_toolchain, as it may use it.
381 'name': 'clang',
382 'pattern': '.',
Jamie Madill8ba50492019-10-10 17:46:54 -0400383 'action': ['python', 'tools/clang/scripts/update.py'],
Edward Lemur8ae09b02018-06-01 14:18:28 -0400384 'condition': 'not build_with_chromium',
Frank Henigmand0ef13a2017-08-28 22:53:24 -0400385 },
Jamie Madill940c48b2017-10-23 23:25:17 -0400386
Shahbaz Youssefi957e9b82018-10-05 11:00:50 -0400387 {
388 # Update LASTCHANGE.
389 'name': 'lastchange',
390 'pattern': '.',
391 'condition': 'not build_with_chromium',
Jamie Madill8ba50492019-10-10 17:46:54 -0400392 'action': ['python', 'build/util/lastchange.py',
393 '-o', 'build/util/LASTCHANGE'],
Shahbaz Youssefi957e9b82018-10-05 11:00:50 -0400394 },
395
Jamie Madill940c48b2017-10-23 23:25:17 -0400396 # Pull rc binaries using checked-in hashes.
397 {
398 'name': 'rc_win',
399 'pattern': '.',
Edward Lemur8ae09b02018-06-01 14:18:28 -0400400 'condition': 'checkout_win and (host_os == "win" and not build_with_chromium)',
Jamie Madill940c48b2017-10-23 23:25:17 -0400401 'action': [ 'download_from_google_storage',
402 '--no_resume',
403 '--no_auth',
404 '--bucket', 'chromium-browser-clang/rc',
Jamie Madill8ba50492019-10-10 17:46:54 -0400405 '-s', 'build/toolchain/win/rc/win/rc.exe.sha1',
Jamie Madill940c48b2017-10-23 23:25:17 -0400406 ],
407 },
Michael Spang229fc832019-01-21 18:09:15 -0500408
409 {
410 'name': 'fuchsia_sdk',
411 'pattern': '.',
412 'condition': 'checkout_fuchsia and not build_with_chromium',
413 'action': [
414 'python',
Jamie Madill8ba50492019-10-10 17:46:54 -0400415 'build/fuchsia/update_sdk.py',
Michael Spang229fc832019-01-21 18:09:15 -0500416 ],
417 },
Jamie Madilld5ff4fa2019-04-08 09:25:23 -0400418
Shahbaz Youssefi82418c82019-04-05 15:56:03 -0400419 # Download glslang validator binary for Linux.
420 {
421 'name': 'linux_glslang_validator',
422 'pattern': '.',
423 'condition': 'checkout_linux and not build_with_chromium',
424 'action': [ 'download_from_google_storage',
425 '--no_resume',
426 '--platform=linux*',
427 '--no_auth',
428 '--bucket', 'angle-glslang-validator',
Jamie Madill8ba50492019-10-10 17:46:54 -0400429 '-s', 'tools/glslang/glslang_validator.sha1',
Shahbaz Youssefi82418c82019-04-05 15:56:03 -0400430 ],
431 },
432
Jamie Madilld5ff4fa2019-04-08 09:25:23 -0400433 # Download glslang validator binary for Windows.
434 {
435 'name': 'win_glslang_validator',
436 'pattern': '.',
437 'condition': 'checkout_win and not build_with_chromium',
438 'action': [ 'download_from_google_storage',
439 '--no_resume',
440 '--platform=win32*',
441 '--no_auth',
442 '--bucket', 'angle-glslang-validator',
Jamie Madill8ba50492019-10-10 17:46:54 -0400443 '-s', 'tools/glslang/glslang_validator.exe.sha1',
Jamie Madilld5ff4fa2019-04-08 09:25:23 -0400444 ],
445 },
Shahbaz Youssefi5efb36b2019-11-25 16:14:55 -0500446
447 # Download flex/bison binaries for Linux.
448 {
449 'name': 'linux_flex_bison',
450 'pattern': '.',
451 'condition': 'checkout_linux and not build_with_chromium',
452 'action': [ 'download_from_google_storage',
453 '--no_resume',
454 '--platform=linux*',
455 '--no_auth',
456 '--bucket', 'angle-flex-bison',
457 '-d', 'tools/flex-bison/linux/',
458 ],
459 },
460
461 # Download flex/bison binaries for Windows.
462 {
463 'name': 'win_flex_bison',
464 'pattern': '.',
465 'condition': 'checkout_win and not build_with_chromium',
466 'action': [ 'download_from_google_storage',
467 '--no_resume',
468 '--platform=win32*',
469 '--no_auth',
470 '--bucket', 'angle-flex-bison',
471 '-d', 'tools/flex-bison/windows/',
472 ],
473 },
Cody Northrop080d7112020-01-08 13:04:44 -0700474
475 # Download internal captures for perf tests
476 {
477 'name': 'restricted_traces',
478 'pattern': '\\.sha1',
479 'condition': 'checkout_angle_internal',
Jamie Madilla7c16c22020-10-21 22:54:56 -0400480 'action': [ 'vpython3',
Jamie Madillbda22052020-09-17 14:37:25 -0400481 'src/tests/restricted_traces/download_restricted_traces.py',
482 'src/tests/restricted_traces',
Cody Northrop080d7112020-01-08 13:04:44 -0700483 ]
484 }
alokp@chromium.org29d56fb2010-04-06 15:42:22 +0000485]
Jamie Madill20789312016-10-28 14:05:26 -0400486
487recursedeps = [
488 # buildtools provides clang_format.
Jamie Madill8ba50492019-10-10 17:46:54 -0400489 'buildtools',
Jamie Madill07035682019-10-25 09:00:41 -0400490 'third_party/googletest',
Jamie Madille7c8e802019-10-26 08:16:12 -0400491 'third_party/jsoncpp',
Jamie Madill653f6192020-12-14 12:55:55 -0500492 'third_party/vulkan-deps',
Jamie Madill20789312016-10-28 14:05:26 -0400493]