blob: 11302b5beb30bf92482c1fa6491b79e5c97c7ee1 [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-autoroll8da60e22020-09-17 07:01:46 +000031 'chromium_revision': 'd9fa0d469f575dcd0013b72adf23da0fb74f61e2',
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-autoroll082c0242020-09-18 11:14:48 +000037 'vk_gl_cts_revision': 'c9f4fb2fccda29fcf14356ce696201032b5bf1e2',
Edward Lemur8ae09b02018-06-01 14:18:28 -040038
39 # Current revision of glslang, the Khronos SPIRV compiler.
angle-autorollc42a0f32020-09-21 10:01:01 +000040 'glslang_revision': '4dcc12d1a441b29d5901bc708bb1343d29d6459f',
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-autoroll07877632020-09-21 10:01:03 +000083 'spirv_tools_revision': '60ce96e2ff10677c52ee5892519cb74d078d1592',
Edward Lemur8ae09b02018-06-01 14:18:28 -040084
Tobin Ehlisb971f492018-05-24 10:56:17 -060085 # Current revision of Khronos Vulkan-Headers.
angle-autoroll467c9172020-09-21 10:03:05 +000086 'vulkan_headers_revision': '7f9879b1b1fab53f719a9ed5e6e29533b10972b2',
Tobin Ehlisb971f492018-05-24 10:56:17 -060087
88 # Current revision of Khronos Vulkan-Loader.
angle-autoroll97813ea2020-09-18 10:01:57 +000089 'vulkan_loader_revision': 'a148cdd490417324bf7db925ac2ff0f4e4cafd61',
Tobin Ehlisb971f492018-05-24 10:56:17 -060090
91 # Current revision of Khronos Vulkan-Tools.
angle-autoroll4331ba72020-09-11 10:01:28 +000092 'vulkan_tools_revision': 'd19622688af4b854c367a6f373b02d0c748f7e26',
Tobin Ehlisb971f492018-05-24 10:56:17 -060093
94 # Current revision of Khronos Vulkan-ValidationLayers.
angle-autorolla25fcc52020-09-21 10:01:02 +000095 'vulkan_validation_revision': '0a863bc365548b701fb8c07727d1b855405d027a',
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.
105 'luci_go': 'git_revision:b022173f8069cf8001d4cf2a87ce7c5f0eae220f',
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-autoroll8da60e22020-09-17 07:01:46 +0000111 'url': '{chromium_git}/chromium/src/build.git@ff80cb1d7c1b0b625f15626135e142fc2aaf6562',
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-autoroll5453e7b2020-09-16 07:03:19 +0000116 'url': '{chromium_git}/chromium/src/buildtools.git@3ff4f5027b4b81a6c9c36d64d71444f2709a4896',
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-autoroll8da60e22020-09-17 07:01:46 +0000121 'url': '{chromium_git}/chromium/src/testing@5b99869e591020cf066b884cb8b503fea2ef691d',
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-autoroll8da60e22020-09-17 07:01:46 +0000126 'url': '{chromium_git}/chromium/src/third_party/abseil-cpp@3a81ef17d632343e129d5760ad859ab61713d56b',
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-autoroll40e0b662020-09-17 10:01:58 +0000247 'url': '{swiftshader_git}/SwiftShader@fe878dedd5addbedab4033c0cb6b19bbbe04f8e4',
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-autoroll9a7e7b02020-09-11 07:00:28 +0000277 'url': '{chromium_git}/chromium/src/third_party/zlib@f8517bd62931d7adb9bcefb0cbe3c2ca5cd8862c',
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-autoroll8da60e22020-09-17 07:01:46 +0000282 'url': '{chromium_git}/chromium/src/tools/clang.git@92b362238013c401926b8a45b0b8f0a42d506120',
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-autoroll8da60e22020-09-17 07:01:46 +0000317 'url': '{chromium_git}/chromium/src/tools/mb@894c57e360081cf7221ae447dbd849a75585a792',
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': {
Yuly Novikov5dff6072020-08-19 20:57:36 -0400327 'url': '{chromium_git}/chromium/src/tools/memory@ee1e2448132431e7519c2a72ff612e079f13a9d6',
Jamie Madilldf0ce012019-09-05 11:04:39 -0400328 'condition': 'not build_with_chromium',
329 },
alokp@chromium.org29d56fb2010-04-06 15:42:22 +0000330}
331
alokp@chromium.org29d56fb2010-04-06 15:42:22 +0000332hooks = [
Jamie Madill2fdd3da2015-07-20 10:14:54 -0400333 # Pull clang-format binaries using checked-in hashes.
334 {
335 'name': 'clang_format_win',
336 'pattern': '.',
Edward Lemur8ae09b02018-06-01 14:18:28 -0400337 'condition': 'host_os == "win" and not build_with_chromium',
Jamie Madill2fdd3da2015-07-20 10:14:54 -0400338 'action': [ 'download_from_google_storage',
339 '--no_resume',
340 '--platform=win32',
341 '--no_auth',
342 '--bucket', 'chromium-clang-format',
Jamie Madill8ba50492019-10-10 17:46:54 -0400343 '-s', 'buildtools/win/clang-format.exe.sha1',
Jamie Madill2fdd3da2015-07-20 10:14:54 -0400344 ],
345 },
346 {
347 'name': 'clang_format_mac',
348 'pattern': '.',
Edward Lemur8ae09b02018-06-01 14:18:28 -0400349 'condition': 'host_os == "mac" and not build_with_chromium',
Jamie Madill2fdd3da2015-07-20 10:14:54 -0400350 'action': [ 'download_from_google_storage',
351 '--no_resume',
352 '--platform=darwin',
353 '--no_auth',
354 '--bucket', 'chromium-clang-format',
Jamie Madill8ba50492019-10-10 17:46:54 -0400355 '-s', 'buildtools/mac/clang-format.sha1',
Jamie Madill2fdd3da2015-07-20 10:14:54 -0400356 ],
357 },
358 {
359 'name': 'clang_format_linux',
360 'pattern': '.',
Edward Lemur8ae09b02018-06-01 14:18:28 -0400361 'condition': 'host_os == "linux" and not build_with_chromium',
Jamie Madill2fdd3da2015-07-20 10:14:54 -0400362 'action': [ 'download_from_google_storage',
363 '--no_resume',
364 '--platform=linux*',
365 '--no_auth',
366 '--bucket', 'chromium-clang-format',
Jamie Madill8ba50492019-10-10 17:46:54 -0400367 '-s', 'buildtools/linux64/clang-format.sha1',
Jamie Madill2fdd3da2015-07-20 10:14:54 -0400368 ],
369 },
Tobin Ehlis9d4277b2018-05-21 16:22:22 -0600370 {
371 'name': 'sysroot_x86',
372 'pattern': '.',
Edward Lemur8ae09b02018-06-01 14:18:28 -0400373 'condition': 'checkout_linux and ((checkout_x86 or checkout_x64) and not build_with_chromium)',
Jamie Madill8ba50492019-10-10 17:46:54 -0400374 'action': ['python', 'build/linux/sysroot_scripts/install-sysroot.py',
Tobin Ehlis9d4277b2018-05-21 16:22:22 -0600375 '--arch=x86'],
376 },
377 {
378 'name': 'sysroot_x64',
379 'pattern': '.',
Edward Lemur8ae09b02018-06-01 14:18:28 -0400380 'condition': 'checkout_linux and (checkout_x64 and not build_with_chromium)',
Jamie Madill8ba50492019-10-10 17:46:54 -0400381 'action': ['python', 'build/linux/sysroot_scripts/install-sysroot.py',
Tobin Ehlis9d4277b2018-05-21 16:22:22 -0600382 '--arch=x64'],
383 },
Jamie Madill027717f2018-04-13 15:51:24 -0400384 {
385 # Update the Windows toolchain if necessary. Must run before 'clang' below.
386 'name': 'win_toolchain',
387 'pattern': '.',
Edward Lemur8ae09b02018-06-01 14:18:28 -0400388 'condition': 'checkout_win and not build_with_chromium',
Jamie Madill8ba50492019-10-10 17:46:54 -0400389 'action': ['python', 'build/vs_toolchain.py', 'update', '--force'],
Jamie Madill027717f2018-04-13 15:51:24 -0400390 },
Geoff Lang66ae5312019-04-01 16:35:53 -0400391 {
392 # Update the Mac toolchain if necessary.
393 'name': 'mac_toolchain',
394 'pattern': '.',
395 'condition': 'checkout_mac and not build_with_chromium',
Jamie Madill8ba50492019-10-10 17:46:54 -0400396 'action': ['python', 'build/mac_toolchain.py'],
Geoff Lang66ae5312019-04-01 16:35:53 -0400397 },
Jamie Madill027717f2018-04-13 15:51:24 -0400398
alokp@chromium.org29d56fb2010-04-06 15:42:22 +0000399 {
Frank Henigmand0ef13a2017-08-28 22:53:24 -0400400 # Note: On Win, this should run after win_toolchain, as it may use it.
401 'name': 'clang',
402 'pattern': '.',
Jamie Madill8ba50492019-10-10 17:46:54 -0400403 'action': ['python', 'tools/clang/scripts/update.py'],
Edward Lemur8ae09b02018-06-01 14:18:28 -0400404 'condition': 'not build_with_chromium',
Frank Henigmand0ef13a2017-08-28 22:53:24 -0400405 },
Jamie Madill940c48b2017-10-23 23:25:17 -0400406
Shahbaz Youssefi957e9b82018-10-05 11:00:50 -0400407 {
408 # Update LASTCHANGE.
409 'name': 'lastchange',
410 'pattern': '.',
411 'condition': 'not build_with_chromium',
Jamie Madill8ba50492019-10-10 17:46:54 -0400412 'action': ['python', 'build/util/lastchange.py',
413 '-o', 'build/util/LASTCHANGE'],
Shahbaz Youssefi957e9b82018-10-05 11:00:50 -0400414 },
415
Jamie Madill940c48b2017-10-23 23:25:17 -0400416 # Pull rc binaries using checked-in hashes.
417 {
418 'name': 'rc_win',
419 'pattern': '.',
Edward Lemur8ae09b02018-06-01 14:18:28 -0400420 'condition': 'checkout_win and (host_os == "win" and not build_with_chromium)',
Jamie Madill940c48b2017-10-23 23:25:17 -0400421 'action': [ 'download_from_google_storage',
422 '--no_resume',
423 '--no_auth',
424 '--bucket', 'chromium-browser-clang/rc',
Jamie Madill8ba50492019-10-10 17:46:54 -0400425 '-s', 'build/toolchain/win/rc/win/rc.exe.sha1',
Jamie Madill940c48b2017-10-23 23:25:17 -0400426 ],
427 },
Michael Spang229fc832019-01-21 18:09:15 -0500428
429 {
430 'name': 'fuchsia_sdk',
431 'pattern': '.',
432 'condition': 'checkout_fuchsia and not build_with_chromium',
433 'action': [
434 'python',
Jamie Madill8ba50492019-10-10 17:46:54 -0400435 'build/fuchsia/update_sdk.py',
Michael Spang229fc832019-01-21 18:09:15 -0500436 ],
437 },
Jamie Madilld5ff4fa2019-04-08 09:25:23 -0400438
Shahbaz Youssefi82418c82019-04-05 15:56:03 -0400439 # Download glslang validator binary for Linux.
440 {
441 'name': 'linux_glslang_validator',
442 'pattern': '.',
443 'condition': 'checkout_linux and not build_with_chromium',
444 'action': [ 'download_from_google_storage',
445 '--no_resume',
446 '--platform=linux*',
447 '--no_auth',
448 '--bucket', 'angle-glslang-validator',
Jamie Madill8ba50492019-10-10 17:46:54 -0400449 '-s', 'tools/glslang/glslang_validator.sha1',
Shahbaz Youssefi82418c82019-04-05 15:56:03 -0400450 ],
451 },
452
Jamie Madilld5ff4fa2019-04-08 09:25:23 -0400453 # Download glslang validator binary for Windows.
454 {
455 'name': 'win_glslang_validator',
456 'pattern': '.',
457 'condition': 'checkout_win and not build_with_chromium',
458 'action': [ 'download_from_google_storage',
459 '--no_resume',
460 '--platform=win32*',
461 '--no_auth',
462 '--bucket', 'angle-glslang-validator',
Jamie Madill8ba50492019-10-10 17:46:54 -0400463 '-s', 'tools/glslang/glslang_validator.exe.sha1',
Jamie Madilld5ff4fa2019-04-08 09:25:23 -0400464 ],
465 },
Shahbaz Youssefi5efb36b2019-11-25 16:14:55 -0500466
467 # Download flex/bison binaries for Linux.
468 {
469 'name': 'linux_flex_bison',
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-flex-bison',
477 '-d', 'tools/flex-bison/linux/',
478 ],
479 },
480
481 # Download flex/bison binaries for Windows.
482 {
483 'name': 'win_flex_bison',
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-flex-bison',
491 '-d', 'tools/flex-bison/windows/',
492 ],
493 },
Cody Northrop080d7112020-01-08 13:04:44 -0700494
495 # Download internal captures for perf tests
496 {
497 'name': 'restricted_traces',
498 'pattern': '\\.sha1',
499 'condition': 'checkout_angle_internal',
Courtney Goeltzenleuchtere474cc92020-06-18 16:03:30 -0600500 'action': [ 'python',
Jamie Madillbda22052020-09-17 14:37:25 -0400501 'src/tests/restricted_traces/download_restricted_traces.py',
502 'src/tests/restricted_traces',
Cody Northrop080d7112020-01-08 13:04:44 -0700503 ]
504 }
alokp@chromium.org29d56fb2010-04-06 15:42:22 +0000505]
Jamie Madill20789312016-10-28 14:05:26 -0400506
507recursedeps = [
508 # buildtools provides clang_format.
Jamie Madill8ba50492019-10-10 17:46:54 -0400509 'buildtools',
Jamie Madill07035682019-10-25 09:00:41 -0400510 'third_party/googletest',
Jamie Madille7c8e802019-10-26 08:16:12 -0400511 'third_party/jsoncpp',
Jamie Madill20789312016-10-28 14:05:26 -0400512]