blob: 4eaaa3771fea121a9e1c609f9ed016273214c44a [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).
Cody Northropa5829b22020-04-27 15:41:37 -060025 'vk_gl_cts_revision': '60972ed7fa8fb66b64e21186e7fb13dc082bdac8',
Edward Lemur8ae09b02018-06-01 14:18:28 -040026
27 # Current revision of glslang, the Khronos SPIRV compiler.
angle-autoroll0638b6b2020-05-26 07:01:07 +000028 'glslang_revision': '2b0eafb1de5b4a1b77cf123545ea269d44248885',
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
38 # Current revision of patched-yasm.
39 # Note: this dep cannot be auto-rolled b/c of nesting.
40 'patched_yasm_revision': '720b70524a4424b15fc57e82263568c8ba0496ad',
41
Le Quyena5a04ac2019-10-29 22:57:55 +080042 # Current revision of spirv-cross, the Khronos SPIRV cross compiler.
Le Hoang Quyenbcf99572020-05-11 00:50:00 +080043 'spirv_cross_revision': 'f38cbeb814c73510b85697adbe5e894f9eac978f',
Le Quyena5a04ac2019-10-29 22:57:55 +080044
Edward Lemur8ae09b02018-06-01 14:18:28 -040045 # Current revision fo the SPIRV-Headers Vulkan support library.
angle-autorollbff3b202020-03-19 07:01:16 +000046 'spirv_headers_revision': 'f8bf11a0253a32375c32cad92c841237b96696c0',
Edward Lemur8ae09b02018-06-01 14:18:28 -040047
48 # Current revision of SPIRV-Tools for Vulkan.
angle-autoroll2a0b70a2020-05-26 07:01:17 +000049 'spirv_tools_revision': '9cb2571a184c0fe571100c799301426a492f7407',
Edward Lemur8ae09b02018-06-01 14:18:28 -040050
Tobin Ehlisb971f492018-05-24 10:56:17 -060051 # Current revision of Khronos Vulkan-Headers.
Courtney Goeltzenleuchtere8e12882020-05-05 08:47:28 -060052 'vulkan_headers_revision': '9250d5ae8f50202005233dc0512a1d460c8b4833',
Tobin Ehlisb971f492018-05-24 10:56:17 -060053
54 # Current revision of Khronos Vulkan-Loader.
angle-autoroll7a960b62020-05-18 07:01:49 +000055 'vulkan_loader_revision': '3e390a15976143060eb232acc04380209f9ed08e',
Tobin Ehlisb971f492018-05-24 10:56:17 -060056
57 # Current revision of Khronos Vulkan-Tools.
angle-autorollf9826002020-05-27 07:01:01 +000058 'vulkan_tools_revision': '2bc4fcd9eba505d867cc83cdc4401e427399ed8f',
Tobin Ehlisb971f492018-05-24 10:56:17 -060059
60 # Current revision of Khronos Vulkan-ValidationLayers.
angle-autoroll5b4c6272020-05-26 23:20:11 +000061 'vulkan_validation_revision': '424cdd54fe806c0ce3b1f2789243b9fd9090453f',
Geoff Lang6e687af2019-10-17 14:36:41 -040062
63 # Three lines of non-changing comments so that
64 # the commit queue can handle CLs rolling catapult
65 # and whatever else without interference from each other.
66 'catapult_revision': '1b3fb455bf1849f1e6187e1eaeaef32b9f30d3c5',
Jamie Madill2fdd3da2015-07-20 10:14:54 -040067}
68
alokp@chromium.org29d56fb2010-04-06 15:42:22 +000069deps = {
alokp@chromium.org416fcd32012-04-11 16:23:44 +000070
Jamie Madill8ba50492019-10-10 17:46:54 -040071 'build': {
Jamie Madill43951702020-04-27 16:57:46 -040072 'url': '{chromium_git}/chromium/src/build.git@45ab3c89af6fc3126b0ca5a7836f0db85ad1ba0e',
Edward Lemur8ae09b02018-06-01 14:18:28 -040073 'condition': 'not build_with_chromium',
74 },
Frank Henigmand0ef13a2017-08-28 22:53:24 -040075
Jamie Madill8ba50492019-10-10 17:46:54 -040076 'buildtools': {
Jamie Madill43951702020-04-27 16:57:46 -040077 'url': '{chromium_git}/chromium/src/buildtools.git@204a35a2a64f7179f8b76d7a0385653690839e21',
Edward Lemur8ae09b02018-06-01 14:18:28 -040078 'condition': 'not build_with_chromium',
79 },
Frank Henigmand0ef13a2017-08-28 22:53:24 -040080
Jamie Madill8ba50492019-10-10 17:46:54 -040081 'testing': {
Jamie Madill43951702020-04-27 16:57:46 -040082 'url': '{chromium_git}/chromium/src/testing@3993ef1f527b206d8d3bf3f9824f4fe0e4bbdb0e',
Edward Lemur8ae09b02018-06-01 14:18:28 -040083 'condition': 'not build_with_chromium',
84 },
alokp@chromium.org5cd9c602012-05-16 23:37:50 +000085
Courtney Goeltzenleuchterfebdcf52019-10-28 10:54:03 -060086 # 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 -040087 'third_party/cherry': {
Edward Lemur8ae09b02018-06-01 14:18:28 -040088 'url': '{android_git}/platform/external/cherry@4f8fb08d33ca5ff05a1c638f04c85bbb8d8b52cc',
89 'condition': 'not build_with_chromium',
90 },
Jamie Madill9e76f562015-10-02 08:57:14 -040091
Jamie Madill20e631f2020-05-05 12:19:58 -040092 'third_party/vulkan_memory_allocator': {
93 'url': '{chromium_git}/external/github.com/GPUOpen-LibrariesAndSDKs/VulkanMemoryAllocator@dac952eb0a27736571bf10ac42fbfcc59192f310',
Jamie Madillca50ad42020-05-01 16:37:00 -040094 'condition': 'not build_with_chromium',
Jamie Madill76d52be2020-04-07 09:14:29 -040095 },
96
Courtney Goeltzenleuchterfebdcf52019-10-28 10:54:03 -060097 'third_party/VK-GL-CTS/src': {
98 'url': '{chromium_git}/external/github.com/KhronosGroup/VK-GL-CTS@{vk_gl_cts_revision}',
Edward Lemur8ae09b02018-06-01 14:18:28 -040099 },
Jamie Madill37ee8a62016-12-13 15:18:58 -0500100
Jamie Madill8ba50492019-10-10 17:46:54 -0400101 'third_party/fuchsia-sdk': {
Jamie Madill130fdbc2019-10-10 19:13:07 -0400102 'url': '{chromium_git}/chromium/src/third_party/fuchsia-sdk.git@1785f0ac8e1fe81cb25e260acbe7de8f62fa3e44',
Jamie Madill9f958342019-04-08 09:40:40 -0400103 'condition': 'checkout_fuchsia and not build_with_chromium',
104 },
105
Jamie Madill67a017f2019-10-10 15:27:27 -0400106 # Closed-source OpenGL ES 1.1 Conformance tests.
Jamie Madill8ba50492019-10-10 17:46:54 -0400107 'third_party/gles1_conform': {
Jamie Madill67a017f2019-10-10 15:27:27 -0400108 'url': '{chrome_internal_git}/angle/es-cts.git@dc9f502f709c9cd88d7f8d3974f1c77aa246958e',
Cody Northrop84f45f12019-12-18 14:34:29 -0700109 'condition': 'checkout_angle_internal',
Jamie Madill67a017f2019-10-10 15:27:27 -0400110 },
111
Jamie Madill55959b02019-03-05 10:07:41 -0500112 # glmark2 is a GPL3-licensed OpenGL ES 2.0 benchmark. We use it for testing.
Jamie Madill8ba50492019-10-10 17:46:54 -0400113 'third_party/glmark2/src': {
Jamie Madill2971fd32019-08-12 16:53:21 -0400114 'url': '{chromium_git}/external/github.com/glmark2/glmark2@9e01aef1a786b28aca73135a5b00f85c357e8f5e',
Jamie Madill55959b02019-03-05 10:07:41 -0500115 },
116
Jamie Madill8ba50492019-10-10 17:46:54 -0400117 'third_party/glslang/src': {
Tobin Ehlis317a9eb2018-11-29 12:51:46 -0700118 'url': '{chromium_git}/external/github.com/KhronosGroup/glslang@{glslang_revision}',
Jamie Madill0cb3b0f2019-01-28 09:55:20 -0500119 'condition': 'not build_with_chromium',
Jamie Madill55959b02019-03-05 10:07:41 -0500120 },
Jamie Madill37ee8a62016-12-13 15:18:58 -0500121
Jamie Madill8ba50492019-10-10 17:46:54 -0400122 'third_party/googletest': {
Jamie Madill43951702020-04-27 16:57:46 -0400123 'url': '{chromium_git}/chromium/src/third_party/googletest@217407c4787f361aa5814ec609379bfc9b21d307',
Jamie Madillcf9b2852019-02-13 09:15:26 -0500124 'condition': 'not build_with_chromium',
125 },
126
Jamie Madill55959b02019-03-05 10:07:41 -0500127 # libjpeg_turbo is used by glmark2.
Jamie Madill8ba50492019-10-10 17:46:54 -0400128 'third_party/libjpeg_turbo': {
Jamie Madill43951702020-04-27 16:57:46 -0400129 'url': '{chromium_git}/chromium/deps/libjpeg_turbo.git@7e3ad79800a7945fb37173149842b494ab8982b2',
Jamie Madill55959b02019-03-05 10:07:41 -0500130 'condition': 'not build_with_chromium',
131 },
132
Jamie Madill8ba50492019-10-10 17:46:54 -0400133 'third_party/libpng/src': {
Edward Lemur8ae09b02018-06-01 14:18:28 -0400134 'url': '{android_git}/platform/external/libpng@094e181e79a3d6c23fd005679025058b7df1ad6c',
135 'condition': 'not build_with_chromium',
136 },
Jamie Madill37ee8a62016-12-13 15:18:58 -0500137
Jamie Madill8ba50492019-10-10 17:46:54 -0400138 'third_party/jsoncpp': {
Jamie Madill43951702020-04-27 16:57:46 -0400139 'url': '{chromium_git}/chromium/src/third_party/jsoncpp@ec647b85b61f525a1a74e4da7477b0c5371c50f4',
Jamie Madill0cb3b0f2019-01-28 09:55:20 -0500140 'condition': 'not build_with_chromium',
141 },
Tobin Ehlis5fdc38c2018-08-28 09:20:57 -0600142
Jamie Madill43951702020-04-27 16:57:46 -0400143 'third_party/nasm': {
144 'url': '{chromium_git}/chromium/deps/nasm@4fa54ca5f7fc3a15a8c78ac94688e64d3e4e4fa1',
145 'condition': 'not build_with_chromium',
146 },
147
Jamie Madill8ba50492019-10-10 17:46:54 -0400148 'third_party/Python-Markdown': {
Robert Iannuccida8dad12019-08-08 19:40:48 -0700149 'url': '{chromium_git}/chromium/src/third_party/Python-Markdown@36657c103ce5964733bbbb29377085e9cc1a9472',
Jamie Madill9f958342019-04-08 09:40:40 -0400150 'condition': 'not build_with_chromium',
151 },
152
Jamie Madill8ba50492019-10-10 17:46:54 -0400153 'third_party/qemu-linux-x64': {
Michael Spang229fc832019-01-21 18:09:15 -0500154 'packages': [
155 {
156 'package': 'fuchsia/qemu/linux-amd64',
157 'version': '9cc486c5b18a0be515c39a280ca9a309c54cf994'
158 },
159 ],
160 'condition': 'not build_with_chromium and (host_os == "linux" and checkout_fuchsia)',
161 'dep_type': 'cipd',
162 },
163
Jamie Madill8ba50492019-10-10 17:46:54 -0400164 'third_party/qemu-mac-x64': {
Michael Spang229fc832019-01-21 18:09:15 -0500165 'packages': [
166 {
167 'package': 'fuchsia/qemu/mac-amd64',
168 'version': '2d3358ae9a569b2d4a474f498b32b202a152134f'
169 },
170 ],
171 'condition': 'not build_with_chromium and (host_os == "mac" and checkout_fuchsia)',
172 'dep_type': 'cipd',
173 },
174
Jamie Madill8ba50492019-10-10 17:46:54 -0400175 'third_party/rapidjson/src': {
Jamie Madill46d32e02019-02-25 17:13:16 -0500176 'url': '{chromium_git}/external/github.com/Tencent/rapidjson@7484e06c589873e1ed80382d262087e4fa80fb63',
177 },
178
Le Quyena5a04ac2019-10-29 22:57:55 +0800179 'third_party/spirv-cross/src': {
180 'url': '{chromium_git}/external/github.com/KhronosGroup/SPIRV-Cross@{spirv_cross_revision}',
181 'condition': 'not build_with_chromium',
182 },
183
Jamie Madill8ba50492019-10-10 17:46:54 -0400184 'third_party/spirv-headers/src': {
Jamie Madill0cb3b0f2019-01-28 09:55:20 -0500185 'url': '{chromium_git}/external/github.com/KhronosGroup/SPIRV-Headers@{spirv_headers_revision}',
Corentin Walleza883dd02018-08-03 18:11:46 +0200186 'condition': 'not build_with_chromium',
Edward Lemur8ae09b02018-06-01 14:18:28 -0400187 },
Jamie Madill37ee8a62016-12-13 15:18:58 -0500188
Jamie Madill8ba50492019-10-10 17:46:54 -0400189 'third_party/spirv-tools/src': {
Jamie Madill0cb3b0f2019-01-28 09:55:20 -0500190 'url': '{chromium_git}/external/github.com/KhronosGroup/SPIRV-Tools@{spirv_tools_revision}',
Corentin Walleza883dd02018-08-03 18:11:46 +0200191 'condition': 'not build_with_chromium',
Edward Lemur8ae09b02018-06-01 14:18:28 -0400192 },
Jamie Madill37ee8a62016-12-13 15:18:58 -0500193
Jamie Madill8ba50492019-10-10 17:46:54 -0400194 'third_party/SwiftShader': {
angle-autorolle3abf632020-05-26 07:01:55 +0000195 'url': '{swiftshader_git}/SwiftShader@79dcb2a5abbdf8b6b63428e7a51414b9d4694a62',
Jamie Madill8be7a4c2019-09-19 12:48:31 -0400196 'condition': 'not build_with_chromium',
197 },
198
Jamie Madill8ba50492019-10-10 17:46:54 -0400199 'third_party/vulkan-headers/src': {
Tobin Ehlisb971f492018-05-24 10:56:17 -0600200 'url': '{chromium_git}/external/github.com/KhronosGroup/Vulkan-Headers@{vulkan_headers_revision}',
201 },
202
Jamie Madill8ba50492019-10-10 17:46:54 -0400203 'third_party/vulkan-loader/src': {
Tobin Ehlisb971f492018-05-24 10:56:17 -0600204 'url': '{chromium_git}/external/github.com/KhronosGroup/Vulkan-Loader@{vulkan_loader_revision}',
205 },
206
Jamie Madill8ba50492019-10-10 17:46:54 -0400207 'third_party/vulkan-tools/src': {
Tobin Ehlisb971f492018-05-24 10:56:17 -0600208 'url': '{chromium_git}/external/github.com/KhronosGroup/Vulkan-Tools@{vulkan_tools_revision}',
209 },
210
Jamie Madill8ba50492019-10-10 17:46:54 -0400211 'third_party/vulkan-validation-layers/src': {
Tobin Ehlisb971f492018-05-24 10:56:17 -0600212 'url': '{chromium_git}/external/github.com/KhronosGroup/Vulkan-ValidationLayers@{vulkan_validation_revision}',
Edward Lemur8ae09b02018-06-01 14:18:28 -0400213 },
Jamie Madill3cd438d2015-03-17 11:25:27 -0400214
Jamie Madill8ba50492019-10-10 17:46:54 -0400215 'third_party/zlib': {
Jamie Madill43951702020-04-27 16:57:46 -0400216 'url': '{chromium_git}/chromium/src/third_party/zlib@ae385786edb15f57e992c5e9dd9464e376d69399',
Edward Lemur8ae09b02018-06-01 14:18:28 -0400217 'condition': 'not build_with_chromium',
218 },
Frank Henigmand0ef13a2017-08-28 22:53:24 -0400219
Jamie Madill8ba50492019-10-10 17:46:54 -0400220 'tools/clang': {
Jamie Madill43951702020-04-27 16:57:46 -0400221 'url': '{chromium_git}/chromium/src/tools/clang.git@04b99e7bf9160d551c3a5562f583014b6afc90f9',
Edward Lemur8ae09b02018-06-01 14:18:28 -0400222 'condition': 'not build_with_chromium',
223 },
Michael Spang229fc832019-01-21 18:09:15 -0500224
Le Hoang Quyencaeb2172019-11-20 22:30:17 +0800225 'tools/clang/dsymutil': {
226 'packages': [
227 {
228 'package': 'chromium/llvm-build-tools/dsymutil',
229 'version': 'M56jPzDv1620Rnm__jTMYS62Zi8rxHVq7yw0qeBFEgkC',
230 }
231 ],
232 'condition': 'checkout_mac and not build_with_chromium',
233 'dep_type': 'cipd',
234 },
235
Jamie Madill8ba50492019-10-10 17:46:54 -0400236 'tools/md_browser': {
Jamie Madill43951702020-04-27 16:57:46 -0400237 'url': '{chromium_git}/chromium/src/tools/md_browser@aae45d8d82400e90483d4fee2ca3e648f2313cb2',
Jamie Madill9f958342019-04-08 09:40:40 -0400238 'condition': 'not build_with_chromium',
Michael Spang229fc832019-01-21 18:09:15 -0500239 },
Jamie Madilldf0ce012019-09-05 11:04:39 -0400240
Jamie Madill8ba50492019-10-10 17:46:54 -0400241 'tools/memory': {
Jamie Madilldf0ce012019-09-05 11:04:39 -0400242 'url': '{chromium_git}/chromium/src/tools/memory@89552acb6e60f528fe3c98eac7b445d4c34183ee',
243 'condition': 'not build_with_chromium',
244 },
Geoff Lang6e687af2019-10-17 14:36:41 -0400245
246 'third_party/catapult': {
247 'url': '{chromium_git}/catapult.git@{catapult_revision}',
248 'condition': 'not build_with_chromium',
249 },
250
251 'third_party/android_ndk': {
Jamie Madill1898c082019-11-21 06:37:39 -0500252 'url': '{chromium_git}/android_ndk.git@27c0a8d090c666a50e40fceb4ee5b40b1a2d3f87',
Geoff Lang6e687af2019-10-17 14:36:41 -0400253 'condition': 'not build_with_chromium',
254 },
alokp@chromium.org29d56fb2010-04-06 15:42:22 +0000255}
256
alokp@chromium.org29d56fb2010-04-06 15:42:22 +0000257hooks = [
Jamie Madill2fdd3da2015-07-20 10:14:54 -0400258 # Pull clang-format binaries using checked-in hashes.
259 {
260 'name': 'clang_format_win',
261 'pattern': '.',
Edward Lemur8ae09b02018-06-01 14:18:28 -0400262 'condition': 'host_os == "win" and not build_with_chromium',
Jamie Madill2fdd3da2015-07-20 10:14:54 -0400263 'action': [ 'download_from_google_storage',
264 '--no_resume',
265 '--platform=win32',
266 '--no_auth',
267 '--bucket', 'chromium-clang-format',
Jamie Madill8ba50492019-10-10 17:46:54 -0400268 '-s', 'buildtools/win/clang-format.exe.sha1',
Jamie Madill2fdd3da2015-07-20 10:14:54 -0400269 ],
270 },
271 {
272 'name': 'clang_format_mac',
273 'pattern': '.',
Edward Lemur8ae09b02018-06-01 14:18:28 -0400274 'condition': 'host_os == "mac" and not build_with_chromium',
Jamie Madill2fdd3da2015-07-20 10:14:54 -0400275 'action': [ 'download_from_google_storage',
276 '--no_resume',
277 '--platform=darwin',
278 '--no_auth',
279 '--bucket', 'chromium-clang-format',
Jamie Madill8ba50492019-10-10 17:46:54 -0400280 '-s', 'buildtools/mac/clang-format.sha1',
Jamie Madill2fdd3da2015-07-20 10:14:54 -0400281 ],
282 },
283 {
284 'name': 'clang_format_linux',
285 'pattern': '.',
Edward Lemur8ae09b02018-06-01 14:18:28 -0400286 'condition': 'host_os == "linux" and not build_with_chromium',
Jamie Madill2fdd3da2015-07-20 10:14:54 -0400287 'action': [ 'download_from_google_storage',
288 '--no_resume',
289 '--platform=linux*',
290 '--no_auth',
291 '--bucket', 'chromium-clang-format',
Jamie Madill8ba50492019-10-10 17:46:54 -0400292 '-s', 'buildtools/linux64/clang-format.sha1',
Jamie Madill2fdd3da2015-07-20 10:14:54 -0400293 ],
294 },
Tobin Ehlis9d4277b2018-05-21 16:22:22 -0600295 {
296 'name': 'sysroot_x86',
297 'pattern': '.',
Edward Lemur8ae09b02018-06-01 14:18:28 -0400298 'condition': 'checkout_linux and ((checkout_x86 or checkout_x64) and not build_with_chromium)',
Jamie Madill8ba50492019-10-10 17:46:54 -0400299 'action': ['python', 'build/linux/sysroot_scripts/install-sysroot.py',
Tobin Ehlis9d4277b2018-05-21 16:22:22 -0600300 '--arch=x86'],
301 },
302 {
303 'name': 'sysroot_x64',
304 'pattern': '.',
Edward Lemur8ae09b02018-06-01 14:18:28 -0400305 'condition': 'checkout_linux and (checkout_x64 and not build_with_chromium)',
Jamie Madill8ba50492019-10-10 17:46:54 -0400306 'action': ['python', 'build/linux/sysroot_scripts/install-sysroot.py',
Tobin Ehlis9d4277b2018-05-21 16:22:22 -0600307 '--arch=x64'],
308 },
Jamie Madill027717f2018-04-13 15:51:24 -0400309 {
310 # Update the Windows toolchain if necessary. Must run before 'clang' below.
311 'name': 'win_toolchain',
312 'pattern': '.',
Edward Lemur8ae09b02018-06-01 14:18:28 -0400313 'condition': 'checkout_win and not build_with_chromium',
Jamie Madill8ba50492019-10-10 17:46:54 -0400314 'action': ['python', 'build/vs_toolchain.py', 'update', '--force'],
Jamie Madill027717f2018-04-13 15:51:24 -0400315 },
Geoff Lang66ae5312019-04-01 16:35:53 -0400316 {
317 # Update the Mac toolchain if necessary.
318 'name': 'mac_toolchain',
319 'pattern': '.',
320 'condition': 'checkout_mac and not build_with_chromium',
Jamie Madill8ba50492019-10-10 17:46:54 -0400321 'action': ['python', 'build/mac_toolchain.py'],
Geoff Lang66ae5312019-04-01 16:35:53 -0400322 },
Jamie Madill027717f2018-04-13 15:51:24 -0400323
alokp@chromium.org29d56fb2010-04-06 15:42:22 +0000324 {
Frank Henigmand0ef13a2017-08-28 22:53:24 -0400325 # Note: On Win, this should run after win_toolchain, as it may use it.
326 'name': 'clang',
327 'pattern': '.',
Jamie Madill8ba50492019-10-10 17:46:54 -0400328 'action': ['python', 'tools/clang/scripts/update.py'],
Edward Lemur8ae09b02018-06-01 14:18:28 -0400329 'condition': 'not build_with_chromium',
Frank Henigmand0ef13a2017-08-28 22:53:24 -0400330 },
Jamie Madill940c48b2017-10-23 23:25:17 -0400331
Shahbaz Youssefi957e9b82018-10-05 11:00:50 -0400332 {
333 # Update LASTCHANGE.
334 'name': 'lastchange',
335 'pattern': '.',
336 'condition': 'not build_with_chromium',
Jamie Madill8ba50492019-10-10 17:46:54 -0400337 'action': ['python', 'build/util/lastchange.py',
338 '-o', 'build/util/LASTCHANGE'],
Shahbaz Youssefi957e9b82018-10-05 11:00:50 -0400339 },
340
Jamie Madill940c48b2017-10-23 23:25:17 -0400341 # Pull rc binaries using checked-in hashes.
342 {
343 'name': 'rc_win',
344 'pattern': '.',
Edward Lemur8ae09b02018-06-01 14:18:28 -0400345 'condition': 'checkout_win and (host_os == "win" and not build_with_chromium)',
Jamie Madill940c48b2017-10-23 23:25:17 -0400346 'action': [ 'download_from_google_storage',
347 '--no_resume',
348 '--no_auth',
349 '--bucket', 'chromium-browser-clang/rc',
Jamie Madill8ba50492019-10-10 17:46:54 -0400350 '-s', 'build/toolchain/win/rc/win/rc.exe.sha1',
Jamie Madill940c48b2017-10-23 23:25:17 -0400351 ],
352 },
Michael Spang229fc832019-01-21 18:09:15 -0500353
354 {
355 'name': 'fuchsia_sdk',
356 'pattern': '.',
357 'condition': 'checkout_fuchsia and not build_with_chromium',
358 'action': [
359 'python',
Jamie Madill8ba50492019-10-10 17:46:54 -0400360 'build/fuchsia/update_sdk.py',
Michael Spang229fc832019-01-21 18:09:15 -0500361 ],
362 },
Jamie Madilld5ff4fa2019-04-08 09:25:23 -0400363
Shahbaz Youssefi82418c82019-04-05 15:56:03 -0400364 # Download glslang validator binary for Linux.
365 {
366 'name': 'linux_glslang_validator',
367 'pattern': '.',
368 'condition': 'checkout_linux and not build_with_chromium',
369 'action': [ 'download_from_google_storage',
370 '--no_resume',
371 '--platform=linux*',
372 '--no_auth',
373 '--bucket', 'angle-glslang-validator',
Jamie Madill8ba50492019-10-10 17:46:54 -0400374 '-s', 'tools/glslang/glslang_validator.sha1',
Shahbaz Youssefi82418c82019-04-05 15:56:03 -0400375 ],
376 },
377
Jamie Madilld5ff4fa2019-04-08 09:25:23 -0400378 # Download glslang validator binary for Windows.
379 {
380 'name': 'win_glslang_validator',
381 'pattern': '.',
382 'condition': 'checkout_win and not build_with_chromium',
383 'action': [ 'download_from_google_storage',
384 '--no_resume',
385 '--platform=win32*',
386 '--no_auth',
387 '--bucket', 'angle-glslang-validator',
Jamie Madill8ba50492019-10-10 17:46:54 -0400388 '-s', 'tools/glslang/glslang_validator.exe.sha1',
Jamie Madilld5ff4fa2019-04-08 09:25:23 -0400389 ],
390 },
Shahbaz Youssefi5efb36b2019-11-25 16:14:55 -0500391
392 # Download flex/bison binaries for Linux.
393 {
394 'name': 'linux_flex_bison',
395 'pattern': '.',
396 'condition': 'checkout_linux and not build_with_chromium',
397 'action': [ 'download_from_google_storage',
398 '--no_resume',
399 '--platform=linux*',
400 '--no_auth',
401 '--bucket', 'angle-flex-bison',
402 '-d', 'tools/flex-bison/linux/',
403 ],
404 },
405
406 # Download flex/bison binaries for Windows.
407 {
408 'name': 'win_flex_bison',
409 'pattern': '.',
410 'condition': 'checkout_win and not build_with_chromium',
411 'action': [ 'download_from_google_storage',
412 '--no_resume',
413 '--platform=win32*',
414 '--no_auth',
415 '--bucket', 'angle-flex-bison',
416 '-d', 'tools/flex-bison/windows/',
417 ],
418 },
Cody Northrop080d7112020-01-08 13:04:44 -0700419
420 # Download internal captures for perf tests
421 {
422 'name': 'restricted_traces',
423 'pattern': '\\.sha1',
424 'condition': 'checkout_angle_internal',
425 'action': [ 'download_from_google_storage',
426 '--directory',
427 '--recursive',
428 '--extract',
429 '--bucket', 'chrome-angle-capture-binaries',
Jamie Madillee0498b2020-02-15 09:24:03 -0500430 'src/tests/perf_tests/restricted_traces',
Cody Northrop080d7112020-01-08 13:04:44 -0700431 ]
432 }
alokp@chromium.org29d56fb2010-04-06 15:42:22 +0000433]
Jamie Madill20789312016-10-28 14:05:26 -0400434
435recursedeps = [
436 # buildtools provides clang_format.
Jamie Madill8ba50492019-10-10 17:46:54 -0400437 'buildtools',
Jamie Madill07035682019-10-25 09:00:41 -0400438 'third_party/googletest',
Jamie Madille7c8e802019-10-26 08:16:12 -0400439 'third_party/jsoncpp',
Jamie Madill20789312016-10-28 14:05:26 -0400440]