blob: f6610dc2e8d8a849916312732142dcec1d4f3dab [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'
Jonah Ryan-Davis84eb7d82020-07-27 16:27:36 -04009gclient_gn_args = [
10 'mac_xcode_version',
11]
Jamie Madill23211582020-07-21 10:08:03 -040012
Jamie Madill2fdd3da2015-07-20 10:14:54 -040013vars = {
Jonah Ryan-Davis84eb7d82020-07-27 16:27:36 -040014 # This can be overridden, e.g. with custom_vars, to download a nonstandard
15 # Xcode version in build/mac_toolchain.py instead of downloading the
16 # prebuilt pinned revision.
17 'mac_xcode_version': 'default',
18
Jamie Madill37ee8a62016-12-13 15:18:58 -050019 'android_git': 'https://android.googlesource.com',
Jamie Madill2fdd3da2015-07-20 10:14:54 -040020 'chromium_git': 'https://chromium.googlesource.com',
Jamie Madill67a017f2019-10-10 15:27:27 -040021 'chrome_internal_git': 'https://chrome-internal.googlesource.com',
Jamie Madill8be7a4c2019-09-19 12:48:31 -040022 'swiftshader_git': 'https://swiftshader.googlesource.com',
Jamie Madill027717f2018-04-13 15:51:24 -040023
Edward Lemur8ae09b02018-06-01 14:18:28 -040024 # This variable is overrided in Chromium's DEPS file.
25 'build_with_chromium': False,
26
Jamie Madill67a017f2019-10-10 15:27:27 -040027 # Only check out public sources by default. This can be overridden with custom_vars.
Cody Northrop84f45f12019-12-18 14:34:29 -070028 'checkout_angle_internal': False,
Jamie Madill4237e532019-06-28 11:14:31 -040029
Jamie Madill1948af32019-10-11 17:49:24 -040030 # Version of Chromium our Chromium-based DEPS are mirrored from.
angle-autorollcbcb2f22020-10-23 19:46:28 +000031 'chromium_revision': '4787c9ad2595cd2f5373ace93be5a438787456e6',
Yuly Novikov6a652f12020-08-12 21:12:47 -040032 # We never want to checkout chromium,
33 # but need a dummy DEPS entry for the autoroller
34 'dummy_checkout_chromium': False,
Jamie Madill1948af32019-10-11 17:49:24 -040035
Courtney Goeltzenleuchterfebdcf52019-10-28 10:54:03 -060036 # Current revision of VK-GL-CTS (a.k.a dEQP).
angle-autoroll128ffe42020-10-16 14:35:16 +000037 'vk_gl_cts_revision': '483a71c5130edf701b89ce120a01b3b81f87b805',
Edward Lemur8ae09b02018-06-01 14:18:28 -040038
39 # Current revision of glslang, the Khronos SPIRV compiler.
angle-autoroll4791cf22020-10-23 10:01:05 +000040 'glslang_revision': '3b334b2b8e1a67bf5a8dc0901a73ec979ff241c7',
Edward Lemur8ae09b02018-06-01 14:18:28 -040041
Jamie Madill07035682019-10-25 09:00:41 -040042 # Current revision of googletest.
43 # Note: this dep cannot be auto-rolled b/c of nesting.
Yuly Novikov7d38b0b2020-08-19 17:33:31 -040044 'googletest_revision': '4fe018038f87675c083d0cfb6a6b57c274fb1753',
45
46 # Current revision of Chrome's third_party googletest directory. This
47 # repository is mirrored as a separate repository, with separate git hashes
48 # that don't match the external googletest repository or Chrome. Mirrored
49 # patches will have a different git hash associated with them.
50 # To roll, first get the new hash for chromium_googletest_revision from the
51 # mirror of third_party/googletest located here:
52 # https://chromium.googlesource.com/chromium/src/third_party/googletest/
53 # Then get the new hash for googletest_revision from the root Chrome DEPS
54 # file: https://source.chromium.org/chromium/chromium/src/+/master:DEPS
55 'chromium_googletest_revision': 'c20c5a3085ab4d90fdb403e3ac98e7991317dd27',
Jamie Madill07035682019-10-25 09:00:41 -040056
Jamie Madille7c8e802019-10-26 08:16:12 -040057 # Current revision of jsoncpp.
58 # Note: this dep cannot be auto-rolled b/c of nesting.
59 'jsoncpp_revision': '645250b6690785be60ab6780ce4b58698d884d11',
60
Jordan Bayles1265dbe2020-06-24 15:12:17 -070061 # Current revision of Chrome's third_party jsoncpp directory. This repository
62 # is mirrored as a separate repository, with separate git hashes that
63 # don't match the external JsonCpp repository or Chrome. Mirrored patches
64 # will have a different git hash associated with them.
65 # To roll, first get the new hash for chromium_jsoncpp_revision from the
66 # mirror of third_party/jsoncpp located here:
67 # https://chromium.googlesource.com/chromium/src/third_party/jsoncpp/
68 # Then get the new hash for jsoncpp_revision from the root Chrome DEPS file:
69 # https://source.chromium.org/chromium/chromium/src/+/master:DEPS
Yuly Novikov7d38b0b2020-08-19 17:33:31 -040070 'chromium_jsoncpp_revision': '30a6ac108e24dabac7c2e0df4d33d55032af4ee7',
Jordan Bayles1265dbe2020-06-24 15:12:17 -070071
Jamie Madille7c8e802019-10-26 08:16:12 -040072 # Current revision of patched-yasm.
73 # Note: this dep cannot be auto-rolled b/c of nesting.
74 'patched_yasm_revision': '720b70524a4424b15fc57e82263568c8ba0496ad',
75
Le Quyena5a04ac2019-10-29 22:57:55 +080076 # Current revision of spirv-cross, the Khronos SPIRV cross compiler.
Le Hoang Quyenbcf99572020-05-11 00:50:00 +080077 'spirv_cross_revision': 'f38cbeb814c73510b85697adbe5e894f9eac978f',
Le Quyena5a04ac2019-10-29 22:57:55 +080078
Edward Lemur8ae09b02018-06-01 14:18:28 -040079 # Current revision fo the SPIRV-Headers Vulkan support library.
angle-autorolled489d12020-10-23 10:01:13 +000080 'spirv_headers_revision': '05836bdba63e7debce9fa9feaed42f20cd43af9d',
Edward Lemur8ae09b02018-06-01 14:18:28 -040081
82 # Current revision of SPIRV-Tools for Vulkan.
angle-autorolled489d12020-10-23 10:01:13 +000083 'spirv_tools_revision': '69f07da41b3bc4f563fade2b2d9aeab7f3329ae4',
Edward Lemur8ae09b02018-06-01 14:18:28 -040084
Tobin Ehlisb971f492018-05-24 10:56:17 -060085 # Current revision of Khronos Vulkan-Headers.
angle-autoroll2e3490f2020-10-19 10:01:17 +000086 'vulkan_headers_revision': '320af06cbdd29848e1d7100d9b8e4e517db1dfd5',
Tobin Ehlisb971f492018-05-24 10:56:17 -060087
88 # Current revision of Khronos Vulkan-Loader.
angle-autorollc550e3a2020-10-22 10:01:06 +000089 'vulkan_loader_revision': '91ce213a1d882ca9587cbfe3e4fa429382d60b9d',
Tobin Ehlisb971f492018-05-24 10:56:17 -060090
91 # Current revision of Khronos Vulkan-Tools.
angle-autorolle1d8dab2020-10-16 10:01:15 +000092 'vulkan_tools_revision': 'ee0de094ddff8573a06b36b7fa7922de21ea372c',
Tobin Ehlisb971f492018-05-24 10:56:17 -060093
94 # Current revision of Khronos Vulkan-ValidationLayers.
angle-autorollc13ddc32020-10-15 20:25:24 +000095 'vulkan_validation_revision': '7d11021098f265c5d39a398d5009eab0123e3c8f',
Geoff Lang6e687af2019-10-17 14:36:41 -040096
97 # Three lines of non-changing comments so that
98 # the commit queue can handle CLs rolling catapult
99 # and whatever else without interference from each other.
angle-autorollcbcb2f22020-10-23 19:46:28 +0000100 'catapult_revision': '7874beb5c5a18ed8ba1264fac8dc4e857be23e35',
Jamie Madillb99bbba2020-09-13 10:34:54 -0400101
102 # Three lines of non-changing comments so that
103 # the commit queue can handle CLs rolling luci-go
104 # and whatever else without interference from each other.
angle-autoroll6a09a9d2020-10-08 07:01:07 +0000105 'luci_go': 'git_revision:576741d3eed0fa33971fb34cd823650e6f5b47fb',
Jamie Madill2fdd3da2015-07-20 10:14:54 -0400106}
107
alokp@chromium.org29d56fb2010-04-06 15:42:22 +0000108deps = {
alokp@chromium.org416fcd32012-04-11 16:23:44 +0000109
Jamie Madill8ba50492019-10-10 17:46:54 -0400110 'build': {
angle-autorollcbcb2f22020-10-23 19:46:28 +0000111 'url': '{chromium_git}/chromium/src/build.git@41d615a966610142cf831ab0d15e0c1b26467795',
Edward Lemur8ae09b02018-06-01 14:18:28 -0400112 'condition': 'not build_with_chromium',
113 },
Frank Henigmand0ef13a2017-08-28 22:53:24 -0400114
Jamie Madill8ba50492019-10-10 17:46:54 -0400115 'buildtools': {
angle-autorollcb4a0082020-09-30 07:00:12 +0000116 'url': '{chromium_git}/chromium/src/buildtools.git@4be464e050b3d05060471788f926b34c641db9fd',
Edward Lemur8ae09b02018-06-01 14:18:28 -0400117 'condition': 'not build_with_chromium',
118 },
Frank Henigmand0ef13a2017-08-28 22:53:24 -0400119
Jamie Madill8ba50492019-10-10 17:46:54 -0400120 'testing': {
angle-autorollcbcb2f22020-10-23 19:46:28 +0000121 'url': '{chromium_git}/chromium/src/testing@36edd7044709c8bfa03ac15530c9cb6abecc366b',
Edward Lemur8ae09b02018-06-01 14:18:28 -0400122 'condition': 'not build_with_chromium',
123 },
alokp@chromium.org5cd9c602012-05-16 23:37:50 +0000124
Tim Van Pattened337952020-07-23 12:58:10 -0600125 'third_party/abseil-cpp': {
angle-autoroll88c62182020-10-22 16:06:26 +0000126 'url': '{chromium_git}/chromium/src/third_party/abseil-cpp@fde3620a8a8bddfcb87e369dcabb92405c19ceb3',
Tim Van Pattened337952020-07-23 12:58:10 -0600127 'condition': 'not build_with_chromium',
128 },
129
Jamie Madill23211582020-07-21 10:08:03 -0400130 'third_party/android_ndk': {
131 'url': '{chromium_git}/android_ndk.git@27c0a8d090c666a50e40fceb4ee5b40b1a2d3f87',
132 'condition': 'checkout_android and not build_with_chromium',
133 },
134
135 'third_party/catapult': {
136 'url': '{chromium_git}/catapult.git@{catapult_revision}',
Jamie Madillacd15ca2020-10-11 17:16:34 -0400137 'condition': 'not build_with_chromium',
Jamie Madill23211582020-07-21 10:08:03 -0400138 },
139
Courtney Goeltzenleuchterfebdcf52019-10-28 10:54:03 -0600140 # 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 -0400141 'third_party/cherry': {
Edward Lemur8ae09b02018-06-01 14:18:28 -0400142 'url': '{android_git}/platform/external/cherry@4f8fb08d33ca5ff05a1c638f04c85bbb8d8b52cc',
143 'condition': 'not build_with_chromium',
144 },
Jamie Madill9e76f562015-10-02 08:57:14 -0400145
Yuly Novikov6a652f12020-08-12 21:12:47 -0400146 # We never want to checkout chromium,
147 # but need a dummy DEPS entry for the autoroller
148 'third_party/dummy_chromium': {
149 'url': '{chromium_git}/chromium/src.git@{chromium_revision}',
150 'condition': 'dummy_checkout_chromium',
151 },
152
Jamie Madill8ba50492019-10-10 17:46:54 -0400153 'third_party/fuchsia-sdk': {
Jamie Madill130fdbc2019-10-10 19:13:07 -0400154 'url': '{chromium_git}/chromium/src/third_party/fuchsia-sdk.git@1785f0ac8e1fe81cb25e260acbe7de8f62fa3e44',
Jamie Madill9f958342019-04-08 09:40:40 -0400155 'condition': 'checkout_fuchsia and not build_with_chromium',
156 },
157
Jamie Madill67a017f2019-10-10 15:27:27 -0400158 # Closed-source OpenGL ES 1.1 Conformance tests.
Jamie Madill8ba50492019-10-10 17:46:54 -0400159 'third_party/gles1_conform': {
Jamie Madill67a017f2019-10-10 15:27:27 -0400160 'url': '{chrome_internal_git}/angle/es-cts.git@dc9f502f709c9cd88d7f8d3974f1c77aa246958e',
Cody Northrop84f45f12019-12-18 14:34:29 -0700161 'condition': 'checkout_angle_internal',
Jamie Madill67a017f2019-10-10 15:27:27 -0400162 },
163
Jamie Madill55959b02019-03-05 10:07:41 -0500164 # glmark2 is a GPL3-licensed OpenGL ES 2.0 benchmark. We use it for testing.
Jamie Madill8ba50492019-10-10 17:46:54 -0400165 'third_party/glmark2/src': {
Jamie Madill2971fd32019-08-12 16:53:21 -0400166 'url': '{chromium_git}/external/github.com/glmark2/glmark2@9e01aef1a786b28aca73135a5b00f85c357e8f5e',
Jamie Madill55959b02019-03-05 10:07:41 -0500167 },
168
Jamie Madill8ba50492019-10-10 17:46:54 -0400169 'third_party/glslang/src': {
Tobin Ehlis317a9eb2018-11-29 12:51:46 -0700170 'url': '{chromium_git}/external/github.com/KhronosGroup/glslang@{glslang_revision}',
Jamie Madill0cb3b0f2019-01-28 09:55:20 -0500171 'condition': 'not build_with_chromium',
Jamie Madill55959b02019-03-05 10:07:41 -0500172 },
Jamie Madill37ee8a62016-12-13 15:18:58 -0500173
Jamie Madill8ba50492019-10-10 17:46:54 -0400174 'third_party/googletest': {
Yuly Novikov7d38b0b2020-08-19 17:33:31 -0400175 'url': '{chromium_git}/chromium/src/third_party/googletest@{chromium_googletest_revision}',
Jamie Madillcf9b2852019-02-13 09:15:26 -0500176 'condition': 'not build_with_chromium',
177 },
178
Jamie Madill55959b02019-03-05 10:07:41 -0500179 # libjpeg_turbo is used by glmark2.
Jamie Madill8ba50492019-10-10 17:46:54 -0400180 'third_party/libjpeg_turbo': {
angle-autoroll8da60e22020-09-17 07:01:46 +0000181 'url': '{chromium_git}/chromium/deps/libjpeg_turbo.git@d5148db386ceb4a608058320071cbed890bd6ad2',
Jamie Madill55959b02019-03-05 10:07:41 -0500182 'condition': 'not build_with_chromium',
183 },
184
Jamie Madill8ba50492019-10-10 17:46:54 -0400185 'third_party/libpng/src': {
Edward Lemur8ae09b02018-06-01 14:18:28 -0400186 'url': '{android_git}/platform/external/libpng@094e181e79a3d6c23fd005679025058b7df1ad6c',
187 'condition': 'not build_with_chromium',
188 },
Jamie Madill37ee8a62016-12-13 15:18:58 -0500189
Jamie Madill8ba50492019-10-10 17:46:54 -0400190 'third_party/jsoncpp': {
Jordan Bayles1265dbe2020-06-24 15:12:17 -0700191 'url': '{chromium_git}/chromium/src/third_party/jsoncpp@{chromium_jsoncpp_revision}',
Jamie Madill0cb3b0f2019-01-28 09:55:20 -0500192 'condition': 'not build_with_chromium',
193 },
Tobin Ehlis5fdc38c2018-08-28 09:20:57 -0600194
Jamie Madill43951702020-04-27 16:57:46 -0400195 'third_party/nasm': {
Jamie Madill23211582020-07-21 10:08:03 -0400196 'url': '{chromium_git}/chromium/deps/nasm.git@19f3fad68da99277b2882939d3b2fa4c4b8d51d9',
Jamie Madill43951702020-04-27 16:57:46 -0400197 'condition': 'not build_with_chromium',
198 },
199
Jamie Madillacd15ca2020-10-11 17:16:34 -0400200 'third_party/protobuf': {
201 'url': '{chromium_git}/chromium/src/third_party/protobuf@d044036fd85e658918bf9fb58bc0f083945f952f',
202 'condition': 'not build_with_chromium',
203 },
204
Jamie Madill8ba50492019-10-10 17:46:54 -0400205 'third_party/Python-Markdown': {
Yuly Novikov5dff6072020-08-19 20:57:36 -0400206 'url': '{chromium_git}/chromium/src/third_party/Python-Markdown@ad4fc19d612de0a3f6ea19441af703ff5a5223f3',
Jamie Madill9f958342019-04-08 09:40:40 -0400207 'condition': 'not build_with_chromium',
208 },
209
Jamie Madill8ba50492019-10-10 17:46:54 -0400210 'third_party/qemu-linux-x64': {
Michael Spang229fc832019-01-21 18:09:15 -0500211 'packages': [
212 {
213 'package': 'fuchsia/qemu/linux-amd64',
214 'version': '9cc486c5b18a0be515c39a280ca9a309c54cf994'
215 },
216 ],
217 'condition': 'not build_with_chromium and (host_os == "linux" and checkout_fuchsia)',
218 'dep_type': 'cipd',
219 },
220
Jamie Madill8ba50492019-10-10 17:46:54 -0400221 'third_party/qemu-mac-x64': {
Michael Spang229fc832019-01-21 18:09:15 -0500222 'packages': [
223 {
224 'package': 'fuchsia/qemu/mac-amd64',
225 'version': '2d3358ae9a569b2d4a474f498b32b202a152134f'
226 },
227 ],
228 'condition': 'not build_with_chromium and (host_os == "mac" and checkout_fuchsia)',
229 'dep_type': 'cipd',
230 },
231
Jamie Madill8ba50492019-10-10 17:46:54 -0400232 'third_party/rapidjson/src': {
Jamie Madill46d32e02019-02-25 17:13:16 -0500233 'url': '{chromium_git}/external/github.com/Tencent/rapidjson@7484e06c589873e1ed80382d262087e4fa80fb63',
234 },
235
Le Quyena5a04ac2019-10-29 22:57:55 +0800236 'third_party/spirv-cross/src': {
237 'url': '{chromium_git}/external/github.com/KhronosGroup/SPIRV-Cross@{spirv_cross_revision}',
238 'condition': 'not build_with_chromium',
239 },
240
Jamie Madill8ba50492019-10-10 17:46:54 -0400241 'third_party/spirv-headers/src': {
Jamie Madill0cb3b0f2019-01-28 09:55:20 -0500242 'url': '{chromium_git}/external/github.com/KhronosGroup/SPIRV-Headers@{spirv_headers_revision}',
Corentin Walleza883dd02018-08-03 18:11:46 +0200243 'condition': 'not build_with_chromium',
Edward Lemur8ae09b02018-06-01 14:18:28 -0400244 },
Jamie Madill37ee8a62016-12-13 15:18:58 -0500245
Jamie Madill8ba50492019-10-10 17:46:54 -0400246 'third_party/spirv-tools/src': {
Jamie Madill0cb3b0f2019-01-28 09:55:20 -0500247 'url': '{chromium_git}/external/github.com/KhronosGroup/SPIRV-Tools@{spirv_tools_revision}',
Corentin Walleza883dd02018-08-03 18:11:46 +0200248 'condition': 'not build_with_chromium',
Edward Lemur8ae09b02018-06-01 14:18:28 -0400249 },
Jamie Madill37ee8a62016-12-13 15:18:58 -0500250
Jamie Madill8ba50492019-10-10 17:46:54 -0400251 'third_party/SwiftShader': {
angle-autoroll796a0bd2020-10-23 10:01:56 +0000252 'url': '{swiftshader_git}/SwiftShader@8012e62471bed5d148b48edbcc14e425d46875e4',
Jamie Madill8be7a4c2019-09-19 12:48:31 -0400253 'condition': 'not build_with_chromium',
254 },
255
Tim Van Pattened337952020-07-23 12:58:10 -0600256 'third_party/VK-GL-CTS/src': {
257 'url': '{chromium_git}/external/github.com/KhronosGroup/VK-GL-CTS@{vk_gl_cts_revision}',
258 },
259
Jamie Madill8ba50492019-10-10 17:46:54 -0400260 'third_party/vulkan-headers/src': {
Tobin Ehlisb971f492018-05-24 10:56:17 -0600261 'url': '{chromium_git}/external/github.com/KhronosGroup/Vulkan-Headers@{vulkan_headers_revision}',
262 },
263
Jamie Madill8ba50492019-10-10 17:46:54 -0400264 'third_party/vulkan-loader/src': {
Tobin Ehlisb971f492018-05-24 10:56:17 -0600265 'url': '{chromium_git}/external/github.com/KhronosGroup/Vulkan-Loader@{vulkan_loader_revision}',
266 },
267
Tim Van Pattened337952020-07-23 12:58:10 -0600268 'third_party/vulkan_memory_allocator': {
269 'url': '{chromium_git}/external/github.com/GPUOpen-LibrariesAndSDKs/VulkanMemoryAllocator@065e739079d9d58bef28ccd793cbf512261f09ed',
270 'condition': 'not build_with_chromium',
271 },
272
Jamie Madill8ba50492019-10-10 17:46:54 -0400273 'third_party/vulkan-tools/src': {
Tobin Ehlisb971f492018-05-24 10:56:17 -0600274 'url': '{chromium_git}/external/github.com/KhronosGroup/Vulkan-Tools@{vulkan_tools_revision}',
275 },
276
Jamie Madill8ba50492019-10-10 17:46:54 -0400277 'third_party/vulkan-validation-layers/src': {
Tobin Ehlisb971f492018-05-24 10:56:17 -0600278 'url': '{chromium_git}/external/github.com/KhronosGroup/Vulkan-ValidationLayers@{vulkan_validation_revision}',
Edward Lemur8ae09b02018-06-01 14:18:28 -0400279 },
Jamie Madill3cd438d2015-03-17 11:25:27 -0400280
Jamie Madill8ba50492019-10-10 17:46:54 -0400281 'third_party/zlib': {
angle-autoroll46f8db42020-10-16 07:00:52 +0000282 'url': '{chromium_git}/chromium/src/third_party/zlib@8cd0fc1ed5ea7b59e4df6428318043a8215254cc',
Edward Lemur8ae09b02018-06-01 14:18:28 -0400283 'condition': 'not build_with_chromium',
284 },
Frank Henigmand0ef13a2017-08-28 22:53:24 -0400285
Jamie Madill8ba50492019-10-10 17:46:54 -0400286 'tools/clang': {
angle-autoroll88c62182020-10-22 16:06:26 +0000287 'url': '{chromium_git}/chromium/src/tools/clang.git@151bbd685f018fd8debc7b4da8b412ad1a895bf3',
Edward Lemur8ae09b02018-06-01 14:18:28 -0400288 'condition': 'not build_with_chromium',
289 },
Michael Spang229fc832019-01-21 18:09:15 -0500290
Le Hoang Quyencaeb2172019-11-20 22:30:17 +0800291 'tools/clang/dsymutil': {
292 'packages': [
293 {
294 'package': 'chromium/llvm-build-tools/dsymutil',
295 'version': 'M56jPzDv1620Rnm__jTMYS62Zi8rxHVq7yw0qeBFEgkC',
296 }
297 ],
298 'condition': 'checkout_mac and not build_with_chromium',
299 'dep_type': 'cipd',
300 },
301
Jamie Madillb99bbba2020-09-13 10:34:54 -0400302 'tools/luci-go': {
303 'packages': [
304 {
305 'package': 'infra/tools/luci/isolate/${{platform}}',
306 'version': Var('luci_go'),
307 },
308 {
309 'package': 'infra/tools/luci/isolated/${{platform}}',
310 'version': Var('luci_go'),
311 },
312 {
313 'package': 'infra/tools/luci/swarming/${{platform}}',
314 'version': Var('luci_go'),
315 },
316 ],
317 'condition': 'not build_with_chromium',
318 'dep_type': 'cipd',
319 },
320
321 'tools/mb': {
angle-autorolladc753d2020-10-23 04:10:12 +0000322 'url': '{chromium_git}/chromium/src/tools/mb@9fb31b93b1d62def4c3baa69d378c4c91ee00d86',
Jamie Madillb99bbba2020-09-13 10:34:54 -0400323 'condition': 'not build_with_chromium',
324 },
325
Jamie Madill8ba50492019-10-10 17:46:54 -0400326 'tools/md_browser': {
Yuly Novikov5dff6072020-08-19 20:57:36 -0400327 'url': '{chromium_git}/chromium/src/tools/md_browser@60141af3603925d99bf3fb22fdfca138416339b1',
Jamie Madill9f958342019-04-08 09:40:40 -0400328 'condition': 'not build_with_chromium',
Michael Spang229fc832019-01-21 18:09:15 -0500329 },
Jamie Madilldf0ce012019-09-05 11:04:39 -0400330
Jamie Madill8ba50492019-10-10 17:46:54 -0400331 'tools/memory': {
angle-autorollf6e983b2020-10-06 07:01:19 +0000332 'url': '{chromium_git}/chromium/src/tools/memory@f685c086bde38d670a7a3b30ebe1a076d404c140',
Jamie Madilldf0ce012019-09-05 11:04:39 -0400333 'condition': 'not build_with_chromium',
334 },
Jamie Madilldff93312020-09-25 13:31:25 -0400335
Jamie Madillacd15ca2020-10-11 17:16:34 -0400336 'tools/protoc_wrapper': {
337 'url': '{chromium_git}/chromium/src/tools/protoc_wrapper@203790d7975787dd77c3d870dadb9e4fdc9c907b',
338 'condition': 'not build_with_chromium',
339 },
340
Jamie Madilldff93312020-09-25 13:31:25 -0400341 'tools/skia_goldctl/linux': {
342 'packages': [
343 {
344 'package': 'skia/tools/goldctl/linux-amd64',
angle-autoroll88c62182020-10-22 16:06:26 +0000345 'version': 'STGouE9nmPhPvUv1KVauwIovsjIba4yq1HobYOsm2moC',
Jamie Madilldff93312020-09-25 13:31:25 -0400346 },
347 ],
348 'dep_type': 'cipd',
349 'condition': 'checkout_linux and not build_with_chromium',
350 },
351
352 'tools/skia_goldctl/win': {
353 'packages': [
354 {
355 'package': 'skia/tools/goldctl/windows-amd64',
angle-autoroll88c62182020-10-22 16:06:26 +0000356 'version': 'uchtgU5o7fKP3pU3wO7xE_MCNW7vkUEfaG4V2ehVOv4C',
Jamie Madilldff93312020-09-25 13:31:25 -0400357 },
358 ],
359 'dep_type': 'cipd',
360 'condition': 'checkout_win and not build_with_chromium',
361 },
362
363 'tools/skia_goldctl/mac': {
364 'packages': [
365 {
366 'package': 'skia/tools/goldctl/mac-amd64',
angle-autoroll88c62182020-10-22 16:06:26 +0000367 'version': 'zglqXfuaXqShJjRK_8fR8Fo2N-hczeJASDUh4Vy2s4gC',
Jamie Madilldff93312020-09-25 13:31:25 -0400368 },
369 ],
370 'dep_type': 'cipd',
371 'condition': 'checkout_mac and not build_with_chromium',
372 },
alokp@chromium.org29d56fb2010-04-06 15:42:22 +0000373}
374
alokp@chromium.org29d56fb2010-04-06 15:42:22 +0000375hooks = [
Jamie Madill2fdd3da2015-07-20 10:14:54 -0400376 # Pull clang-format binaries using checked-in hashes.
377 {
378 'name': 'clang_format_win',
379 'pattern': '.',
Edward Lemur8ae09b02018-06-01 14:18:28 -0400380 'condition': 'host_os == "win" and not build_with_chromium',
Jamie Madill2fdd3da2015-07-20 10:14:54 -0400381 'action': [ 'download_from_google_storage',
382 '--no_resume',
383 '--platform=win32',
384 '--no_auth',
385 '--bucket', 'chromium-clang-format',
Jamie Madill8ba50492019-10-10 17:46:54 -0400386 '-s', 'buildtools/win/clang-format.exe.sha1',
Jamie Madill2fdd3da2015-07-20 10:14:54 -0400387 ],
388 },
389 {
390 'name': 'clang_format_mac',
391 'pattern': '.',
Edward Lemur8ae09b02018-06-01 14:18:28 -0400392 'condition': 'host_os == "mac" and not build_with_chromium',
Jamie Madill2fdd3da2015-07-20 10:14:54 -0400393 'action': [ 'download_from_google_storage',
394 '--no_resume',
395 '--platform=darwin',
396 '--no_auth',
397 '--bucket', 'chromium-clang-format',
Jamie Madill8ba50492019-10-10 17:46:54 -0400398 '-s', 'buildtools/mac/clang-format.sha1',
Jamie Madill2fdd3da2015-07-20 10:14:54 -0400399 ],
400 },
401 {
402 'name': 'clang_format_linux',
403 'pattern': '.',
Edward Lemur8ae09b02018-06-01 14:18:28 -0400404 'condition': 'host_os == "linux" and not build_with_chromium',
Jamie Madill2fdd3da2015-07-20 10:14:54 -0400405 'action': [ 'download_from_google_storage',
406 '--no_resume',
407 '--platform=linux*',
408 '--no_auth',
409 '--bucket', 'chromium-clang-format',
Jamie Madill8ba50492019-10-10 17:46:54 -0400410 '-s', 'buildtools/linux64/clang-format.sha1',
Jamie Madill2fdd3da2015-07-20 10:14:54 -0400411 ],
412 },
Tobin Ehlis9d4277b2018-05-21 16:22:22 -0600413 {
414 'name': 'sysroot_x86',
415 'pattern': '.',
Edward Lemur8ae09b02018-06-01 14:18:28 -0400416 'condition': 'checkout_linux and ((checkout_x86 or checkout_x64) and not build_with_chromium)',
Jamie Madill8ba50492019-10-10 17:46:54 -0400417 'action': ['python', 'build/linux/sysroot_scripts/install-sysroot.py',
Tobin Ehlis9d4277b2018-05-21 16:22:22 -0600418 '--arch=x86'],
419 },
420 {
421 'name': 'sysroot_x64',
422 'pattern': '.',
Edward Lemur8ae09b02018-06-01 14:18:28 -0400423 'condition': 'checkout_linux and (checkout_x64 and not build_with_chromium)',
Jamie Madill8ba50492019-10-10 17:46:54 -0400424 'action': ['python', 'build/linux/sysroot_scripts/install-sysroot.py',
Tobin Ehlis9d4277b2018-05-21 16:22:22 -0600425 '--arch=x64'],
426 },
Jamie Madill027717f2018-04-13 15:51:24 -0400427 {
428 # Update the Windows toolchain if necessary. Must run before 'clang' below.
429 'name': 'win_toolchain',
430 'pattern': '.',
Edward Lemur8ae09b02018-06-01 14:18:28 -0400431 'condition': 'checkout_win and not build_with_chromium',
Jamie Madill8ba50492019-10-10 17:46:54 -0400432 'action': ['python', 'build/vs_toolchain.py', 'update', '--force'],
Jamie Madill027717f2018-04-13 15:51:24 -0400433 },
Geoff Lang66ae5312019-04-01 16:35:53 -0400434 {
435 # Update the Mac toolchain if necessary.
436 'name': 'mac_toolchain',
437 'pattern': '.',
438 'condition': 'checkout_mac and not build_with_chromium',
Jamie Madill8ba50492019-10-10 17:46:54 -0400439 'action': ['python', 'build/mac_toolchain.py'],
Geoff Lang66ae5312019-04-01 16:35:53 -0400440 },
Jamie Madill027717f2018-04-13 15:51:24 -0400441
alokp@chromium.org29d56fb2010-04-06 15:42:22 +0000442 {
Frank Henigmand0ef13a2017-08-28 22:53:24 -0400443 # Note: On Win, this should run after win_toolchain, as it may use it.
444 'name': 'clang',
445 'pattern': '.',
Jamie Madill8ba50492019-10-10 17:46:54 -0400446 'action': ['python', 'tools/clang/scripts/update.py'],
Edward Lemur8ae09b02018-06-01 14:18:28 -0400447 'condition': 'not build_with_chromium',
Frank Henigmand0ef13a2017-08-28 22:53:24 -0400448 },
Jamie Madill940c48b2017-10-23 23:25:17 -0400449
Shahbaz Youssefi957e9b82018-10-05 11:00:50 -0400450 {
451 # Update LASTCHANGE.
452 'name': 'lastchange',
453 'pattern': '.',
454 'condition': 'not build_with_chromium',
Jamie Madill8ba50492019-10-10 17:46:54 -0400455 'action': ['python', 'build/util/lastchange.py',
456 '-o', 'build/util/LASTCHANGE'],
Shahbaz Youssefi957e9b82018-10-05 11:00:50 -0400457 },
458
Jamie Madill940c48b2017-10-23 23:25:17 -0400459 # Pull rc binaries using checked-in hashes.
460 {
461 'name': 'rc_win',
462 'pattern': '.',
Edward Lemur8ae09b02018-06-01 14:18:28 -0400463 'condition': 'checkout_win and (host_os == "win" and not build_with_chromium)',
Jamie Madill940c48b2017-10-23 23:25:17 -0400464 'action': [ 'download_from_google_storage',
465 '--no_resume',
466 '--no_auth',
467 '--bucket', 'chromium-browser-clang/rc',
Jamie Madill8ba50492019-10-10 17:46:54 -0400468 '-s', 'build/toolchain/win/rc/win/rc.exe.sha1',
Jamie Madill940c48b2017-10-23 23:25:17 -0400469 ],
470 },
Michael Spang229fc832019-01-21 18:09:15 -0500471
472 {
473 'name': 'fuchsia_sdk',
474 'pattern': '.',
475 'condition': 'checkout_fuchsia and not build_with_chromium',
476 'action': [
477 'python',
Jamie Madill8ba50492019-10-10 17:46:54 -0400478 'build/fuchsia/update_sdk.py',
Michael Spang229fc832019-01-21 18:09:15 -0500479 ],
480 },
Jamie Madilld5ff4fa2019-04-08 09:25:23 -0400481
Shahbaz Youssefi82418c82019-04-05 15:56:03 -0400482 # Download glslang validator binary for Linux.
483 {
484 'name': 'linux_glslang_validator',
485 'pattern': '.',
486 'condition': 'checkout_linux and not build_with_chromium',
487 'action': [ 'download_from_google_storage',
488 '--no_resume',
489 '--platform=linux*',
490 '--no_auth',
491 '--bucket', 'angle-glslang-validator',
Jamie Madill8ba50492019-10-10 17:46:54 -0400492 '-s', 'tools/glslang/glslang_validator.sha1',
Shahbaz Youssefi82418c82019-04-05 15:56:03 -0400493 ],
494 },
495
Jamie Madilld5ff4fa2019-04-08 09:25:23 -0400496 # Download glslang validator binary for Windows.
497 {
498 'name': 'win_glslang_validator',
499 'pattern': '.',
500 'condition': 'checkout_win and not build_with_chromium',
501 'action': [ 'download_from_google_storage',
502 '--no_resume',
503 '--platform=win32*',
504 '--no_auth',
505 '--bucket', 'angle-glslang-validator',
Jamie Madill8ba50492019-10-10 17:46:54 -0400506 '-s', 'tools/glslang/glslang_validator.exe.sha1',
Jamie Madilld5ff4fa2019-04-08 09:25:23 -0400507 ],
508 },
Shahbaz Youssefi5efb36b2019-11-25 16:14:55 -0500509
510 # Download flex/bison binaries for Linux.
511 {
512 'name': 'linux_flex_bison',
513 'pattern': '.',
514 'condition': 'checkout_linux and not build_with_chromium',
515 'action': [ 'download_from_google_storage',
516 '--no_resume',
517 '--platform=linux*',
518 '--no_auth',
519 '--bucket', 'angle-flex-bison',
520 '-d', 'tools/flex-bison/linux/',
521 ],
522 },
523
524 # Download flex/bison binaries for Windows.
525 {
526 'name': 'win_flex_bison',
527 'pattern': '.',
528 'condition': 'checkout_win and not build_with_chromium',
529 'action': [ 'download_from_google_storage',
530 '--no_resume',
531 '--platform=win32*',
532 '--no_auth',
533 '--bucket', 'angle-flex-bison',
534 '-d', 'tools/flex-bison/windows/',
535 ],
536 },
Cody Northrop080d7112020-01-08 13:04:44 -0700537
538 # Download internal captures for perf tests
539 {
540 'name': 'restricted_traces',
541 'pattern': '\\.sha1',
542 'condition': 'checkout_angle_internal',
Jamie Madilla7c16c22020-10-21 22:54:56 -0400543 'action': [ 'vpython3',
Jamie Madillbda22052020-09-17 14:37:25 -0400544 'src/tests/restricted_traces/download_restricted_traces.py',
545 'src/tests/restricted_traces',
Cody Northrop080d7112020-01-08 13:04:44 -0700546 ]
547 }
alokp@chromium.org29d56fb2010-04-06 15:42:22 +0000548]
Jamie Madill20789312016-10-28 14:05:26 -0400549
550recursedeps = [
551 # buildtools provides clang_format.
Jamie Madill8ba50492019-10-10 17:46:54 -0400552 'buildtools',
Jamie Madill07035682019-10-25 09:00:41 -0400553 'third_party/googletest',
Jamie Madille7c8e802019-10-26 08:16:12 -0400554 'third_party/jsoncpp',
Jamie Madill20789312016-10-28 14:05:26 -0400555]