blob: f5cc17946c749a351d05ef95c08d40861c34d39b [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-autorolla13f6842020-12-08 07:54:47 +000023 'chromium_revision': 'a3984b7ec4aeffd722e85675646286022191fdcb',
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-autorolld6029d62020-12-04 13:54:15 +000029 'vk_gl_cts_revision': '41331850eb212df08e010b4d861992fe0aae6222',
Edward Lemur8ae09b02018-06-01 14:18:28 -040030
31 # Current revision of glslang, the Khronos SPIRV compiler.
angle-autoroll4277f2f2020-12-03 20:15:30 +000032 'glslang_revision': 'dd69df7f3dac26362e10b0f38efb9e47990f7537',
Edward Lemur8ae09b02018-06-01 14:18:28 -040033
Jamie Madill07035682019-10-25 09:00:41 -040034 # Current revision of googletest.
35 # Note: this dep cannot be auto-rolled b/c of nesting.
Yuly Novikov7d38b0b2020-08-19 17:33:31 -040036 'googletest_revision': '4fe018038f87675c083d0cfb6a6b57c274fb1753',
37
38 # Current revision of Chrome's third_party googletest directory. This
39 # repository is mirrored as a separate repository, with separate git hashes
40 # that don't match the external googletest repository or Chrome. Mirrored
41 # patches will have a different git hash associated with them.
42 # To roll, first get the new hash for chromium_googletest_revision from the
43 # mirror of third_party/googletest located here:
44 # https://chromium.googlesource.com/chromium/src/third_party/googletest/
45 # Then get the new hash for googletest_revision from the root Chrome DEPS
46 # file: https://source.chromium.org/chromium/chromium/src/+/master:DEPS
47 'chromium_googletest_revision': 'c20c5a3085ab4d90fdb403e3ac98e7991317dd27',
Jamie Madill07035682019-10-25 09:00:41 -040048
Jamie Madille7c8e802019-10-26 08:16:12 -040049 # Current revision of jsoncpp.
50 # Note: this dep cannot be auto-rolled b/c of nesting.
51 'jsoncpp_revision': '645250b6690785be60ab6780ce4b58698d884d11',
52
Jordan Bayles1265dbe2020-06-24 15:12:17 -070053 # Current revision of Chrome's third_party jsoncpp directory. This repository
54 # is mirrored as a separate repository, with separate git hashes that
55 # don't match the external JsonCpp repository or Chrome. Mirrored patches
56 # will have a different git hash associated with them.
57 # To roll, first get the new hash for chromium_jsoncpp_revision from the
58 # mirror of third_party/jsoncpp located here:
59 # https://chromium.googlesource.com/chromium/src/third_party/jsoncpp/
60 # Then get the new hash for jsoncpp_revision from the root Chrome DEPS file:
61 # https://source.chromium.org/chromium/chromium/src/+/master:DEPS
Yuly Novikov7d38b0b2020-08-19 17:33:31 -040062 'chromium_jsoncpp_revision': '30a6ac108e24dabac7c2e0df4d33d55032af4ee7',
Jordan Bayles1265dbe2020-06-24 15:12:17 -070063
Jamie Madille7c8e802019-10-26 08:16:12 -040064 # Current revision of patched-yasm.
65 # Note: this dep cannot be auto-rolled b/c of nesting.
66 'patched_yasm_revision': '720b70524a4424b15fc57e82263568c8ba0496ad',
67
Le Quyena5a04ac2019-10-29 22:57:55 +080068 # Current revision of spirv-cross, the Khronos SPIRV cross compiler.
Le Hoang Quyenbcf99572020-05-11 00:50:00 +080069 'spirv_cross_revision': 'f38cbeb814c73510b85697adbe5e894f9eac978f',
Le Quyena5a04ac2019-10-29 22:57:55 +080070
Edward Lemur8ae09b02018-06-01 14:18:28 -040071 # Current revision fo the SPIRV-Headers Vulkan support library.
angle-autorolled489d12020-10-23 10:01:13 +000072 'spirv_headers_revision': '05836bdba63e7debce9fa9feaed42f20cd43af9d',
Edward Lemur8ae09b02018-06-01 14:18:28 -040073
74 # Current revision of SPIRV-Tools for Vulkan.
angle-autorolla80726a2020-11-19 10:01:18 +000075 'spirv_tools_revision': '671914c28e8249f0a555726a0f3f38691fe5c1df',
Edward Lemur8ae09b02018-06-01 14:18:28 -040076
Tobin Ehlisb971f492018-05-24 10:56:17 -060077 # Current revision of Khronos Vulkan-Headers.
angle-autorollc91cb9e2020-11-18 10:01:25 +000078 'vulkan_headers_revision': '30e70cbd9850560cb55bffadb8017e90c04c42f5',
Tobin Ehlisb971f492018-05-24 10:56:17 -060079
80 # Current revision of Khronos Vulkan-Loader.
angle-autoroll81de58a2020-11-24 10:01:09 +000081 'vulkan_loader_revision': '02a49daeeeceb077e5ab8c80e87c22dcbb4a102b',
Tobin Ehlisb971f492018-05-24 10:56:17 -060082
83 # Current revision of Khronos Vulkan-Tools.
angle-autoroll8a657ff2020-11-24 10:01:28 +000084 'vulkan_tools_revision': '0e8c2a5ca5f302f0137550bca1d8557cbaf87ad7',
Tobin Ehlisb971f492018-05-24 10:56:17 -060085
86 # Current revision of Khronos Vulkan-ValidationLayers.
angle-autoroll619ae002020-11-30 10:01:51 +000087 'vulkan_validation_revision': 'ce0450b9e8e54f0b8c6fff185166e1e42e0cf7c2',
Geoff Lang6e687af2019-10-17 14:36:41 -040088
89 # Three lines of non-changing comments so that
90 # the commit queue can handle CLs rolling catapult
91 # and whatever else without interference from each other.
angle-autorolla13f6842020-12-08 07:54:47 +000092 'catapult_revision': '4565794f5eda08cefef9bf842e16249fc8aeb5bc',
Jamie Madillb99bbba2020-09-13 10:34:54 -040093
94 # Three lines of non-changing comments so that
95 # the commit queue can handle CLs rolling luci-go
96 # and whatever else without interference from each other.
angle-autoroll3d061022020-11-30 08:16:49 +000097 'luci_go': 'git_revision:67aba6e3373bb0b9e3ef9871362045736cd29b6e',
Jamie Madill2fdd3da2015-07-20 10:14:54 -040098}
99
alokp@chromium.org29d56fb2010-04-06 15:42:22 +0000100deps = {
alokp@chromium.org416fcd32012-04-11 16:23:44 +0000101
Jamie Madill8ba50492019-10-10 17:46:54 -0400102 'build': {
angle-autorolla13f6842020-12-08 07:54:47 +0000103 'url': '{chromium_git}/chromium/src/build.git@115823df498dc216a4167523e2a41be1ba009489',
Edward Lemur8ae09b02018-06-01 14:18:28 -0400104 'condition': 'not build_with_chromium',
105 },
Frank Henigmand0ef13a2017-08-28 22:53:24 -0400106
Jamie Madill8ba50492019-10-10 17:46:54 -0400107 'buildtools': {
angle-autorolldc515d42020-11-06 07:00:05 +0000108 'url': '{chromium_git}/chromium/src/buildtools.git@6302c1175607a436e18947a5abe9df2209e845fc',
Edward Lemur8ae09b02018-06-01 14:18:28 -0400109 'condition': 'not build_with_chromium',
110 },
Frank Henigmand0ef13a2017-08-28 22:53:24 -0400111
Jamie Madill8ba50492019-10-10 17:46:54 -0400112 'testing': {
angle-autorolla13f6842020-12-08 07:54:47 +0000113 'url': '{chromium_git}/chromium/src/testing@baeb2e9897cc343767ac1a246364b6f3f327b9dc',
Edward Lemur8ae09b02018-06-01 14:18:28 -0400114 'condition': 'not build_with_chromium',
115 },
alokp@chromium.org5cd9c602012-05-16 23:37:50 +0000116
Tim Van Pattened337952020-07-23 12:58:10 -0600117 'third_party/abseil-cpp': {
angle-autorolla13f6842020-12-08 07:54:47 +0000118 'url': '{chromium_git}/chromium/src/third_party/abseil-cpp@29b47fedf0572a3b18608439e1c5d98030f241f7',
Tim Van Pattened337952020-07-23 12:58:10 -0600119 'condition': 'not build_with_chromium',
120 },
121
Jamie Madill23211582020-07-21 10:08:03 -0400122 'third_party/android_ndk': {
123 'url': '{chromium_git}/android_ndk.git@27c0a8d090c666a50e40fceb4ee5b40b1a2d3f87',
124 'condition': 'checkout_android and not build_with_chromium',
125 },
126
127 'third_party/catapult': {
128 'url': '{chromium_git}/catapult.git@{catapult_revision}',
Jamie Madillacd15ca2020-10-11 17:16:34 -0400129 'condition': 'not build_with_chromium',
Jamie Madill23211582020-07-21 10:08:03 -0400130 },
131
Courtney Goeltzenleuchterfebdcf52019-10-28 10:54:03 -0600132 # 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 -0400133 'third_party/cherry': {
Edward Lemur8ae09b02018-06-01 14:18:28 -0400134 'url': '{android_git}/platform/external/cherry@4f8fb08d33ca5ff05a1c638f04c85bbb8d8b52cc',
135 'condition': 'not build_with_chromium',
136 },
Jamie Madill9e76f562015-10-02 08:57:14 -0400137
Yuly Novikov6a652f12020-08-12 21:12:47 -0400138 # We never want to checkout chromium,
139 # but need a dummy DEPS entry for the autoroller
140 'third_party/dummy_chromium': {
141 'url': '{chromium_git}/chromium/src.git@{chromium_revision}',
142 'condition': 'dummy_checkout_chromium',
143 },
144
Jamie Madill8ba50492019-10-10 17:46:54 -0400145 'third_party/fuchsia-sdk': {
Jamie Madill130fdbc2019-10-10 19:13:07 -0400146 'url': '{chromium_git}/chromium/src/third_party/fuchsia-sdk.git@1785f0ac8e1fe81cb25e260acbe7de8f62fa3e44',
Jamie Madill9f958342019-04-08 09:40:40 -0400147 'condition': 'checkout_fuchsia and not build_with_chromium',
148 },
149
Jamie Madill67a017f2019-10-10 15:27:27 -0400150 # Closed-source OpenGL ES 1.1 Conformance tests.
Jamie Madill8ba50492019-10-10 17:46:54 -0400151 'third_party/gles1_conform': {
Jamie Madill67a017f2019-10-10 15:27:27 -0400152 'url': '{chrome_internal_git}/angle/es-cts.git@dc9f502f709c9cd88d7f8d3974f1c77aa246958e',
Cody Northrop84f45f12019-12-18 14:34:29 -0700153 'condition': 'checkout_angle_internal',
Jamie Madill67a017f2019-10-10 15:27:27 -0400154 },
155
Jamie Madill55959b02019-03-05 10:07:41 -0500156 # glmark2 is a GPL3-licensed OpenGL ES 2.0 benchmark. We use it for testing.
Jamie Madill8ba50492019-10-10 17:46:54 -0400157 'third_party/glmark2/src': {
Jamie Madill2971fd32019-08-12 16:53:21 -0400158 'url': '{chromium_git}/external/github.com/glmark2/glmark2@9e01aef1a786b28aca73135a5b00f85c357e8f5e',
Jamie Madill55959b02019-03-05 10:07:41 -0500159 },
160
Jamie Madill8ba50492019-10-10 17:46:54 -0400161 'third_party/glslang/src': {
Tobin Ehlis317a9eb2018-11-29 12:51:46 -0700162 'url': '{chromium_git}/external/github.com/KhronosGroup/glslang@{glslang_revision}',
Jamie Madill0cb3b0f2019-01-28 09:55:20 -0500163 'condition': 'not build_with_chromium',
Jamie Madill55959b02019-03-05 10:07:41 -0500164 },
Jamie Madill37ee8a62016-12-13 15:18:58 -0500165
Jamie Madill8ba50492019-10-10 17:46:54 -0400166 'third_party/googletest': {
Yuly Novikov7d38b0b2020-08-19 17:33:31 -0400167 'url': '{chromium_git}/chromium/src/third_party/googletest@{chromium_googletest_revision}',
Jamie Madillcf9b2852019-02-13 09:15:26 -0500168 'condition': 'not build_with_chromium',
169 },
170
Jamie Madill55959b02019-03-05 10:07:41 -0500171 # libjpeg_turbo is used by glmark2.
Jamie Madill8ba50492019-10-10 17:46:54 -0400172 'third_party/libjpeg_turbo': {
angle-autorollaafe8552020-12-04 22:47:48 +0000173 'url': '{chromium_git}/chromium/deps/libjpeg_turbo.git@bbb828223e9c8f83f0e84db1e98b116029e62765',
Jamie Madill55959b02019-03-05 10:07:41 -0500174 'condition': 'not build_with_chromium',
175 },
176
Jamie Madill8ba50492019-10-10 17:46:54 -0400177 'third_party/libpng/src': {
Edward Lemur8ae09b02018-06-01 14:18:28 -0400178 'url': '{android_git}/platform/external/libpng@094e181e79a3d6c23fd005679025058b7df1ad6c',
179 'condition': 'not build_with_chromium',
180 },
Jamie Madill37ee8a62016-12-13 15:18:58 -0500181
Jamie Madill8ba50492019-10-10 17:46:54 -0400182 'third_party/jsoncpp': {
Jordan Bayles1265dbe2020-06-24 15:12:17 -0700183 'url': '{chromium_git}/chromium/src/third_party/jsoncpp@{chromium_jsoncpp_revision}',
Jamie Madill0cb3b0f2019-01-28 09:55:20 -0500184 'condition': 'not build_with_chromium',
185 },
Tobin Ehlis5fdc38c2018-08-28 09:20:57 -0600186
Jamie Madill43951702020-04-27 16:57:46 -0400187 'third_party/nasm': {
Jamie Madill23211582020-07-21 10:08:03 -0400188 'url': '{chromium_git}/chromium/deps/nasm.git@19f3fad68da99277b2882939d3b2fa4c4b8d51d9',
Jamie Madill43951702020-04-27 16:57:46 -0400189 'condition': 'not build_with_chromium',
190 },
191
Jamie Madillacd15ca2020-10-11 17:16:34 -0400192 'third_party/protobuf': {
angle-autorolla13f6842020-12-08 07:54:47 +0000193 'url': '{chromium_git}/chromium/src/third_party/protobuf@129acc201e9479fd2b273c61a3cf94f8c3ce3852',
Jamie Madillacd15ca2020-10-11 17:16:34 -0400194 'condition': 'not build_with_chromium',
195 },
196
Jamie Madill8ba50492019-10-10 17:46:54 -0400197 'third_party/Python-Markdown': {
angle-autorolla13f6842020-12-08 07:54:47 +0000198 'url': '{chromium_git}/chromium/src/third_party/Python-Markdown@2bb7b23b6398f9e79bc2fa8c6bc64a3cf1613ebf',
Jamie Madill9f958342019-04-08 09:40:40 -0400199 'condition': 'not build_with_chromium',
200 },
201
Jamie Madill8ba50492019-10-10 17:46:54 -0400202 'third_party/qemu-linux-x64': {
Michael Spang229fc832019-01-21 18:09:15 -0500203 'packages': [
204 {
205 'package': 'fuchsia/qemu/linux-amd64',
206 'version': '9cc486c5b18a0be515c39a280ca9a309c54cf994'
207 },
208 ],
209 'condition': 'not build_with_chromium and (host_os == "linux" and checkout_fuchsia)',
210 'dep_type': 'cipd',
211 },
212
Jamie Madill8ba50492019-10-10 17:46:54 -0400213 'third_party/qemu-mac-x64': {
Michael Spang229fc832019-01-21 18:09:15 -0500214 'packages': [
215 {
216 'package': 'fuchsia/qemu/mac-amd64',
217 'version': '2d3358ae9a569b2d4a474f498b32b202a152134f'
218 },
219 ],
220 'condition': 'not build_with_chromium and (host_os == "mac" and checkout_fuchsia)',
221 'dep_type': 'cipd',
222 },
223
Jamie Madill8ba50492019-10-10 17:46:54 -0400224 'third_party/rapidjson/src': {
Jamie Madill46d32e02019-02-25 17:13:16 -0500225 'url': '{chromium_git}/external/github.com/Tencent/rapidjson@7484e06c589873e1ed80382d262087e4fa80fb63',
226 },
227
Le Quyena5a04ac2019-10-29 22:57:55 +0800228 'third_party/spirv-cross/src': {
229 'url': '{chromium_git}/external/github.com/KhronosGroup/SPIRV-Cross@{spirv_cross_revision}',
230 'condition': 'not build_with_chromium',
231 },
232
Jamie Madill8ba50492019-10-10 17:46:54 -0400233 'third_party/spirv-headers/src': {
Jamie Madill0cb3b0f2019-01-28 09:55:20 -0500234 'url': '{chromium_git}/external/github.com/KhronosGroup/SPIRV-Headers@{spirv_headers_revision}',
Corentin Walleza883dd02018-08-03 18:11:46 +0200235 'condition': 'not build_with_chromium',
Edward Lemur8ae09b02018-06-01 14:18:28 -0400236 },
Jamie Madill37ee8a62016-12-13 15:18:58 -0500237
Jamie Madill8ba50492019-10-10 17:46:54 -0400238 'third_party/spirv-tools/src': {
Jamie Madill0cb3b0f2019-01-28 09:55:20 -0500239 'url': '{chromium_git}/external/github.com/KhronosGroup/SPIRV-Tools@{spirv_tools_revision}',
Corentin Walleza883dd02018-08-03 18:11:46 +0200240 'condition': 'not build_with_chromium',
Edward Lemur8ae09b02018-06-01 14:18:28 -0400241 },
Jamie Madill37ee8a62016-12-13 15:18:58 -0500242
Jamie Madill8ba50492019-10-10 17:46:54 -0400243 'third_party/SwiftShader': {
angle-autorollcf023b32020-12-07 10:01:36 +0000244 'url': '{swiftshader_git}/SwiftShader@7c84426d2abe231f3087a2942fd831137eb3b0aa',
Jamie Madill8be7a4c2019-09-19 12:48:31 -0400245 'condition': 'not build_with_chromium',
246 },
247
Tim Van Pattened337952020-07-23 12:58:10 -0600248 'third_party/VK-GL-CTS/src': {
249 'url': '{chromium_git}/external/github.com/KhronosGroup/VK-GL-CTS@{vk_gl_cts_revision}',
250 },
251
Jamie Madill8ba50492019-10-10 17:46:54 -0400252 'third_party/vulkan-headers/src': {
Tobin Ehlisb971f492018-05-24 10:56:17 -0600253 'url': '{chromium_git}/external/github.com/KhronosGroup/Vulkan-Headers@{vulkan_headers_revision}',
254 },
255
Jamie Madill8ba50492019-10-10 17:46:54 -0400256 'third_party/vulkan-loader/src': {
Tobin Ehlisb971f492018-05-24 10:56:17 -0600257 'url': '{chromium_git}/external/github.com/KhronosGroup/Vulkan-Loader@{vulkan_loader_revision}',
258 },
259
Tim Van Pattened337952020-07-23 12:58:10 -0600260 'third_party/vulkan_memory_allocator': {
261 'url': '{chromium_git}/external/github.com/GPUOpen-LibrariesAndSDKs/VulkanMemoryAllocator@065e739079d9d58bef28ccd793cbf512261f09ed',
262 'condition': 'not build_with_chromium',
263 },
264
Jamie Madill8ba50492019-10-10 17:46:54 -0400265 'third_party/vulkan-tools/src': {
Tobin Ehlisb971f492018-05-24 10:56:17 -0600266 'url': '{chromium_git}/external/github.com/KhronosGroup/Vulkan-Tools@{vulkan_tools_revision}',
267 },
268
Jamie Madill8ba50492019-10-10 17:46:54 -0400269 'third_party/vulkan-validation-layers/src': {
Tobin Ehlisb971f492018-05-24 10:56:17 -0600270 'url': '{chromium_git}/external/github.com/KhronosGroup/Vulkan-ValidationLayers@{vulkan_validation_revision}',
Edward Lemur8ae09b02018-06-01 14:18:28 -0400271 },
Jamie Madill3cd438d2015-03-17 11:25:27 -0400272
Jamie Madill8ba50492019-10-10 17:46:54 -0400273 'third_party/zlib': {
angle-autorolla13f6842020-12-08 07:54:47 +0000274 'url': '{chromium_git}/chromium/src/third_party/zlib@2c183c9f93a328bfb3121284da13cf89a0f7e64a',
Edward Lemur8ae09b02018-06-01 14:18:28 -0400275 'condition': 'not build_with_chromium',
276 },
Frank Henigmand0ef13a2017-08-28 22:53:24 -0400277
Jamie Madill8ba50492019-10-10 17:46:54 -0400278 'tools/clang': {
angle-autorolla13f6842020-12-08 07:54:47 +0000279 'url': '{chromium_git}/chromium/src/tools/clang.git@36810de98188eda7bdd6dd578cb5499d16f475b6',
Edward Lemur8ae09b02018-06-01 14:18:28 -0400280 'condition': 'not build_with_chromium',
281 },
Michael Spang229fc832019-01-21 18:09:15 -0500282
Le Hoang Quyencaeb2172019-11-20 22:30:17 +0800283 'tools/clang/dsymutil': {
284 'packages': [
285 {
286 'package': 'chromium/llvm-build-tools/dsymutil',
287 'version': 'M56jPzDv1620Rnm__jTMYS62Zi8rxHVq7yw0qeBFEgkC',
288 }
289 ],
290 'condition': 'checkout_mac and not build_with_chromium',
291 'dep_type': 'cipd',
292 },
293
Jamie Madillb99bbba2020-09-13 10:34:54 -0400294 'tools/luci-go': {
295 'packages': [
296 {
297 'package': 'infra/tools/luci/isolate/${{platform}}',
298 'version': Var('luci_go'),
299 },
300 {
301 'package': 'infra/tools/luci/isolated/${{platform}}',
302 'version': Var('luci_go'),
303 },
304 {
305 'package': 'infra/tools/luci/swarming/${{platform}}',
306 'version': Var('luci_go'),
307 },
308 ],
309 'condition': 'not build_with_chromium',
310 'dep_type': 'cipd',
311 },
312
313 'tools/mb': {
angle-autorolla13f6842020-12-08 07:54:47 +0000314 'url': '{chromium_git}/chromium/src/tools/mb@dddd39ba5ac85802da26c0b40f4621721f3a803e',
Jamie Madillb99bbba2020-09-13 10:34:54 -0400315 'condition': 'not build_with_chromium',
316 },
317
Jamie Madill8ba50492019-10-10 17:46:54 -0400318 'tools/md_browser': {
Yuly Novikov5dff6072020-08-19 20:57:36 -0400319 'url': '{chromium_git}/chromium/src/tools/md_browser@60141af3603925d99bf3fb22fdfca138416339b1',
Jamie Madill9f958342019-04-08 09:40:40 -0400320 'condition': 'not build_with_chromium',
Michael Spang229fc832019-01-21 18:09:15 -0500321 },
Jamie Madilldf0ce012019-09-05 11:04:39 -0400322
Jamie Madill8ba50492019-10-10 17:46:54 -0400323 'tools/memory': {
angle-autoroll64654a82020-12-02 16:33:31 +0000324 'url': '{chromium_git}/chromium/src/tools/memory@71214b910decfe2e7cfc8b0ffc072a1b97da2d36',
Jamie Madilldf0ce012019-09-05 11:04:39 -0400325 'condition': 'not build_with_chromium',
326 },
Jamie Madilldff93312020-09-25 13:31:25 -0400327
Jamie Madillacd15ca2020-10-11 17:16:34 -0400328 'tools/protoc_wrapper': {
329 'url': '{chromium_git}/chromium/src/tools/protoc_wrapper@203790d7975787dd77c3d870dadb9e4fdc9c907b',
330 'condition': 'not build_with_chromium',
331 },
332
Jamie Madilldff93312020-09-25 13:31:25 -0400333 'tools/skia_goldctl/linux': {
334 'packages': [
335 {
336 'package': 'skia/tools/goldctl/linux-amd64',
angle-autorollc0ed6c72020-12-04 07:49:08 +0000337 'version': 'U9IAKman_wN6alsQfNAUzIasErQFGDvx3wn9o0AQBlEC',
Jamie Madilldff93312020-09-25 13:31:25 -0400338 },
339 ],
340 'dep_type': 'cipd',
341 'condition': 'checkout_linux and not build_with_chromium',
342 },
343
344 'tools/skia_goldctl/win': {
345 'packages': [
346 {
347 'package': 'skia/tools/goldctl/windows-amd64',
angle-autorollc0ed6c72020-12-04 07:49:08 +0000348 'version': 'HYgBDvuNpEKiDYuVIssmP2wgCGe0FS-XKCe18wxZWKwC',
Jamie Madilldff93312020-09-25 13:31:25 -0400349 },
350 ],
351 'dep_type': 'cipd',
352 'condition': 'checkout_win and not build_with_chromium',
353 },
354
355 'tools/skia_goldctl/mac': {
356 'packages': [
357 {
358 'package': 'skia/tools/goldctl/mac-amd64',
angle-autorollc0ed6c72020-12-04 07:49:08 +0000359 'version': 'xF94ClStkjWlYHAlxYXSOCFYEGhzEgxZEwB4zirJIjUC',
Jamie Madilldff93312020-09-25 13:31:25 -0400360 },
361 ],
362 'dep_type': 'cipd',
363 'condition': 'checkout_mac and not build_with_chromium',
364 },
alokp@chromium.org29d56fb2010-04-06 15:42:22 +0000365}
366
alokp@chromium.org29d56fb2010-04-06 15:42:22 +0000367hooks = [
Jamie Madill2fdd3da2015-07-20 10:14:54 -0400368 # Pull clang-format binaries using checked-in hashes.
369 {
370 'name': 'clang_format_win',
371 'pattern': '.',
Edward Lemur8ae09b02018-06-01 14:18:28 -0400372 'condition': 'host_os == "win" and not build_with_chromium',
Jamie Madill2fdd3da2015-07-20 10:14:54 -0400373 'action': [ 'download_from_google_storage',
374 '--no_resume',
375 '--platform=win32',
376 '--no_auth',
377 '--bucket', 'chromium-clang-format',
Jamie Madill8ba50492019-10-10 17:46:54 -0400378 '-s', 'buildtools/win/clang-format.exe.sha1',
Jamie Madill2fdd3da2015-07-20 10:14:54 -0400379 ],
380 },
381 {
382 'name': 'clang_format_mac',
383 'pattern': '.',
Edward Lemur8ae09b02018-06-01 14:18:28 -0400384 'condition': 'host_os == "mac" and not build_with_chromium',
Jamie Madill2fdd3da2015-07-20 10:14:54 -0400385 'action': [ 'download_from_google_storage',
386 '--no_resume',
387 '--platform=darwin',
388 '--no_auth',
389 '--bucket', 'chromium-clang-format',
Jamie Madill8ba50492019-10-10 17:46:54 -0400390 '-s', 'buildtools/mac/clang-format.sha1',
Jamie Madill2fdd3da2015-07-20 10:14:54 -0400391 ],
392 },
393 {
394 'name': 'clang_format_linux',
395 'pattern': '.',
Edward Lemur8ae09b02018-06-01 14:18:28 -0400396 'condition': 'host_os == "linux" and not build_with_chromium',
Jamie Madill2fdd3da2015-07-20 10:14:54 -0400397 'action': [ 'download_from_google_storage',
398 '--no_resume',
399 '--platform=linux*',
400 '--no_auth',
401 '--bucket', 'chromium-clang-format',
Jamie Madill8ba50492019-10-10 17:46:54 -0400402 '-s', 'buildtools/linux64/clang-format.sha1',
Jamie Madill2fdd3da2015-07-20 10:14:54 -0400403 ],
404 },
Tobin Ehlis9d4277b2018-05-21 16:22:22 -0600405 {
406 'name': 'sysroot_x86',
407 'pattern': '.',
Edward Lemur8ae09b02018-06-01 14:18:28 -0400408 'condition': 'checkout_linux and ((checkout_x86 or 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=x86'],
411 },
412 {
413 'name': 'sysroot_x64',
414 'pattern': '.',
Edward Lemur8ae09b02018-06-01 14:18:28 -0400415 'condition': 'checkout_linux and (checkout_x64 and not build_with_chromium)',
Jamie Madill8ba50492019-10-10 17:46:54 -0400416 'action': ['python', 'build/linux/sysroot_scripts/install-sysroot.py',
Tobin Ehlis9d4277b2018-05-21 16:22:22 -0600417 '--arch=x64'],
418 },
Jamie Madill027717f2018-04-13 15:51:24 -0400419 {
420 # Update the Windows toolchain if necessary. Must run before 'clang' below.
421 'name': 'win_toolchain',
422 'pattern': '.',
Edward Lemur8ae09b02018-06-01 14:18:28 -0400423 'condition': 'checkout_win and not build_with_chromium',
Jamie Madill8ba50492019-10-10 17:46:54 -0400424 'action': ['python', 'build/vs_toolchain.py', 'update', '--force'],
Jamie Madill027717f2018-04-13 15:51:24 -0400425 },
Geoff Lang66ae5312019-04-01 16:35:53 -0400426 {
427 # Update the Mac toolchain if necessary.
428 'name': 'mac_toolchain',
429 'pattern': '.',
430 'condition': 'checkout_mac and not build_with_chromium',
Jamie Madill8ba50492019-10-10 17:46:54 -0400431 'action': ['python', 'build/mac_toolchain.py'],
Geoff Lang66ae5312019-04-01 16:35:53 -0400432 },
Jamie Madill027717f2018-04-13 15:51:24 -0400433
alokp@chromium.org29d56fb2010-04-06 15:42:22 +0000434 {
Frank Henigmand0ef13a2017-08-28 22:53:24 -0400435 # Note: On Win, this should run after win_toolchain, as it may use it.
436 'name': 'clang',
437 'pattern': '.',
Jamie Madill8ba50492019-10-10 17:46:54 -0400438 'action': ['python', 'tools/clang/scripts/update.py'],
Edward Lemur8ae09b02018-06-01 14:18:28 -0400439 'condition': 'not build_with_chromium',
Frank Henigmand0ef13a2017-08-28 22:53:24 -0400440 },
Jamie Madill940c48b2017-10-23 23:25:17 -0400441
Shahbaz Youssefi957e9b82018-10-05 11:00:50 -0400442 {
443 # Update LASTCHANGE.
444 'name': 'lastchange',
445 'pattern': '.',
446 'condition': 'not build_with_chromium',
Jamie Madill8ba50492019-10-10 17:46:54 -0400447 'action': ['python', 'build/util/lastchange.py',
448 '-o', 'build/util/LASTCHANGE'],
Shahbaz Youssefi957e9b82018-10-05 11:00:50 -0400449 },
450
Jamie Madill940c48b2017-10-23 23:25:17 -0400451 # Pull rc binaries using checked-in hashes.
452 {
453 'name': 'rc_win',
454 'pattern': '.',
Edward Lemur8ae09b02018-06-01 14:18:28 -0400455 'condition': 'checkout_win and (host_os == "win" and not build_with_chromium)',
Jamie Madill940c48b2017-10-23 23:25:17 -0400456 'action': [ 'download_from_google_storage',
457 '--no_resume',
458 '--no_auth',
459 '--bucket', 'chromium-browser-clang/rc',
Jamie Madill8ba50492019-10-10 17:46:54 -0400460 '-s', 'build/toolchain/win/rc/win/rc.exe.sha1',
Jamie Madill940c48b2017-10-23 23:25:17 -0400461 ],
462 },
Michael Spang229fc832019-01-21 18:09:15 -0500463
464 {
465 'name': 'fuchsia_sdk',
466 'pattern': '.',
467 'condition': 'checkout_fuchsia and not build_with_chromium',
468 'action': [
469 'python',
Jamie Madill8ba50492019-10-10 17:46:54 -0400470 'build/fuchsia/update_sdk.py',
Michael Spang229fc832019-01-21 18:09:15 -0500471 ],
472 },
Jamie Madilld5ff4fa2019-04-08 09:25:23 -0400473
Shahbaz Youssefi82418c82019-04-05 15:56:03 -0400474 # Download glslang validator binary for Linux.
475 {
476 'name': 'linux_glslang_validator',
477 'pattern': '.',
478 'condition': 'checkout_linux and not build_with_chromium',
479 'action': [ 'download_from_google_storage',
480 '--no_resume',
481 '--platform=linux*',
482 '--no_auth',
483 '--bucket', 'angle-glslang-validator',
Jamie Madill8ba50492019-10-10 17:46:54 -0400484 '-s', 'tools/glslang/glslang_validator.sha1',
Shahbaz Youssefi82418c82019-04-05 15:56:03 -0400485 ],
486 },
487
Jamie Madilld5ff4fa2019-04-08 09:25:23 -0400488 # Download glslang validator binary for Windows.
489 {
490 'name': 'win_glslang_validator',
491 'pattern': '.',
492 'condition': 'checkout_win and not build_with_chromium',
493 'action': [ 'download_from_google_storage',
494 '--no_resume',
495 '--platform=win32*',
496 '--no_auth',
497 '--bucket', 'angle-glslang-validator',
Jamie Madill8ba50492019-10-10 17:46:54 -0400498 '-s', 'tools/glslang/glslang_validator.exe.sha1',
Jamie Madilld5ff4fa2019-04-08 09:25:23 -0400499 ],
500 },
Shahbaz Youssefi5efb36b2019-11-25 16:14:55 -0500501
502 # Download flex/bison binaries for Linux.
503 {
504 'name': 'linux_flex_bison',
505 'pattern': '.',
506 'condition': 'checkout_linux and not build_with_chromium',
507 'action': [ 'download_from_google_storage',
508 '--no_resume',
509 '--platform=linux*',
510 '--no_auth',
511 '--bucket', 'angle-flex-bison',
512 '-d', 'tools/flex-bison/linux/',
513 ],
514 },
515
516 # Download flex/bison binaries for Windows.
517 {
518 'name': 'win_flex_bison',
519 'pattern': '.',
520 'condition': 'checkout_win and not build_with_chromium',
521 'action': [ 'download_from_google_storage',
522 '--no_resume',
523 '--platform=win32*',
524 '--no_auth',
525 '--bucket', 'angle-flex-bison',
526 '-d', 'tools/flex-bison/windows/',
527 ],
528 },
Cody Northrop080d7112020-01-08 13:04:44 -0700529
530 # Download internal captures for perf tests
531 {
532 'name': 'restricted_traces',
533 'pattern': '\\.sha1',
534 'condition': 'checkout_angle_internal',
Jamie Madilla7c16c22020-10-21 22:54:56 -0400535 'action': [ 'vpython3',
Jamie Madillbda22052020-09-17 14:37:25 -0400536 'src/tests/restricted_traces/download_restricted_traces.py',
537 'src/tests/restricted_traces',
Cody Northrop080d7112020-01-08 13:04:44 -0700538 ]
539 }
alokp@chromium.org29d56fb2010-04-06 15:42:22 +0000540]
Jamie Madill20789312016-10-28 14:05:26 -0400541
542recursedeps = [
543 # buildtools provides clang_format.
Jamie Madill8ba50492019-10-10 17:46:54 -0400544 'buildtools',
Jamie Madill07035682019-10-25 09:00:41 -0400545 'third_party/googletest',
Jamie Madille7c8e802019-10-26 08:16:12 -0400546 'third_party/jsoncpp',
Jamie Madill20789312016-10-28 14:05:26 -0400547]