blob: f81defd161d5998ec042f2958b8cf11f0e68be5a [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-autoroll46f8db42020-10-16 07:00:52 +000031 'chromium_revision': '20073b8681d2244969452b3775327dd5e22b434b',
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-autoroll10d329d2020-10-07 09:14:56 +000037 'vk_gl_cts_revision': '618e41c871d66e513224327c78aac3522d35a4a7',
Edward Lemur8ae09b02018-06-01 14:18:28 -040038
39 # Current revision of glslang, the Khronos SPIRV compiler.
angle-autorollbc2dd312020-10-13 10:01:41 +000040 'glslang_revision': 'f4f1d8a352ca1908943aea2ad8c54b39b4879080',
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-autorolld57f0432020-08-11 07:01:30 +000080 'spirv_headers_revision': '3fdabd0da2932c276b25b9b4a988ba134eba1aa6',
Edward Lemur8ae09b02018-06-01 14:18:28 -040081
82 # Current revision of SPIRV-Tools for Vulkan.
angle-autorollaaef5862020-10-14 10:01:58 +000083 'spirv_tools_revision': '5c64374dd6cbfff1294ec78cdae1bc9de870a07d',
Edward Lemur8ae09b02018-06-01 14:18:28 -040084
Tobin Ehlisb971f492018-05-24 10:56:17 -060085 # Current revision of Khronos Vulkan-Headers.
angle-autoroll2aaa38e2020-10-15 23:29:34 +000086 'vulkan_headers_revision': '04306fa5d673a69db5a79af80011c688b64d7711',
Tobin Ehlisb971f492018-05-24 10:56:17 -060087
88 # Current revision of Khronos Vulkan-Loader.
angle-autorollf30ae362020-10-09 10:01:30 +000089 'vulkan_loader_revision': '14ad927e679a0239516121ced288041f00bbaa26',
Tobin Ehlisb971f492018-05-24 10:56:17 -060090
91 # Current revision of Khronos Vulkan-Tools.
angle-autoroll468f0492020-10-07 10:01:46 +000092 'vulkan_tools_revision': '1abaced34b84831f60226ce67a702b2d841e1d87',
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.
100 'catapult_revision': '1b3fb455bf1849f1e6187e1eaeaef32b9f30d3c5',
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-autoroll46f8db42020-10-16 07:00:52 +0000111 'url': '{chromium_git}/chromium/src/build.git@53ad43e6195950f4d01a33dbf438ec75c4d30af8',
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-autoroll46f8db42020-10-16 07:00:52 +0000121 'url': '{chromium_git}/chromium/src/testing@14abbc061e02f683e7078180d51302dbfdb9486d',
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-autoroll46f8db42020-10-16 07:00:52 +0000126 'url': '{chromium_git}/chromium/src/third_party/abseil-cpp@9c0fc6713cc5c22719b4982f0f747eef1f41eb8b',
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}',
137 'condition': 'checkout_android and not build_with_chromium',
138 },
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 Madill8ba50492019-10-10 17:46:54 -0400200 'third_party/Python-Markdown': {
Yuly Novikov5dff6072020-08-19 20:57:36 -0400201 'url': '{chromium_git}/chromium/src/third_party/Python-Markdown@ad4fc19d612de0a3f6ea19441af703ff5a5223f3',
Jamie Madill9f958342019-04-08 09:40:40 -0400202 'condition': 'not build_with_chromium',
203 },
204
Jamie Madill8ba50492019-10-10 17:46:54 -0400205 'third_party/qemu-linux-x64': {
Michael Spang229fc832019-01-21 18:09:15 -0500206 'packages': [
207 {
208 'package': 'fuchsia/qemu/linux-amd64',
209 'version': '9cc486c5b18a0be515c39a280ca9a309c54cf994'
210 },
211 ],
212 'condition': 'not build_with_chromium and (host_os == "linux" and checkout_fuchsia)',
213 'dep_type': 'cipd',
214 },
215
Jamie Madill8ba50492019-10-10 17:46:54 -0400216 'third_party/qemu-mac-x64': {
Michael Spang229fc832019-01-21 18:09:15 -0500217 'packages': [
218 {
219 'package': 'fuchsia/qemu/mac-amd64',
220 'version': '2d3358ae9a569b2d4a474f498b32b202a152134f'
221 },
222 ],
223 'condition': 'not build_with_chromium and (host_os == "mac" and checkout_fuchsia)',
224 'dep_type': 'cipd',
225 },
226
Jamie Madill8ba50492019-10-10 17:46:54 -0400227 'third_party/rapidjson/src': {
Jamie Madill46d32e02019-02-25 17:13:16 -0500228 'url': '{chromium_git}/external/github.com/Tencent/rapidjson@7484e06c589873e1ed80382d262087e4fa80fb63',
229 },
230
Le Quyena5a04ac2019-10-29 22:57:55 +0800231 'third_party/spirv-cross/src': {
232 'url': '{chromium_git}/external/github.com/KhronosGroup/SPIRV-Cross@{spirv_cross_revision}',
233 'condition': 'not build_with_chromium',
234 },
235
Jamie Madill8ba50492019-10-10 17:46:54 -0400236 'third_party/spirv-headers/src': {
Jamie Madill0cb3b0f2019-01-28 09:55:20 -0500237 'url': '{chromium_git}/external/github.com/KhronosGroup/SPIRV-Headers@{spirv_headers_revision}',
Corentin Walleza883dd02018-08-03 18:11:46 +0200238 'condition': 'not build_with_chromium',
Edward Lemur8ae09b02018-06-01 14:18:28 -0400239 },
Jamie Madill37ee8a62016-12-13 15:18:58 -0500240
Jamie Madill8ba50492019-10-10 17:46:54 -0400241 'third_party/spirv-tools/src': {
Jamie Madill0cb3b0f2019-01-28 09:55:20 -0500242 'url': '{chromium_git}/external/github.com/KhronosGroup/SPIRV-Tools@{spirv_tools_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/SwiftShader': {
angle-autoroll7a56d382020-10-15 10:01:15 +0000247 'url': '{swiftshader_git}/SwiftShader@52c1a859d9ebd3adb49e70d1c7a5ac287388445e',
Jamie Madill8be7a4c2019-09-19 12:48:31 -0400248 'condition': 'not build_with_chromium',
249 },
250
Tim Van Pattened337952020-07-23 12:58:10 -0600251 'third_party/VK-GL-CTS/src': {
252 'url': '{chromium_git}/external/github.com/KhronosGroup/VK-GL-CTS@{vk_gl_cts_revision}',
253 },
254
Jamie Madill8ba50492019-10-10 17:46:54 -0400255 'third_party/vulkan-headers/src': {
Tobin Ehlisb971f492018-05-24 10:56:17 -0600256 'url': '{chromium_git}/external/github.com/KhronosGroup/Vulkan-Headers@{vulkan_headers_revision}',
257 },
258
Jamie Madill8ba50492019-10-10 17:46:54 -0400259 'third_party/vulkan-loader/src': {
Tobin Ehlisb971f492018-05-24 10:56:17 -0600260 'url': '{chromium_git}/external/github.com/KhronosGroup/Vulkan-Loader@{vulkan_loader_revision}',
261 },
262
Tim Van Pattened337952020-07-23 12:58:10 -0600263 'third_party/vulkan_memory_allocator': {
264 'url': '{chromium_git}/external/github.com/GPUOpen-LibrariesAndSDKs/VulkanMemoryAllocator@065e739079d9d58bef28ccd793cbf512261f09ed',
265 'condition': 'not build_with_chromium',
266 },
267
Jamie Madill8ba50492019-10-10 17:46:54 -0400268 'third_party/vulkan-tools/src': {
Tobin Ehlisb971f492018-05-24 10:56:17 -0600269 'url': '{chromium_git}/external/github.com/KhronosGroup/Vulkan-Tools@{vulkan_tools_revision}',
270 },
271
Jamie Madill8ba50492019-10-10 17:46:54 -0400272 'third_party/vulkan-validation-layers/src': {
Tobin Ehlisb971f492018-05-24 10:56:17 -0600273 'url': '{chromium_git}/external/github.com/KhronosGroup/Vulkan-ValidationLayers@{vulkan_validation_revision}',
Edward Lemur8ae09b02018-06-01 14:18:28 -0400274 },
Jamie Madill3cd438d2015-03-17 11:25:27 -0400275
Jamie Madill8ba50492019-10-10 17:46:54 -0400276 'third_party/zlib': {
angle-autoroll46f8db42020-10-16 07:00:52 +0000277 'url': '{chromium_git}/chromium/src/third_party/zlib@8cd0fc1ed5ea7b59e4df6428318043a8215254cc',
Edward Lemur8ae09b02018-06-01 14:18:28 -0400278 'condition': 'not build_with_chromium',
279 },
Frank Henigmand0ef13a2017-08-28 22:53:24 -0400280
Jamie Madill8ba50492019-10-10 17:46:54 -0400281 'tools/clang': {
angle-autoroll46f8db42020-10-16 07:00:52 +0000282 'url': '{chromium_git}/chromium/src/tools/clang.git@3a982adabb720aa8f3e3885d40bf3fe506990157',
Edward Lemur8ae09b02018-06-01 14:18:28 -0400283 'condition': 'not build_with_chromium',
284 },
Michael Spang229fc832019-01-21 18:09:15 -0500285
Le Hoang Quyencaeb2172019-11-20 22:30:17 +0800286 'tools/clang/dsymutil': {
287 'packages': [
288 {
289 'package': 'chromium/llvm-build-tools/dsymutil',
290 'version': 'M56jPzDv1620Rnm__jTMYS62Zi8rxHVq7yw0qeBFEgkC',
291 }
292 ],
293 'condition': 'checkout_mac and not build_with_chromium',
294 'dep_type': 'cipd',
295 },
296
Jamie Madillb99bbba2020-09-13 10:34:54 -0400297 'tools/luci-go': {
298 'packages': [
299 {
300 'package': 'infra/tools/luci/isolate/${{platform}}',
301 'version': Var('luci_go'),
302 },
303 {
304 'package': 'infra/tools/luci/isolated/${{platform}}',
305 'version': Var('luci_go'),
306 },
307 {
308 'package': 'infra/tools/luci/swarming/${{platform}}',
309 'version': Var('luci_go'),
310 },
311 ],
312 'condition': 'not build_with_chromium',
313 'dep_type': 'cipd',
314 },
315
316 'tools/mb': {
angle-autoroll46f8db42020-10-16 07:00:52 +0000317 'url': '{chromium_git}/chromium/src/tools/mb@eef787ed933615386fb3daf651d5aea8ef2e69da',
Jamie Madillb99bbba2020-09-13 10:34:54 -0400318 'condition': 'not build_with_chromium',
319 },
320
Jamie Madill8ba50492019-10-10 17:46:54 -0400321 'tools/md_browser': {
Yuly Novikov5dff6072020-08-19 20:57:36 -0400322 'url': '{chromium_git}/chromium/src/tools/md_browser@60141af3603925d99bf3fb22fdfca138416339b1',
Jamie Madill9f958342019-04-08 09:40:40 -0400323 'condition': 'not build_with_chromium',
Michael Spang229fc832019-01-21 18:09:15 -0500324 },
Jamie Madilldf0ce012019-09-05 11:04:39 -0400325
Jamie Madill8ba50492019-10-10 17:46:54 -0400326 'tools/memory': {
angle-autorollf6e983b2020-10-06 07:01:19 +0000327 'url': '{chromium_git}/chromium/src/tools/memory@f685c086bde38d670a7a3b30ebe1a076d404c140',
Jamie Madilldf0ce012019-09-05 11:04:39 -0400328 'condition': 'not build_with_chromium',
329 },
Jamie Madilldff93312020-09-25 13:31:25 -0400330
331 'tools/skia_goldctl/linux': {
332 'packages': [
333 {
334 'package': 'skia/tools/goldctl/linux-amd64',
angle-autorolldec35c52020-10-12 07:34:56 +0000335 'version': 'sEWxSos77EKQLWziVoCV6Sa52qijVB0fz9uN1EGoUd0C',
Jamie Madilldff93312020-09-25 13:31:25 -0400336 },
337 ],
338 'dep_type': 'cipd',
339 'condition': 'checkout_linux and not build_with_chromium',
340 },
341
342 'tools/skia_goldctl/win': {
343 'packages': [
344 {
345 'package': 'skia/tools/goldctl/windows-amd64',
angle-autorolldec35c52020-10-12 07:34:56 +0000346 'version': '6eX8c167sU_avc61blSZpNkSEa5HwWNYfWCk-88QTNsC',
Jamie Madilldff93312020-09-25 13:31:25 -0400347 },
348 ],
349 'dep_type': 'cipd',
350 'condition': 'checkout_win and not build_with_chromium',
351 },
352
353 'tools/skia_goldctl/mac': {
354 'packages': [
355 {
356 'package': 'skia/tools/goldctl/mac-amd64',
angle-autorolldec35c52020-10-12 07:34:56 +0000357 'version': 'rp50J-ChpY5Dyvjwl71mK28FOzgevSspS8YE1qxgkrAC',
Jamie Madilldff93312020-09-25 13:31:25 -0400358 },
359 ],
360 'dep_type': 'cipd',
361 'condition': 'checkout_mac and not build_with_chromium',
362 },
alokp@chromium.org29d56fb2010-04-06 15:42:22 +0000363}
364
alokp@chromium.org29d56fb2010-04-06 15:42:22 +0000365hooks = [
Jamie Madill2fdd3da2015-07-20 10:14:54 -0400366 # Pull clang-format binaries using checked-in hashes.
367 {
368 'name': 'clang_format_win',
369 'pattern': '.',
Edward Lemur8ae09b02018-06-01 14:18:28 -0400370 'condition': 'host_os == "win" and not build_with_chromium',
Jamie Madill2fdd3da2015-07-20 10:14:54 -0400371 'action': [ 'download_from_google_storage',
372 '--no_resume',
373 '--platform=win32',
374 '--no_auth',
375 '--bucket', 'chromium-clang-format',
Jamie Madill8ba50492019-10-10 17:46:54 -0400376 '-s', 'buildtools/win/clang-format.exe.sha1',
Jamie Madill2fdd3da2015-07-20 10:14:54 -0400377 ],
378 },
379 {
380 'name': 'clang_format_mac',
381 'pattern': '.',
Edward Lemur8ae09b02018-06-01 14:18:28 -0400382 'condition': 'host_os == "mac" and not build_with_chromium',
Jamie Madill2fdd3da2015-07-20 10:14:54 -0400383 'action': [ 'download_from_google_storage',
384 '--no_resume',
385 '--platform=darwin',
386 '--no_auth',
387 '--bucket', 'chromium-clang-format',
Jamie Madill8ba50492019-10-10 17:46:54 -0400388 '-s', 'buildtools/mac/clang-format.sha1',
Jamie Madill2fdd3da2015-07-20 10:14:54 -0400389 ],
390 },
391 {
392 'name': 'clang_format_linux',
393 'pattern': '.',
Edward Lemur8ae09b02018-06-01 14:18:28 -0400394 'condition': 'host_os == "linux" and not build_with_chromium',
Jamie Madill2fdd3da2015-07-20 10:14:54 -0400395 'action': [ 'download_from_google_storage',
396 '--no_resume',
397 '--platform=linux*',
398 '--no_auth',
399 '--bucket', 'chromium-clang-format',
Jamie Madill8ba50492019-10-10 17:46:54 -0400400 '-s', 'buildtools/linux64/clang-format.sha1',
Jamie Madill2fdd3da2015-07-20 10:14:54 -0400401 ],
402 },
Tobin Ehlis9d4277b2018-05-21 16:22:22 -0600403 {
404 'name': 'sysroot_x86',
405 'pattern': '.',
Edward Lemur8ae09b02018-06-01 14:18:28 -0400406 'condition': 'checkout_linux and ((checkout_x86 or checkout_x64) and not build_with_chromium)',
Jamie Madill8ba50492019-10-10 17:46:54 -0400407 'action': ['python', 'build/linux/sysroot_scripts/install-sysroot.py',
Tobin Ehlis9d4277b2018-05-21 16:22:22 -0600408 '--arch=x86'],
409 },
410 {
411 'name': 'sysroot_x64',
412 'pattern': '.',
Edward Lemur8ae09b02018-06-01 14:18:28 -0400413 'condition': 'checkout_linux and (checkout_x64 and not build_with_chromium)',
Jamie Madill8ba50492019-10-10 17:46:54 -0400414 'action': ['python', 'build/linux/sysroot_scripts/install-sysroot.py',
Tobin Ehlis9d4277b2018-05-21 16:22:22 -0600415 '--arch=x64'],
416 },
Jamie Madill027717f2018-04-13 15:51:24 -0400417 {
418 # Update the Windows toolchain if necessary. Must run before 'clang' below.
419 'name': 'win_toolchain',
420 'pattern': '.',
Edward Lemur8ae09b02018-06-01 14:18:28 -0400421 'condition': 'checkout_win and not build_with_chromium',
Jamie Madill8ba50492019-10-10 17:46:54 -0400422 'action': ['python', 'build/vs_toolchain.py', 'update', '--force'],
Jamie Madill027717f2018-04-13 15:51:24 -0400423 },
Geoff Lang66ae5312019-04-01 16:35:53 -0400424 {
425 # Update the Mac toolchain if necessary.
426 'name': 'mac_toolchain',
427 'pattern': '.',
428 'condition': 'checkout_mac and not build_with_chromium',
Jamie Madill8ba50492019-10-10 17:46:54 -0400429 'action': ['python', 'build/mac_toolchain.py'],
Geoff Lang66ae5312019-04-01 16:35:53 -0400430 },
Jamie Madill027717f2018-04-13 15:51:24 -0400431
alokp@chromium.org29d56fb2010-04-06 15:42:22 +0000432 {
Frank Henigmand0ef13a2017-08-28 22:53:24 -0400433 # Note: On Win, this should run after win_toolchain, as it may use it.
434 'name': 'clang',
435 'pattern': '.',
Jamie Madill8ba50492019-10-10 17:46:54 -0400436 'action': ['python', 'tools/clang/scripts/update.py'],
Edward Lemur8ae09b02018-06-01 14:18:28 -0400437 'condition': 'not build_with_chromium',
Frank Henigmand0ef13a2017-08-28 22:53:24 -0400438 },
Jamie Madill940c48b2017-10-23 23:25:17 -0400439
Shahbaz Youssefi957e9b82018-10-05 11:00:50 -0400440 {
441 # Update LASTCHANGE.
442 'name': 'lastchange',
443 'pattern': '.',
444 'condition': 'not build_with_chromium',
Jamie Madill8ba50492019-10-10 17:46:54 -0400445 'action': ['python', 'build/util/lastchange.py',
446 '-o', 'build/util/LASTCHANGE'],
Shahbaz Youssefi957e9b82018-10-05 11:00:50 -0400447 },
448
Jamie Madill940c48b2017-10-23 23:25:17 -0400449 # Pull rc binaries using checked-in hashes.
450 {
451 'name': 'rc_win',
452 'pattern': '.',
Edward Lemur8ae09b02018-06-01 14:18:28 -0400453 'condition': 'checkout_win and (host_os == "win" and not build_with_chromium)',
Jamie Madill940c48b2017-10-23 23:25:17 -0400454 'action': [ 'download_from_google_storage',
455 '--no_resume',
456 '--no_auth',
457 '--bucket', 'chromium-browser-clang/rc',
Jamie Madill8ba50492019-10-10 17:46:54 -0400458 '-s', 'build/toolchain/win/rc/win/rc.exe.sha1',
Jamie Madill940c48b2017-10-23 23:25:17 -0400459 ],
460 },
Michael Spang229fc832019-01-21 18:09:15 -0500461
462 {
463 'name': 'fuchsia_sdk',
464 'pattern': '.',
465 'condition': 'checkout_fuchsia and not build_with_chromium',
466 'action': [
467 'python',
Jamie Madill8ba50492019-10-10 17:46:54 -0400468 'build/fuchsia/update_sdk.py',
Michael Spang229fc832019-01-21 18:09:15 -0500469 ],
470 },
Jamie Madilld5ff4fa2019-04-08 09:25:23 -0400471
Shahbaz Youssefi82418c82019-04-05 15:56:03 -0400472 # Download glslang validator binary for Linux.
473 {
474 'name': 'linux_glslang_validator',
475 'pattern': '.',
476 'condition': 'checkout_linux and not build_with_chromium',
477 'action': [ 'download_from_google_storage',
478 '--no_resume',
479 '--platform=linux*',
480 '--no_auth',
481 '--bucket', 'angle-glslang-validator',
Jamie Madill8ba50492019-10-10 17:46:54 -0400482 '-s', 'tools/glslang/glslang_validator.sha1',
Shahbaz Youssefi82418c82019-04-05 15:56:03 -0400483 ],
484 },
485
Jamie Madilld5ff4fa2019-04-08 09:25:23 -0400486 # Download glslang validator binary for Windows.
487 {
488 'name': 'win_glslang_validator',
489 'pattern': '.',
490 'condition': 'checkout_win and not build_with_chromium',
491 'action': [ 'download_from_google_storage',
492 '--no_resume',
493 '--platform=win32*',
494 '--no_auth',
495 '--bucket', 'angle-glslang-validator',
Jamie Madill8ba50492019-10-10 17:46:54 -0400496 '-s', 'tools/glslang/glslang_validator.exe.sha1',
Jamie Madilld5ff4fa2019-04-08 09:25:23 -0400497 ],
498 },
Shahbaz Youssefi5efb36b2019-11-25 16:14:55 -0500499
500 # Download flex/bison binaries for Linux.
501 {
502 'name': 'linux_flex_bison',
503 'pattern': '.',
504 'condition': 'checkout_linux and not build_with_chromium',
505 'action': [ 'download_from_google_storage',
506 '--no_resume',
507 '--platform=linux*',
508 '--no_auth',
509 '--bucket', 'angle-flex-bison',
510 '-d', 'tools/flex-bison/linux/',
511 ],
512 },
513
514 # Download flex/bison binaries for Windows.
515 {
516 'name': 'win_flex_bison',
517 'pattern': '.',
518 'condition': 'checkout_win and not build_with_chromium',
519 'action': [ 'download_from_google_storage',
520 '--no_resume',
521 '--platform=win32*',
522 '--no_auth',
523 '--bucket', 'angle-flex-bison',
524 '-d', 'tools/flex-bison/windows/',
525 ],
526 },
Cody Northrop080d7112020-01-08 13:04:44 -0700527
528 # Download internal captures for perf tests
529 {
530 'name': 'restricted_traces',
531 'pattern': '\\.sha1',
532 'condition': 'checkout_angle_internal',
Courtney Goeltzenleuchtere474cc92020-06-18 16:03:30 -0600533 'action': [ 'python',
Jamie Madillbda22052020-09-17 14:37:25 -0400534 'src/tests/restricted_traces/download_restricted_traces.py',
535 'src/tests/restricted_traces',
Cody Northrop080d7112020-01-08 13:04:44 -0700536 ]
537 }
alokp@chromium.org29d56fb2010-04-06 15:42:22 +0000538]
Jamie Madill20789312016-10-28 14:05:26 -0400539
540recursedeps = [
541 # buildtools provides clang_format.
Jamie Madill8ba50492019-10-10 17:46:54 -0400542 'buildtools',
Jamie Madill07035682019-10-25 09:00:41 -0400543 'third_party/googletest',
Jamie Madille7c8e802019-10-26 08:16:12 -0400544 'third_party/jsoncpp',
Jamie Madill20789312016-10-28 14:05:26 -0400545]