blob: d02e5148df83a84db65586cf49f6ee043c6b285c [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
7use_relative_hooks = True
8
Jamie Madill2fdd3da2015-07-20 10:14:54 -04009vars = {
Jamie Madill37ee8a62016-12-13 15:18:58 -050010 'android_git': 'https://android.googlesource.com',
Jamie Madill2fdd3da2015-07-20 10:14:54 -040011 'chromium_git': 'https://chromium.googlesource.com',
Jamie Madill67a017f2019-10-10 15:27:27 -040012 'chrome_internal_git': 'https://chrome-internal.googlesource.com',
Jamie Madill8be7a4c2019-09-19 12:48:31 -040013 'swiftshader_git': 'https://swiftshader.googlesource.com',
Jamie Madill027717f2018-04-13 15:51:24 -040014
Edward Lemur8ae09b02018-06-01 14:18:28 -040015 # This variable is overrided in Chromium's DEPS file.
16 'build_with_chromium': False,
17
Jamie Madill67a017f2019-10-10 15:27:27 -040018 # Only check out public sources by default. This can be overridden with custom_vars.
Cody Northrop84f45f12019-12-18 14:34:29 -070019 'checkout_angle_internal': False,
Jamie Madill4237e532019-06-28 11:14:31 -040020
Jamie Madill1948af32019-10-11 17:49:24 -040021 # Version of Chromium our Chromium-based DEPS are mirrored from.
Jamie Madill43951702020-04-27 16:57:46 -040022 'chromium_revision': 'b0410bba028cf153be2d02e36b6e99b59fdcb000',
Jamie Madill1948af32019-10-11 17:49:24 -040023
Courtney Goeltzenleuchterfebdcf52019-10-28 10:54:03 -060024 # Current revision of VK-GL-CTS (a.k.a dEQP).
angle-autorollc754c022020-07-17 13:16:01 +000025 'vk_gl_cts_revision': '30aa06f227181fa4e2ea0a2ea3c5e4780d3e6df9',
Edward Lemur8ae09b02018-06-01 14:18:28 -040026
27 # Current revision of glslang, the Khronos SPIRV compiler.
angle-autoroll4ce72e12020-07-21 07:01:44 +000028 'glslang_revision': 'b99a6a7273181deeb08859c0fdb0c77c7e8a4500',
Edward Lemur8ae09b02018-06-01 14:18:28 -040029
Jamie Madill07035682019-10-25 09:00:41 -040030 # Current revision of googletest.
31 # Note: this dep cannot be auto-rolled b/c of nesting.
32 'googletest_revision': 'f2fb48c3b3d79a75a88a99fba6576b25d42ec528',
33
Jamie Madille7c8e802019-10-26 08:16:12 -040034 # Current revision of jsoncpp.
35 # Note: this dep cannot be auto-rolled b/c of nesting.
36 'jsoncpp_revision': '645250b6690785be60ab6780ce4b58698d884d11',
37
Jordan Bayles1265dbe2020-06-24 15:12:17 -070038 # Current revision of Chrome's third_party jsoncpp directory. This repository
39 # is mirrored as a separate repository, with separate git hashes that
40 # don't match the external JsonCpp repository or Chrome. Mirrored patches
41 # will have a different git hash associated with them.
42 # To roll, first get the new hash for chromium_jsoncpp_revision from the
43 # mirror of third_party/jsoncpp located here:
44 # https://chromium.googlesource.com/chromium/src/third_party/jsoncpp/
45 # Then get the new hash for jsoncpp_revision from the root Chrome DEPS file:
46 # https://source.chromium.org/chromium/chromium/src/+/master:DEPS
47 'chromium_jsoncpp_revision': 'ec647b85b61f525a1a74e4da7477b0c5371c50f4',
48
Jamie Madille7c8e802019-10-26 08:16:12 -040049 # Current revision of patched-yasm.
50 # Note: this dep cannot be auto-rolled b/c of nesting.
51 'patched_yasm_revision': '720b70524a4424b15fc57e82263568c8ba0496ad',
52
Le Quyena5a04ac2019-10-29 22:57:55 +080053 # Current revision of spirv-cross, the Khronos SPIRV cross compiler.
Le Hoang Quyenbcf99572020-05-11 00:50:00 +080054 'spirv_cross_revision': 'f38cbeb814c73510b85697adbe5e894f9eac978f',
Le Quyena5a04ac2019-10-29 22:57:55 +080055
Edward Lemur8ae09b02018-06-01 14:18:28 -040056 # Current revision fo the SPIRV-Headers Vulkan support library.
angle-autorollb9529e32020-05-28 07:01:17 +000057 'spirv_headers_revision': 'ac638f1815425403e946d0ab78bac71d2bdbf3be',
Edward Lemur8ae09b02018-06-01 14:18:28 -040058
59 # Current revision of SPIRV-Tools for Vulkan.
angle-autoroll53515a32020-07-20 07:01:55 +000060 'spirv_tools_revision': '717e7877cac15d393fd3bb1bd872679de8b59add',
Edward Lemur8ae09b02018-06-01 14:18:28 -040061
Tobin Ehlisb971f492018-05-24 10:56:17 -060062 # Current revision of Khronos Vulkan-Headers.
angle-autorollb9411962020-07-20 08:20:41 +000063 'vulkan_headers_revision': '83825d55c7d522931124696ecb07ed48f2693e5c',
Tobin Ehlisb971f492018-05-24 10:56:17 -060064
65 # Current revision of Khronos Vulkan-Loader.
angle-autorolleb3d8ee2020-07-16 07:01:55 +000066 'vulkan_loader_revision': 'dd3511549b18eac33460d341de23c8541809e060',
Tobin Ehlisb971f492018-05-24 10:56:17 -060067
68 # Current revision of Khronos Vulkan-Tools.
angle-autorolla48e3332020-07-20 07:01:55 +000069 'vulkan_tools_revision': '50e737c8234769be390c20b9adcb6408d32f6015',
Tobin Ehlisb971f492018-05-24 10:56:17 -060070
71 # Current revision of Khronos Vulkan-ValidationLayers.
angle-autorolld0057db2020-07-21 07:01:09 +000072 'vulkan_validation_revision': '7cc0ead0517453890c9dff6d2bdd0c8e53c003a4',
Geoff Lang6e687af2019-10-17 14:36:41 -040073
74 # Three lines of non-changing comments so that
75 # the commit queue can handle CLs rolling catapult
76 # and whatever else without interference from each other.
77 'catapult_revision': '1b3fb455bf1849f1e6187e1eaeaef32b9f30d3c5',
Jamie Madill2fdd3da2015-07-20 10:14:54 -040078}
79
alokp@chromium.org29d56fb2010-04-06 15:42:22 +000080deps = {
alokp@chromium.org416fcd32012-04-11 16:23:44 +000081
Jamie Madill8ba50492019-10-10 17:46:54 -040082 'build': {
Jamie Madill43951702020-04-27 16:57:46 -040083 'url': '{chromium_git}/chromium/src/build.git@45ab3c89af6fc3126b0ca5a7836f0db85ad1ba0e',
Edward Lemur8ae09b02018-06-01 14:18:28 -040084 'condition': 'not build_with_chromium',
85 },
Frank Henigmand0ef13a2017-08-28 22:53:24 -040086
Jamie Madill8ba50492019-10-10 17:46:54 -040087 'buildtools': {
Jamie Madill43951702020-04-27 16:57:46 -040088 'url': '{chromium_git}/chromium/src/buildtools.git@204a35a2a64f7179f8b76d7a0385653690839e21',
Edward Lemur8ae09b02018-06-01 14:18:28 -040089 'condition': 'not build_with_chromium',
90 },
Frank Henigmand0ef13a2017-08-28 22:53:24 -040091
Jamie Madill8ba50492019-10-10 17:46:54 -040092 'testing': {
Jamie Madill43951702020-04-27 16:57:46 -040093 'url': '{chromium_git}/chromium/src/testing@3993ef1f527b206d8d3bf3f9824f4fe0e4bbdb0e',
Edward Lemur8ae09b02018-06-01 14:18:28 -040094 'condition': 'not build_with_chromium',
95 },
alokp@chromium.org5cd9c602012-05-16 23:37:50 +000096
Courtney Goeltzenleuchterfebdcf52019-10-28 10:54:03 -060097 # 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 -040098 'third_party/cherry': {
Edward Lemur8ae09b02018-06-01 14:18:28 -040099 'url': '{android_git}/platform/external/cherry@4f8fb08d33ca5ff05a1c638f04c85bbb8d8b52cc',
100 'condition': 'not build_with_chromium',
101 },
Jamie Madill9e76f562015-10-02 08:57:14 -0400102
Jamie Madill20e631f2020-05-05 12:19:58 -0400103 'third_party/vulkan_memory_allocator': {
Jamie Madillb22ecc62020-06-04 10:51:10 -0400104 'url': '{chromium_git}/external/github.com/GPUOpen-LibrariesAndSDKs/VulkanMemoryAllocator@431d6e57284aeb08118ff428dfbd51c94342faa1',
Jamie Madillca50ad42020-05-01 16:37:00 -0400105 'condition': 'not build_with_chromium',
Jamie Madill76d52be2020-04-07 09:14:29 -0400106 },
107
Courtney Goeltzenleuchterfebdcf52019-10-28 10:54:03 -0600108 'third_party/VK-GL-CTS/src': {
109 'url': '{chromium_git}/external/github.com/KhronosGroup/VK-GL-CTS@{vk_gl_cts_revision}',
Edward Lemur8ae09b02018-06-01 14:18:28 -0400110 },
Jamie Madill37ee8a62016-12-13 15:18:58 -0500111
Jamie Madill8ba50492019-10-10 17:46:54 -0400112 'third_party/fuchsia-sdk': {
Jamie Madill130fdbc2019-10-10 19:13:07 -0400113 'url': '{chromium_git}/chromium/src/third_party/fuchsia-sdk.git@1785f0ac8e1fe81cb25e260acbe7de8f62fa3e44',
Jamie Madill9f958342019-04-08 09:40:40 -0400114 'condition': 'checkout_fuchsia and not build_with_chromium',
115 },
116
Jamie Madill67a017f2019-10-10 15:27:27 -0400117 # Closed-source OpenGL ES 1.1 Conformance tests.
Jamie Madill8ba50492019-10-10 17:46:54 -0400118 'third_party/gles1_conform': {
Jamie Madill67a017f2019-10-10 15:27:27 -0400119 'url': '{chrome_internal_git}/angle/es-cts.git@dc9f502f709c9cd88d7f8d3974f1c77aa246958e',
Cody Northrop84f45f12019-12-18 14:34:29 -0700120 'condition': 'checkout_angle_internal',
Jamie Madill67a017f2019-10-10 15:27:27 -0400121 },
122
Jamie Madill55959b02019-03-05 10:07:41 -0500123 # glmark2 is a GPL3-licensed OpenGL ES 2.0 benchmark. We use it for testing.
Jamie Madill8ba50492019-10-10 17:46:54 -0400124 'third_party/glmark2/src': {
Jamie Madill2971fd32019-08-12 16:53:21 -0400125 'url': '{chromium_git}/external/github.com/glmark2/glmark2@9e01aef1a786b28aca73135a5b00f85c357e8f5e',
Jamie Madill55959b02019-03-05 10:07:41 -0500126 },
127
Jamie Madill8ba50492019-10-10 17:46:54 -0400128 'third_party/glslang/src': {
Tobin Ehlis317a9eb2018-11-29 12:51:46 -0700129 'url': '{chromium_git}/external/github.com/KhronosGroup/glslang@{glslang_revision}',
Jamie Madill0cb3b0f2019-01-28 09:55:20 -0500130 'condition': 'not build_with_chromium',
Jamie Madill55959b02019-03-05 10:07:41 -0500131 },
Jamie Madill37ee8a62016-12-13 15:18:58 -0500132
Jamie Madill8ba50492019-10-10 17:46:54 -0400133 'third_party/googletest': {
Jamie Madill43951702020-04-27 16:57:46 -0400134 'url': '{chromium_git}/chromium/src/third_party/googletest@217407c4787f361aa5814ec609379bfc9b21d307',
Jamie Madillcf9b2852019-02-13 09:15:26 -0500135 'condition': 'not build_with_chromium',
136 },
137
Jamie Madill55959b02019-03-05 10:07:41 -0500138 # libjpeg_turbo is used by glmark2.
Jamie Madill8ba50492019-10-10 17:46:54 -0400139 'third_party/libjpeg_turbo': {
Jamie Madill43951702020-04-27 16:57:46 -0400140 'url': '{chromium_git}/chromium/deps/libjpeg_turbo.git@7e3ad79800a7945fb37173149842b494ab8982b2',
Jamie Madill55959b02019-03-05 10:07:41 -0500141 'condition': 'not build_with_chromium',
142 },
143
Jamie Madill8ba50492019-10-10 17:46:54 -0400144 'third_party/libpng/src': {
Edward Lemur8ae09b02018-06-01 14:18:28 -0400145 'url': '{android_git}/platform/external/libpng@094e181e79a3d6c23fd005679025058b7df1ad6c',
146 'condition': 'not build_with_chromium',
147 },
Jamie Madill37ee8a62016-12-13 15:18:58 -0500148
Jamie Madill8ba50492019-10-10 17:46:54 -0400149 'third_party/jsoncpp': {
Jordan Bayles1265dbe2020-06-24 15:12:17 -0700150 'url': '{chromium_git}/chromium/src/third_party/jsoncpp@{chromium_jsoncpp_revision}',
Jamie Madill0cb3b0f2019-01-28 09:55:20 -0500151 'condition': 'not build_with_chromium',
152 },
Tobin Ehlis5fdc38c2018-08-28 09:20:57 -0600153
Jamie Madill43951702020-04-27 16:57:46 -0400154 'third_party/nasm': {
155 'url': '{chromium_git}/chromium/deps/nasm@4fa54ca5f7fc3a15a8c78ac94688e64d3e4e4fa1',
156 'condition': 'not build_with_chromium',
157 },
158
Jamie Madill8ba50492019-10-10 17:46:54 -0400159 'third_party/Python-Markdown': {
Robert Iannuccida8dad12019-08-08 19:40:48 -0700160 'url': '{chromium_git}/chromium/src/third_party/Python-Markdown@36657c103ce5964733bbbb29377085e9cc1a9472',
Jamie Madill9f958342019-04-08 09:40:40 -0400161 'condition': 'not build_with_chromium',
162 },
163
Jamie Madill8ba50492019-10-10 17:46:54 -0400164 'third_party/qemu-linux-x64': {
Michael Spang229fc832019-01-21 18:09:15 -0500165 'packages': [
166 {
167 'package': 'fuchsia/qemu/linux-amd64',
168 'version': '9cc486c5b18a0be515c39a280ca9a309c54cf994'
169 },
170 ],
171 'condition': 'not build_with_chromium and (host_os == "linux" and checkout_fuchsia)',
172 'dep_type': 'cipd',
173 },
174
Jamie Madill8ba50492019-10-10 17:46:54 -0400175 'third_party/qemu-mac-x64': {
Michael Spang229fc832019-01-21 18:09:15 -0500176 'packages': [
177 {
178 'package': 'fuchsia/qemu/mac-amd64',
179 'version': '2d3358ae9a569b2d4a474f498b32b202a152134f'
180 },
181 ],
182 'condition': 'not build_with_chromium and (host_os == "mac" and checkout_fuchsia)',
183 'dep_type': 'cipd',
184 },
185
Jamie Madill8ba50492019-10-10 17:46:54 -0400186 'third_party/rapidjson/src': {
Jamie Madill46d32e02019-02-25 17:13:16 -0500187 'url': '{chromium_git}/external/github.com/Tencent/rapidjson@7484e06c589873e1ed80382d262087e4fa80fb63',
188 },
189
Le Quyena5a04ac2019-10-29 22:57:55 +0800190 'third_party/spirv-cross/src': {
191 'url': '{chromium_git}/external/github.com/KhronosGroup/SPIRV-Cross@{spirv_cross_revision}',
192 'condition': 'not build_with_chromium',
193 },
194
Jamie Madill8ba50492019-10-10 17:46:54 -0400195 'third_party/spirv-headers/src': {
Jamie Madill0cb3b0f2019-01-28 09:55:20 -0500196 'url': '{chromium_git}/external/github.com/KhronosGroup/SPIRV-Headers@{spirv_headers_revision}',
Corentin Walleza883dd02018-08-03 18:11:46 +0200197 'condition': 'not build_with_chromium',
Edward Lemur8ae09b02018-06-01 14:18:28 -0400198 },
Jamie Madill37ee8a62016-12-13 15:18:58 -0500199
Jamie Madill8ba50492019-10-10 17:46:54 -0400200 'third_party/spirv-tools/src': {
Jamie Madill0cb3b0f2019-01-28 09:55:20 -0500201 'url': '{chromium_git}/external/github.com/KhronosGroup/SPIRV-Tools@{spirv_tools_revision}',
Corentin Walleza883dd02018-08-03 18:11:46 +0200202 'condition': 'not build_with_chromium',
Edward Lemur8ae09b02018-06-01 14:18:28 -0400203 },
Jamie Madill37ee8a62016-12-13 15:18:58 -0500204
Jamie Madill8ba50492019-10-10 17:46:54 -0400205 'third_party/SwiftShader': {
angle-autorolla27692d2020-07-21 07:01:58 +0000206 'url': '{swiftshader_git}/SwiftShader@97f9923235cf5a24d8ce49f93bd22429d2a68548',
Jamie Madill8be7a4c2019-09-19 12:48:31 -0400207 'condition': 'not build_with_chromium',
208 },
209
Jamie Madill8ba50492019-10-10 17:46:54 -0400210 'third_party/vulkan-headers/src': {
Tobin Ehlisb971f492018-05-24 10:56:17 -0600211 'url': '{chromium_git}/external/github.com/KhronosGroup/Vulkan-Headers@{vulkan_headers_revision}',
212 },
213
Jamie Madill8ba50492019-10-10 17:46:54 -0400214 'third_party/vulkan-loader/src': {
Tobin Ehlisb971f492018-05-24 10:56:17 -0600215 'url': '{chromium_git}/external/github.com/KhronosGroup/Vulkan-Loader@{vulkan_loader_revision}',
216 },
217
Jamie Madill8ba50492019-10-10 17:46:54 -0400218 'third_party/vulkan-tools/src': {
Tobin Ehlisb971f492018-05-24 10:56:17 -0600219 'url': '{chromium_git}/external/github.com/KhronosGroup/Vulkan-Tools@{vulkan_tools_revision}',
220 },
221
Jamie Madill8ba50492019-10-10 17:46:54 -0400222 'third_party/vulkan-validation-layers/src': {
Tobin Ehlisb971f492018-05-24 10:56:17 -0600223 'url': '{chromium_git}/external/github.com/KhronosGroup/Vulkan-ValidationLayers@{vulkan_validation_revision}',
Edward Lemur8ae09b02018-06-01 14:18:28 -0400224 },
Jamie Madill3cd438d2015-03-17 11:25:27 -0400225
Jamie Madill8ba50492019-10-10 17:46:54 -0400226 'third_party/zlib': {
Jamie Madill43951702020-04-27 16:57:46 -0400227 'url': '{chromium_git}/chromium/src/third_party/zlib@ae385786edb15f57e992c5e9dd9464e376d69399',
Edward Lemur8ae09b02018-06-01 14:18:28 -0400228 'condition': 'not build_with_chromium',
229 },
Frank Henigmand0ef13a2017-08-28 22:53:24 -0400230
Jamie Madill8ba50492019-10-10 17:46:54 -0400231 'tools/clang': {
Jamie Madill43951702020-04-27 16:57:46 -0400232 'url': '{chromium_git}/chromium/src/tools/clang.git@04b99e7bf9160d551c3a5562f583014b6afc90f9',
Edward Lemur8ae09b02018-06-01 14:18:28 -0400233 'condition': 'not build_with_chromium',
234 },
Michael Spang229fc832019-01-21 18:09:15 -0500235
Le Hoang Quyencaeb2172019-11-20 22:30:17 +0800236 'tools/clang/dsymutil': {
237 'packages': [
238 {
239 'package': 'chromium/llvm-build-tools/dsymutil',
240 'version': 'M56jPzDv1620Rnm__jTMYS62Zi8rxHVq7yw0qeBFEgkC',
241 }
242 ],
243 'condition': 'checkout_mac and not build_with_chromium',
244 'dep_type': 'cipd',
245 },
246
Jamie Madill8ba50492019-10-10 17:46:54 -0400247 'tools/md_browser': {
Jamie Madill43951702020-04-27 16:57:46 -0400248 'url': '{chromium_git}/chromium/src/tools/md_browser@aae45d8d82400e90483d4fee2ca3e648f2313cb2',
Jamie Madill9f958342019-04-08 09:40:40 -0400249 'condition': 'not build_with_chromium',
Michael Spang229fc832019-01-21 18:09:15 -0500250 },
Jamie Madilldf0ce012019-09-05 11:04:39 -0400251
Jamie Madill8ba50492019-10-10 17:46:54 -0400252 'tools/memory': {
Jamie Madilldf0ce012019-09-05 11:04:39 -0400253 'url': '{chromium_git}/chromium/src/tools/memory@89552acb6e60f528fe3c98eac7b445d4c34183ee',
254 'condition': 'not build_with_chromium',
255 },
Geoff Lang6e687af2019-10-17 14:36:41 -0400256
257 'third_party/catapult': {
258 'url': '{chromium_git}/catapult.git@{catapult_revision}',
Jiajie Hu77e53162020-05-28 02:00:29 +0000259 'condition': 'checkout_android and not build_with_chromium',
Geoff Lang6e687af2019-10-17 14:36:41 -0400260 },
261
262 'third_party/android_ndk': {
Jamie Madill1898c082019-11-21 06:37:39 -0500263 'url': '{chromium_git}/android_ndk.git@27c0a8d090c666a50e40fceb4ee5b40b1a2d3f87',
Jiajie Hu77e53162020-05-28 02:00:29 +0000264 'condition': 'checkout_android and not build_with_chromium',
Geoff Lang6e687af2019-10-17 14:36:41 -0400265 },
alokp@chromium.org29d56fb2010-04-06 15:42:22 +0000266}
267
alokp@chromium.org29d56fb2010-04-06 15:42:22 +0000268hooks = [
Jamie Madill2fdd3da2015-07-20 10:14:54 -0400269 # Pull clang-format binaries using checked-in hashes.
270 {
271 'name': 'clang_format_win',
272 'pattern': '.',
Edward Lemur8ae09b02018-06-01 14:18:28 -0400273 'condition': 'host_os == "win" and not build_with_chromium',
Jamie Madill2fdd3da2015-07-20 10:14:54 -0400274 'action': [ 'download_from_google_storage',
275 '--no_resume',
276 '--platform=win32',
277 '--no_auth',
278 '--bucket', 'chromium-clang-format',
Jamie Madill8ba50492019-10-10 17:46:54 -0400279 '-s', 'buildtools/win/clang-format.exe.sha1',
Jamie Madill2fdd3da2015-07-20 10:14:54 -0400280 ],
281 },
282 {
283 'name': 'clang_format_mac',
284 'pattern': '.',
Edward Lemur8ae09b02018-06-01 14:18:28 -0400285 'condition': 'host_os == "mac" and not build_with_chromium',
Jamie Madill2fdd3da2015-07-20 10:14:54 -0400286 'action': [ 'download_from_google_storage',
287 '--no_resume',
288 '--platform=darwin',
289 '--no_auth',
290 '--bucket', 'chromium-clang-format',
Jamie Madill8ba50492019-10-10 17:46:54 -0400291 '-s', 'buildtools/mac/clang-format.sha1',
Jamie Madill2fdd3da2015-07-20 10:14:54 -0400292 ],
293 },
294 {
295 'name': 'clang_format_linux',
296 'pattern': '.',
Edward Lemur8ae09b02018-06-01 14:18:28 -0400297 'condition': 'host_os == "linux" and not build_with_chromium',
Jamie Madill2fdd3da2015-07-20 10:14:54 -0400298 'action': [ 'download_from_google_storage',
299 '--no_resume',
300 '--platform=linux*',
301 '--no_auth',
302 '--bucket', 'chromium-clang-format',
Jamie Madill8ba50492019-10-10 17:46:54 -0400303 '-s', 'buildtools/linux64/clang-format.sha1',
Jamie Madill2fdd3da2015-07-20 10:14:54 -0400304 ],
305 },
Tobin Ehlis9d4277b2018-05-21 16:22:22 -0600306 {
307 'name': 'sysroot_x86',
308 'pattern': '.',
Edward Lemur8ae09b02018-06-01 14:18:28 -0400309 'condition': 'checkout_linux and ((checkout_x86 or checkout_x64) and not build_with_chromium)',
Jamie Madill8ba50492019-10-10 17:46:54 -0400310 'action': ['python', 'build/linux/sysroot_scripts/install-sysroot.py',
Tobin Ehlis9d4277b2018-05-21 16:22:22 -0600311 '--arch=x86'],
312 },
313 {
314 'name': 'sysroot_x64',
315 'pattern': '.',
Edward Lemur8ae09b02018-06-01 14:18:28 -0400316 'condition': 'checkout_linux and (checkout_x64 and not build_with_chromium)',
Jamie Madill8ba50492019-10-10 17:46:54 -0400317 'action': ['python', 'build/linux/sysroot_scripts/install-sysroot.py',
Tobin Ehlis9d4277b2018-05-21 16:22:22 -0600318 '--arch=x64'],
319 },
Jamie Madill027717f2018-04-13 15:51:24 -0400320 {
321 # Update the Windows toolchain if necessary. Must run before 'clang' below.
322 'name': 'win_toolchain',
323 'pattern': '.',
Edward Lemur8ae09b02018-06-01 14:18:28 -0400324 'condition': 'checkout_win and not build_with_chromium',
Jamie Madill8ba50492019-10-10 17:46:54 -0400325 'action': ['python', 'build/vs_toolchain.py', 'update', '--force'],
Jamie Madill027717f2018-04-13 15:51:24 -0400326 },
Geoff Lang66ae5312019-04-01 16:35:53 -0400327 {
328 # Update the Mac toolchain if necessary.
329 'name': 'mac_toolchain',
330 'pattern': '.',
331 'condition': 'checkout_mac and not build_with_chromium',
Jamie Madill8ba50492019-10-10 17:46:54 -0400332 'action': ['python', 'build/mac_toolchain.py'],
Geoff Lang66ae5312019-04-01 16:35:53 -0400333 },
Jamie Madill027717f2018-04-13 15:51:24 -0400334
alokp@chromium.org29d56fb2010-04-06 15:42:22 +0000335 {
Frank Henigmand0ef13a2017-08-28 22:53:24 -0400336 # Note: On Win, this should run after win_toolchain, as it may use it.
337 'name': 'clang',
338 'pattern': '.',
Jamie Madill8ba50492019-10-10 17:46:54 -0400339 'action': ['python', 'tools/clang/scripts/update.py'],
Edward Lemur8ae09b02018-06-01 14:18:28 -0400340 'condition': 'not build_with_chromium',
Frank Henigmand0ef13a2017-08-28 22:53:24 -0400341 },
Jamie Madill940c48b2017-10-23 23:25:17 -0400342
Shahbaz Youssefi957e9b82018-10-05 11:00:50 -0400343 {
344 # Update LASTCHANGE.
345 'name': 'lastchange',
346 'pattern': '.',
347 'condition': 'not build_with_chromium',
Jamie Madill8ba50492019-10-10 17:46:54 -0400348 'action': ['python', 'build/util/lastchange.py',
349 '-o', 'build/util/LASTCHANGE'],
Shahbaz Youssefi957e9b82018-10-05 11:00:50 -0400350 },
351
Jamie Madill940c48b2017-10-23 23:25:17 -0400352 # Pull rc binaries using checked-in hashes.
353 {
354 'name': 'rc_win',
355 'pattern': '.',
Edward Lemur8ae09b02018-06-01 14:18:28 -0400356 'condition': 'checkout_win and (host_os == "win" and not build_with_chromium)',
Jamie Madill940c48b2017-10-23 23:25:17 -0400357 'action': [ 'download_from_google_storage',
358 '--no_resume',
359 '--no_auth',
360 '--bucket', 'chromium-browser-clang/rc',
Jamie Madill8ba50492019-10-10 17:46:54 -0400361 '-s', 'build/toolchain/win/rc/win/rc.exe.sha1',
Jamie Madill940c48b2017-10-23 23:25:17 -0400362 ],
363 },
Michael Spang229fc832019-01-21 18:09:15 -0500364
365 {
366 'name': 'fuchsia_sdk',
367 'pattern': '.',
368 'condition': 'checkout_fuchsia and not build_with_chromium',
369 'action': [
370 'python',
Jamie Madill8ba50492019-10-10 17:46:54 -0400371 'build/fuchsia/update_sdk.py',
Michael Spang229fc832019-01-21 18:09:15 -0500372 ],
373 },
Jamie Madilld5ff4fa2019-04-08 09:25:23 -0400374
Shahbaz Youssefi82418c82019-04-05 15:56:03 -0400375 # Download glslang validator binary for Linux.
376 {
377 'name': 'linux_glslang_validator',
378 'pattern': '.',
379 'condition': 'checkout_linux and not build_with_chromium',
380 'action': [ 'download_from_google_storage',
381 '--no_resume',
382 '--platform=linux*',
383 '--no_auth',
384 '--bucket', 'angle-glslang-validator',
Jamie Madill8ba50492019-10-10 17:46:54 -0400385 '-s', 'tools/glslang/glslang_validator.sha1',
Shahbaz Youssefi82418c82019-04-05 15:56:03 -0400386 ],
387 },
388
Jamie Madilld5ff4fa2019-04-08 09:25:23 -0400389 # Download glslang validator binary for Windows.
390 {
391 'name': 'win_glslang_validator',
392 'pattern': '.',
393 'condition': 'checkout_win and not build_with_chromium',
394 'action': [ 'download_from_google_storage',
395 '--no_resume',
396 '--platform=win32*',
397 '--no_auth',
398 '--bucket', 'angle-glslang-validator',
Jamie Madill8ba50492019-10-10 17:46:54 -0400399 '-s', 'tools/glslang/glslang_validator.exe.sha1',
Jamie Madilld5ff4fa2019-04-08 09:25:23 -0400400 ],
401 },
Shahbaz Youssefi5efb36b2019-11-25 16:14:55 -0500402
403 # Download flex/bison binaries for Linux.
404 {
405 'name': 'linux_flex_bison',
406 'pattern': '.',
407 'condition': 'checkout_linux and not build_with_chromium',
408 'action': [ 'download_from_google_storage',
409 '--no_resume',
410 '--platform=linux*',
411 '--no_auth',
412 '--bucket', 'angle-flex-bison',
413 '-d', 'tools/flex-bison/linux/',
414 ],
415 },
416
417 # Download flex/bison binaries for Windows.
418 {
419 'name': 'win_flex_bison',
420 'pattern': '.',
421 'condition': 'checkout_win and not build_with_chromium',
422 'action': [ 'download_from_google_storage',
423 '--no_resume',
424 '--platform=win32*',
425 '--no_auth',
426 '--bucket', 'angle-flex-bison',
427 '-d', 'tools/flex-bison/windows/',
428 ],
429 },
Cody Northrop080d7112020-01-08 13:04:44 -0700430
431 # Download internal captures for perf tests
432 {
433 'name': 'restricted_traces',
434 'pattern': '\\.sha1',
435 'condition': 'checkout_angle_internal',
Courtney Goeltzenleuchtere474cc92020-06-18 16:03:30 -0600436 'action': [ 'python',
437 'src/tests/perf_tests/restricted_traces/download_restricted_traces.py',
Jamie Madillee0498b2020-02-15 09:24:03 -0500438 'src/tests/perf_tests/restricted_traces',
Cody Northrop080d7112020-01-08 13:04:44 -0700439 ]
440 }
alokp@chromium.org29d56fb2010-04-06 15:42:22 +0000441]
Jamie Madill20789312016-10-28 14:05:26 -0400442
443recursedeps = [
444 # buildtools provides clang_format.
Jamie Madill8ba50492019-10-10 17:46:54 -0400445 'buildtools',
Jamie Madill07035682019-10-25 09:00:41 -0400446 'third_party/googletest',
Jamie Madille7c8e802019-10-26 08:16:12 -0400447 'third_party/jsoncpp',
Jamie Madill20789312016-10-28 14:05:26 -0400448]