blob: 1816100ffc10ce5eb5ffa10fc47a5865f4447a7c [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-autorollf23d0a72021-04-01 07:16:01 +000023 'chromium_revision': 'cc20ce29e7a78abf20db99a1f855fb18651783f2',
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-autoroll8b1d1fb2021-03-06 19:40:45 +000029 'vk_gl_cts_revision': 'c4e6dbe68e043d6697f60768baf5b2876c6596c6',
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-autoroll7a881172021-04-01 00:05:22 +000068 'catapult_revision': 'da171bf95e7c56975258f1914f661d5b1519e0c1',
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-autoroll7a881172021-04-01 00:05:22 +000073 'luci_go': 'git_revision:34ae8f13bb2156451655ec53b360942a502469df',
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-autorollf23d0a72021-04-01 07:16:01 +000079 'url': '{chromium_git}/chromium/src/build.git@b962cf81840a112aab61443824f8afd6791fda31',
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-autorollf9cff912021-03-30 08:26:01 +000084 'url': '{chromium_git}/chromium/src/buildtools.git@5dbd89c9d9c0b0ff47cefdc2bc421b8c9a1c5a21',
Edward Lemur8ae09b02018-06-01 14:18:28 -040085 'condition': 'not build_with_chromium',
86 },
Frank Henigmand0ef13a2017-08-28 22:53:24 -040087
Yuly Novikov95b086b2021-03-02 13:21:52 -050088 'buildtools/clang_format/script': {
89 'url': '{chromium_git}/external/github.com/llvm/llvm-project/clang/tools/clang-format.git@99803d74e35962f63a775f29477882afd4d57d94',
90 'condition': 'not build_with_chromium',
91 },
92
93 'buildtools/linux64': {
94 'packages': [
95 {
96 'package': 'gn/gn/linux-amd64',
angle-autorollf1a60742021-03-31 07:00:02 +000097 'version': 'git_revision:5667cc61018864b17542e0baff8b790f245583b0',
Yuly Novikov95b086b2021-03-02 13:21:52 -050098 }
99 ],
100 'dep_type': 'cipd',
101 'condition': 'not build_with_chromium and host_os == "linux"',
102 },
103
104 'buildtools/mac': {
105 'packages': [
106 {
107 'package': 'gn/gn/mac-${{arch}}',
angle-autorollf1a60742021-03-31 07:00:02 +0000108 'version': 'git_revision:5667cc61018864b17542e0baff8b790f245583b0',
Yuly Novikov95b086b2021-03-02 13:21:52 -0500109 }
110 ],
111 'dep_type': 'cipd',
112 'condition': 'not build_with_chromium and host_os == "mac"',
113 },
114
115 'buildtools/third_party/libc++/trunk': {
116 'url': '{chromium_git}/external/github.com/llvm/llvm-project/libcxx.git@8fa87946779682841e21e2da977eccfb6cb3bded',
117 'condition': 'not build_with_chromium',
118 },
119
120 'buildtools/third_party/libc++abi/trunk': {
angle-autorollf1a60742021-03-31 07:00:02 +0000121 'url': '{chromium_git}/external/github.com/llvm/llvm-project/libcxxabi.git@77b3c6ba9b261df3d5f3af5f3df9f4885bae9f21',
Yuly Novikov95b086b2021-03-02 13:21:52 -0500122 'condition': 'not build_with_chromium',
123 },
124
125 'buildtools/win': {
126 'packages': [
127 {
128 'package': 'gn/gn/windows-amd64',
angle-autorollf1a60742021-03-31 07:00:02 +0000129 'version': 'git_revision:5667cc61018864b17542e0baff8b790f245583b0',
Yuly Novikov95b086b2021-03-02 13:21:52 -0500130 }
131 ],
132 'dep_type': 'cipd',
133 'condition': 'not build_with_chromium and host_os == "win"',
134 },
135
Jamie Madill8ba50492019-10-10 17:46:54 -0400136 'testing': {
angle-autorollf23d0a72021-04-01 07:16:01 +0000137 'url': '{chromium_git}/chromium/src/testing@7cf4a65f3fe36ebd2adf8916b6b30c9238c4ba9d',
Edward Lemur8ae09b02018-06-01 14:18:28 -0400138 'condition': 'not build_with_chromium',
139 },
alokp@chromium.org5cd9c602012-05-16 23:37:50 +0000140
Tim Van Pattened337952020-07-23 12:58:10 -0600141 'third_party/abseil-cpp': {
angle-autorollf23d0a72021-04-01 07:16:01 +0000142 'url': '{chromium_git}/chromium/src/third_party/abseil-cpp@3cd3442b05f7e5c8ee323a4f4c80436360de8880',
Tim Van Pattened337952020-07-23 12:58:10 -0600143 'condition': 'not build_with_chromium',
144 },
145
Jamie Madill23211582020-07-21 10:08:03 -0400146 'third_party/android_ndk': {
147 'url': '{chromium_git}/android_ndk.git@27c0a8d090c666a50e40fceb4ee5b40b1a2d3f87',
148 'condition': 'checkout_android and not build_with_chromium',
149 },
150
151 'third_party/catapult': {
152 'url': '{chromium_git}/catapult.git@{catapult_revision}',
Jamie Madillacd15ca2020-10-11 17:16:34 -0400153 'condition': 'not build_with_chromium',
Jamie Madill23211582020-07-21 10:08:03 -0400154 },
155
Courtney Goeltzenleuchterfebdcf52019-10-28 10:54:03 -0600156 # 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 -0400157 'third_party/cherry': {
Edward Lemur8ae09b02018-06-01 14:18:28 -0400158 'url': '{android_git}/platform/external/cherry@4f8fb08d33ca5ff05a1c638f04c85bbb8d8b52cc',
159 'condition': 'not build_with_chromium',
160 },
Jamie Madill9e76f562015-10-02 08:57:14 -0400161
Yuly Novikov6a652f12020-08-12 21:12:47 -0400162 # We never want to checkout chromium,
163 # but need a dummy DEPS entry for the autoroller
164 'third_party/dummy_chromium': {
165 'url': '{chromium_git}/chromium/src.git@{chromium_revision}',
166 'condition': 'dummy_checkout_chromium',
167 },
168
Jamie Madill8ba50492019-10-10 17:46:54 -0400169 'third_party/fuchsia-sdk': {
Jamie Madill130fdbc2019-10-10 19:13:07 -0400170 'url': '{chromium_git}/chromium/src/third_party/fuchsia-sdk.git@1785f0ac8e1fe81cb25e260acbe7de8f62fa3e44',
Jamie Madill9f958342019-04-08 09:40:40 -0400171 'condition': 'checkout_fuchsia and not build_with_chromium',
172 },
173
Jamie Madill67a017f2019-10-10 15:27:27 -0400174 # Closed-source OpenGL ES 1.1 Conformance tests.
Jamie Madill8ba50492019-10-10 17:46:54 -0400175 'third_party/gles1_conform': {
Jamie Madill67a017f2019-10-10 15:27:27 -0400176 'url': '{chrome_internal_git}/angle/es-cts.git@dc9f502f709c9cd88d7f8d3974f1c77aa246958e',
Cody Northrop84f45f12019-12-18 14:34:29 -0700177 'condition': 'checkout_angle_internal',
Jamie Madill67a017f2019-10-10 15:27:27 -0400178 },
179
Jamie Madill55959b02019-03-05 10:07:41 -0500180 # glmark2 is a GPL3-licensed OpenGL ES 2.0 benchmark. We use it for testing.
Jamie Madill8ba50492019-10-10 17:46:54 -0400181 'third_party/glmark2/src': {
Jamie Madill2971fd32019-08-12 16:53:21 -0400182 'url': '{chromium_git}/external/github.com/glmark2/glmark2@9e01aef1a786b28aca73135a5b00f85c357e8f5e',
Jamie Madill55959b02019-03-05 10:07:41 -0500183 },
184
Jamie Madill8ba50492019-10-10 17:46:54 -0400185 'third_party/googletest': {
Yuly Novikov7d38b0b2020-08-19 17:33:31 -0400186 'url': '{chromium_git}/chromium/src/third_party/googletest@{chromium_googletest_revision}',
Jamie Madillcf9b2852019-02-13 09:15:26 -0500187 'condition': 'not build_with_chromium',
188 },
189
Jamie Madill55959b02019-03-05 10:07:41 -0500190 # libjpeg_turbo is used by glmark2.
Jamie Madill8ba50492019-10-10 17:46:54 -0400191 'third_party/libjpeg_turbo': {
angle-autoroll23462992021-02-26 09:24:47 +0000192 'url': '{chromium_git}/chromium/deps/libjpeg_turbo.git@7b4981b6500ccba10733c352b9ed2dad14ce3c73',
Jamie Madill55959b02019-03-05 10:07:41 -0500193 'condition': 'not build_with_chromium',
194 },
195
Jamie Madill8ba50492019-10-10 17:46:54 -0400196 'third_party/libpng/src': {
Edward Lemur8ae09b02018-06-01 14:18:28 -0400197 'url': '{android_git}/platform/external/libpng@094e181e79a3d6c23fd005679025058b7df1ad6c',
198 'condition': 'not build_with_chromium',
199 },
Jamie Madill37ee8a62016-12-13 15:18:58 -0500200
Jamie Madill8ba50492019-10-10 17:46:54 -0400201 'third_party/jsoncpp': {
Jordan Bayles1265dbe2020-06-24 15:12:17 -0700202 'url': '{chromium_git}/chromium/src/third_party/jsoncpp@{chromium_jsoncpp_revision}',
Jamie Madill0cb3b0f2019-01-28 09:55:20 -0500203 'condition': 'not build_with_chromium',
204 },
Tobin Ehlis5fdc38c2018-08-28 09:20:57 -0600205
Jamie Madill43951702020-04-27 16:57:46 -0400206 'third_party/nasm': {
Jamie Madill23211582020-07-21 10:08:03 -0400207 'url': '{chromium_git}/chromium/deps/nasm.git@19f3fad68da99277b2882939d3b2fa4c4b8d51d9',
Jamie Madill43951702020-04-27 16:57:46 -0400208 'condition': 'not build_with_chromium',
209 },
210
Jamie Madillacd15ca2020-10-11 17:16:34 -0400211 'third_party/protobuf': {
angle-autoroll45ce8d12021-03-15 08:07:12 +0000212 'url': '{chromium_git}/chromium/src/third_party/protobuf@52433541779c2d98b3ef98def5b06924e9ae85ba',
Jamie Madillacd15ca2020-10-11 17:16:34 -0400213 'condition': 'not build_with_chromium',
214 },
215
Jamie Madill8ba50492019-10-10 17:46:54 -0400216 'third_party/Python-Markdown': {
angle-autorolla13f6842020-12-08 07:54:47 +0000217 'url': '{chromium_git}/chromium/src/third_party/Python-Markdown@2bb7b23b6398f9e79bc2fa8c6bc64a3cf1613ebf',
Jamie Madill9f958342019-04-08 09:40:40 -0400218 'condition': 'not build_with_chromium',
219 },
220
Jamie Madill8ba50492019-10-10 17:46:54 -0400221 'third_party/qemu-linux-x64': {
Michael Spang229fc832019-01-21 18:09:15 -0500222 'packages': [
223 {
224 'package': 'fuchsia/qemu/linux-amd64',
225 'version': '9cc486c5b18a0be515c39a280ca9a309c54cf994'
226 },
227 ],
228 'condition': 'not build_with_chromium and (host_os == "linux" and checkout_fuchsia)',
229 'dep_type': 'cipd',
230 },
231
Jamie Madill8ba50492019-10-10 17:46:54 -0400232 'third_party/qemu-mac-x64': {
Michael Spang229fc832019-01-21 18:09:15 -0500233 'packages': [
234 {
235 'package': 'fuchsia/qemu/mac-amd64',
236 'version': '2d3358ae9a569b2d4a474f498b32b202a152134f'
237 },
238 ],
239 'condition': 'not build_with_chromium and (host_os == "mac" and checkout_fuchsia)',
240 'dep_type': 'cipd',
241 },
242
Jamie Madill8ba50492019-10-10 17:46:54 -0400243 'third_party/rapidjson/src': {
Jamie Madill46d32e02019-02-25 17:13:16 -0500244 'url': '{chromium_git}/external/github.com/Tencent/rapidjson@7484e06c589873e1ed80382d262087e4fa80fb63',
245 },
246
Jamie Madill8ba50492019-10-10 17:46:54 -0400247 'third_party/SwiftShader': {
angle-autoroll9a81af92021-03-30 10:01:01 +0000248 'url': '{swiftshader_git}/SwiftShader@4c0f888d7ef87a06dc7e6f01c3a9341aa8a826bf',
Jamie Madill8be7a4c2019-09-19 12:48:31 -0400249 'condition': 'not build_with_chromium',
250 },
251
Tim Van Pattened337952020-07-23 12:58:10 -0600252 'third_party/VK-GL-CTS/src': {
253 'url': '{chromium_git}/external/github.com/KhronosGroup/VK-GL-CTS@{vk_gl_cts_revision}',
254 },
255
Jamie Madill653f6192020-12-14 12:55:55 -0500256 'third_party/vulkan-deps': {
angle-autorollaba7b672021-03-31 10:01:46 +0000257 'url': '{chromium_git}/vulkan-deps@0a4b29c05e7102c62d8dd6961a00e5317ca377f2',
Jamie Madill653f6192020-12-14 12:55:55 -0500258 'condition': 'not build_with_chromium',
Tobin Ehlisb971f492018-05-24 10:56:17 -0600259 },
260
Tim Van Pattened337952020-07-23 12:58:10 -0600261 'third_party/vulkan_memory_allocator': {
Peng Huang0d2e6562021-02-12 14:21:00 -0500262 'url': '{chromium_git}/external/github.com/GPUOpen-LibrariesAndSDKs/VulkanMemoryAllocator@732a76d9d3c70d6aa487216495eeb28518349c3a',
Tim Van Pattened337952020-07-23 12:58:10 -0600263 'condition': 'not build_with_chromium',
264 },
265
Jamie Madill8ba50492019-10-10 17:46:54 -0400266 'third_party/zlib': {
angle-autorollb7750122021-03-12 08:08:11 +0000267 'url': '{chromium_git}/chromium/src/third_party/zlib@09490503d0f201b81e03f5ca0ab8ba8ee76d4a8e',
Edward Lemur8ae09b02018-06-01 14:18:28 -0400268 'condition': 'not build_with_chromium',
269 },
Frank Henigmand0ef13a2017-08-28 22:53:24 -0400270
Jamie Madill8ba50492019-10-10 17:46:54 -0400271 'tools/clang': {
angle-autoroll7a881172021-04-01 00:05:22 +0000272 'url': '{chromium_git}/chromium/src/tools/clang.git@15a4172c51d9c03bdb09637aa2ef611d26e260b9',
Edward Lemur8ae09b02018-06-01 14:18:28 -0400273 'condition': 'not build_with_chromium',
274 },
Michael Spang229fc832019-01-21 18:09:15 -0500275
Le Hoang Quyencaeb2172019-11-20 22:30:17 +0800276 'tools/clang/dsymutil': {
277 'packages': [
278 {
279 'package': 'chromium/llvm-build-tools/dsymutil',
280 'version': 'M56jPzDv1620Rnm__jTMYS62Zi8rxHVq7yw0qeBFEgkC',
281 }
282 ],
283 'condition': 'checkout_mac and not build_with_chromium',
284 'dep_type': 'cipd',
285 },
286
Jamie Madillb99bbba2020-09-13 10:34:54 -0400287 'tools/luci-go': {
288 'packages': [
289 {
290 'package': 'infra/tools/luci/isolate/${{platform}}',
291 'version': Var('luci_go'),
292 },
293 {
294 'package': 'infra/tools/luci/isolated/${{platform}}',
295 'version': Var('luci_go'),
296 },
297 {
298 'package': 'infra/tools/luci/swarming/${{platform}}',
299 'version': Var('luci_go'),
300 },
301 ],
302 'condition': 'not build_with_chromium',
303 'dep_type': 'cipd',
304 },
305
306 'tools/mb': {
angle-autoroll7a881172021-04-01 00:05:22 +0000307 'url': '{chromium_git}/chromium/src/tools/mb@88f0c977aeeb43a0a5b4d6dc4adde1974d33e277',
Jamie Madillb99bbba2020-09-13 10:34:54 -0400308 'condition': 'not build_with_chromium',
309 },
310
Jamie Madill8ba50492019-10-10 17:46:54 -0400311 'tools/md_browser': {
Yuly Novikov5dff6072020-08-19 20:57:36 -0400312 'url': '{chromium_git}/chromium/src/tools/md_browser@60141af3603925d99bf3fb22fdfca138416339b1',
Jamie Madill9f958342019-04-08 09:40:40 -0400313 'condition': 'not build_with_chromium',
Michael Spang229fc832019-01-21 18:09:15 -0500314 },
Jamie Madilldf0ce012019-09-05 11:04:39 -0400315
Jamie Madill8ba50492019-10-10 17:46:54 -0400316 'tools/memory': {
angle-autoroll64654a82020-12-02 16:33:31 +0000317 'url': '{chromium_git}/chromium/src/tools/memory@71214b910decfe2e7cfc8b0ffc072a1b97da2d36',
Jamie Madilldf0ce012019-09-05 11:04:39 -0400318 'condition': 'not build_with_chromium',
319 },
Jamie Madilldff93312020-09-25 13:31:25 -0400320
Jamie Madillacd15ca2020-10-11 17:16:34 -0400321 'tools/protoc_wrapper': {
angle-autoroll99460512021-03-03 15:09:41 +0000322 'url': '{chromium_git}/chromium/src/tools/protoc_wrapper@4d4e1824fc1a93147a2f640a25812d1db9d3c2d2',
Jamie Madillacd15ca2020-10-11 17:16:34 -0400323 'condition': 'not build_with_chromium',
324 },
325
Jamie Madilldff93312020-09-25 13:31:25 -0400326 'tools/skia_goldctl/linux': {
327 'packages': [
328 {
329 'package': 'skia/tools/goldctl/linux-amd64',
angle-autorollf9cff912021-03-30 08:26:01 +0000330 'version': '0ov3TUTdHjrpXdmomZUYhtozjUPAOWj5pFnLb_wSN3cC',
Jamie Madilldff93312020-09-25 13:31:25 -0400331 },
332 ],
333 'dep_type': 'cipd',
334 'condition': 'checkout_linux and not build_with_chromium',
335 },
336
337 'tools/skia_goldctl/win': {
338 'packages': [
339 {
340 'package': 'skia/tools/goldctl/windows-amd64',
angle-autorollf9cff912021-03-30 08:26:01 +0000341 'version': 'zp5Z6O5rpqU_hMlh5I1ScNM4EDY8nMpwX0uaMUAVPxcC',
Jamie Madilldff93312020-09-25 13:31:25 -0400342 },
343 ],
344 'dep_type': 'cipd',
345 'condition': 'checkout_win and not build_with_chromium',
346 },
347
348 'tools/skia_goldctl/mac': {
349 'packages': [
350 {
351 'package': 'skia/tools/goldctl/mac-amd64',
angle-autorollf9cff912021-03-30 08:26:01 +0000352 'version': '4WMws6v5khG2LeD4ZoItrfEnqBtVRK9Y-f6bMccgS8wC',
Jamie Madilldff93312020-09-25 13:31:25 -0400353 },
354 ],
355 'dep_type': 'cipd',
356 'condition': 'checkout_mac and not build_with_chromium',
357 },
alokp@chromium.org29d56fb2010-04-06 15:42:22 +0000358}
359
alokp@chromium.org29d56fb2010-04-06 15:42:22 +0000360hooks = [
Jamie Madill2fdd3da2015-07-20 10:14:54 -0400361 # Pull clang-format binaries using checked-in hashes.
362 {
363 'name': 'clang_format_win',
364 'pattern': '.',
Edward Lemur8ae09b02018-06-01 14:18:28 -0400365 'condition': 'host_os == "win" and not build_with_chromium',
Jamie Madill2fdd3da2015-07-20 10:14:54 -0400366 'action': [ 'download_from_google_storage',
367 '--no_resume',
368 '--platform=win32',
369 '--no_auth',
370 '--bucket', 'chromium-clang-format',
Jamie Madill8ba50492019-10-10 17:46:54 -0400371 '-s', 'buildtools/win/clang-format.exe.sha1',
Jamie Madill2fdd3da2015-07-20 10:14:54 -0400372 ],
373 },
374 {
375 'name': 'clang_format_mac',
376 'pattern': '.',
Edward Lemur8ae09b02018-06-01 14:18:28 -0400377 'condition': 'host_os == "mac" and not build_with_chromium',
Jamie Madill2fdd3da2015-07-20 10:14:54 -0400378 'action': [ 'download_from_google_storage',
379 '--no_resume',
380 '--platform=darwin',
381 '--no_auth',
382 '--bucket', 'chromium-clang-format',
Jamie Madill8ba50492019-10-10 17:46:54 -0400383 '-s', 'buildtools/mac/clang-format.sha1',
Jamie Madill2fdd3da2015-07-20 10:14:54 -0400384 ],
385 },
386 {
387 'name': 'clang_format_linux',
388 'pattern': '.',
Edward Lemur8ae09b02018-06-01 14:18:28 -0400389 'condition': 'host_os == "linux" and not build_with_chromium',
Jamie Madill2fdd3da2015-07-20 10:14:54 -0400390 'action': [ 'download_from_google_storage',
391 '--no_resume',
392 '--platform=linux*',
393 '--no_auth',
394 '--bucket', 'chromium-clang-format',
Jamie Madill8ba50492019-10-10 17:46:54 -0400395 '-s', 'buildtools/linux64/clang-format.sha1',
Jamie Madill2fdd3da2015-07-20 10:14:54 -0400396 ],
397 },
Tobin Ehlis9d4277b2018-05-21 16:22:22 -0600398 {
399 'name': 'sysroot_x86',
400 'pattern': '.',
Edward Lemur8ae09b02018-06-01 14:18:28 -0400401 'condition': 'checkout_linux and ((checkout_x86 or checkout_x64) and not build_with_chromium)',
Jamie Madill8ba50492019-10-10 17:46:54 -0400402 'action': ['python', 'build/linux/sysroot_scripts/install-sysroot.py',
Tobin Ehlis9d4277b2018-05-21 16:22:22 -0600403 '--arch=x86'],
404 },
405 {
406 'name': 'sysroot_x64',
407 'pattern': '.',
Edward Lemur8ae09b02018-06-01 14:18:28 -0400408 'condition': 'checkout_linux and (checkout_x64 and not build_with_chromium)',
Jamie Madill8ba50492019-10-10 17:46:54 -0400409 'action': ['python', 'build/linux/sysroot_scripts/install-sysroot.py',
Tobin Ehlis9d4277b2018-05-21 16:22:22 -0600410 '--arch=x64'],
411 },
Jamie Madill027717f2018-04-13 15:51:24 -0400412 {
413 # Update the Windows toolchain if necessary. Must run before 'clang' below.
414 'name': 'win_toolchain',
415 'pattern': '.',
Edward Lemur8ae09b02018-06-01 14:18:28 -0400416 'condition': 'checkout_win and not build_with_chromium',
Jamie Madill8ba50492019-10-10 17:46:54 -0400417 'action': ['python', 'build/vs_toolchain.py', 'update', '--force'],
Jamie Madill027717f2018-04-13 15:51:24 -0400418 },
Geoff Lang66ae5312019-04-01 16:35:53 -0400419 {
420 # Update the Mac toolchain if necessary.
421 'name': 'mac_toolchain',
422 'pattern': '.',
423 'condition': 'checkout_mac and not build_with_chromium',
James Darpinianefbb5662021-03-11 22:41:06 +0000424 'action': ['python', 'build/mac_toolchain.py'],
Geoff Lang66ae5312019-04-01 16:35:53 -0400425 },
Jamie Madill027717f2018-04-13 15:51:24 -0400426
alokp@chromium.org29d56fb2010-04-06 15:42:22 +0000427 {
Frank Henigmand0ef13a2017-08-28 22:53:24 -0400428 # Note: On Win, this should run after win_toolchain, as it may use it.
429 'name': 'clang',
430 'pattern': '.',
James Darpinianefbb5662021-03-11 22:41:06 +0000431 'action': ['python', 'tools/clang/scripts/update.py'],
Edward Lemur8ae09b02018-06-01 14:18:28 -0400432 'condition': 'not build_with_chromium',
Frank Henigmand0ef13a2017-08-28 22:53:24 -0400433 },
Jamie Madill940c48b2017-10-23 23:25:17 -0400434
Shahbaz Youssefi957e9b82018-10-05 11:00:50 -0400435 {
436 # Update LASTCHANGE.
437 'name': 'lastchange',
438 'pattern': '.',
439 'condition': 'not build_with_chromium',
James Darpinianefbb5662021-03-11 22:41:06 +0000440 'action': ['python', 'build/util/lastchange.py',
Jamie Madill8ba50492019-10-10 17:46:54 -0400441 '-o', 'build/util/LASTCHANGE'],
Shahbaz Youssefi957e9b82018-10-05 11:00:50 -0400442 },
443
Jamie Madill940c48b2017-10-23 23:25:17 -0400444 # Pull rc binaries using checked-in hashes.
445 {
446 'name': 'rc_win',
447 'pattern': '.',
Edward Lemur8ae09b02018-06-01 14:18:28 -0400448 'condition': 'checkout_win and (host_os == "win" and not build_with_chromium)',
Jamie Madill940c48b2017-10-23 23:25:17 -0400449 'action': [ 'download_from_google_storage',
450 '--no_resume',
451 '--no_auth',
452 '--bucket', 'chromium-browser-clang/rc',
Jamie Madill8ba50492019-10-10 17:46:54 -0400453 '-s', 'build/toolchain/win/rc/win/rc.exe.sha1',
Jamie Madill940c48b2017-10-23 23:25:17 -0400454 ],
455 },
Michael Spang229fc832019-01-21 18:09:15 -0500456
457 {
458 'name': 'fuchsia_sdk',
459 'pattern': '.',
460 'condition': 'checkout_fuchsia and not build_with_chromium',
461 'action': [
462 'python',
Jamie Madill8ba50492019-10-10 17:46:54 -0400463 'build/fuchsia/update_sdk.py',
Michael Spang229fc832019-01-21 18:09:15 -0500464 ],
465 },
Jamie Madilld5ff4fa2019-04-08 09:25:23 -0400466
Shahbaz Youssefi82418c82019-04-05 15:56:03 -0400467 # Download glslang validator binary for Linux.
468 {
469 'name': 'linux_glslang_validator',
470 'pattern': '.',
471 'condition': 'checkout_linux and not build_with_chromium',
472 'action': [ 'download_from_google_storage',
473 '--no_resume',
474 '--platform=linux*',
475 '--no_auth',
476 '--bucket', 'angle-glslang-validator',
Jamie Madill8ba50492019-10-10 17:46:54 -0400477 '-s', 'tools/glslang/glslang_validator.sha1',
Shahbaz Youssefi82418c82019-04-05 15:56:03 -0400478 ],
479 },
480
Jamie Madilld5ff4fa2019-04-08 09:25:23 -0400481 # Download glslang validator binary for Windows.
482 {
483 'name': 'win_glslang_validator',
484 'pattern': '.',
485 'condition': 'checkout_win and not build_with_chromium',
486 'action': [ 'download_from_google_storage',
487 '--no_resume',
488 '--platform=win32*',
489 '--no_auth',
490 '--bucket', 'angle-glslang-validator',
Jamie Madill8ba50492019-10-10 17:46:54 -0400491 '-s', 'tools/glslang/glslang_validator.exe.sha1',
Jamie Madilld5ff4fa2019-04-08 09:25:23 -0400492 ],
493 },
Shahbaz Youssefi5efb36b2019-11-25 16:14:55 -0500494
495 # Download flex/bison binaries for Linux.
496 {
497 'name': 'linux_flex_bison',
498 'pattern': '.',
499 'condition': 'checkout_linux and not build_with_chromium',
500 'action': [ 'download_from_google_storage',
501 '--no_resume',
502 '--platform=linux*',
503 '--no_auth',
504 '--bucket', 'angle-flex-bison',
505 '-d', 'tools/flex-bison/linux/',
506 ],
507 },
508
509 # Download flex/bison binaries for Windows.
510 {
511 'name': 'win_flex_bison',
512 'pattern': '.',
513 'condition': 'checkout_win and not build_with_chromium',
514 'action': [ 'download_from_google_storage',
515 '--no_resume',
516 '--platform=win32*',
517 '--no_auth',
518 '--bucket', 'angle-flex-bison',
519 '-d', 'tools/flex-bison/windows/',
520 ],
521 },
Cody Northrop080d7112020-01-08 13:04:44 -0700522
523 # Download internal captures for perf tests
524 {
525 'name': 'restricted_traces',
526 'pattern': '\\.sha1',
527 'condition': 'checkout_angle_internal',
Jamie Madilla7c16c22020-10-21 22:54:56 -0400528 'action': [ 'vpython3',
Jamie Madillbda22052020-09-17 14:37:25 -0400529 'src/tests/restricted_traces/download_restricted_traces.py',
530 'src/tests/restricted_traces',
Cody Northrop080d7112020-01-08 13:04:44 -0700531 ]
532 }
alokp@chromium.org29d56fb2010-04-06 15:42:22 +0000533]
Jamie Madill20789312016-10-28 14:05:26 -0400534
535recursedeps = [
Jamie Madill07035682019-10-25 09:00:41 -0400536 'third_party/googletest',
Jamie Madille7c8e802019-10-26 08:16:12 -0400537 'third_party/jsoncpp',
Jamie Madill653f6192020-12-14 12:55:55 -0500538 'third_party/vulkan-deps',
Jamie Madill20789312016-10-28 14:05:26 -0400539]