blob: af1249e8cc2d48106134e34892904a872dc4cc38 [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.
Michael Spang042fe722020-02-21 17:03:11 -050022 'chromium_revision': '86e00b5dd2f15e46f20b7877c15c3c862336fd40',
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).
Courtney Goeltzenleuchter92b00ca2020-02-10 11:07:23 -070025 'vk_gl_cts_revision': 'a6b249819f7177821d4b7eefff36af07fef71825',
Edward Lemur8ae09b02018-06-01 14:18:28 -040026
27 # Current revision of glslang, the Khronos SPIRV compiler.
angle-autorollf51dbc22020-03-12 07:01:46 +000028 'glslang_revision': '9b620aa0c12d12dd7ec7ced43ce9e58f275d47c1',
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 Quyen5245de82019-11-20 01:04:00 +080043 'spirv_cross_revision': 'fd5aa3ad51ece55a1b51fe6bfb271db6844ae291',
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-autoroll41b4ab12020-03-16 19:18:56 +000046 'spirv_headers_revision': 'a17e17e36da44d2cd1740132ecd7a8cb078f1d15',
Edward Lemur8ae09b02018-06-01 14:18:28 -040047
48 # Current revision of SPIRV-Tools for Vulkan.
angle-autoroll41b4ab12020-03-16 19:18:56 +000049 'spirv_tools_revision': '25ede1ced6797f9a3689ae7dac5085ce8236c573',
Edward Lemur8ae09b02018-06-01 14:18:28 -040050
Tobin Ehlisb971f492018-05-24 10:56:17 -060051 # Current revision of Khronos Vulkan-Headers.
angle-autorollc535c7d2020-03-09 07:02:01 +000052 'vulkan_headers_revision': '74556a131735598a5ae7a94ec5500a9d9f908b3a',
Tobin Ehlisb971f492018-05-24 10:56:17 -060053
54 # Current revision of Khronos Vulkan-Loader.
angle-autoroll8bc374d2020-03-17 07:01:14 +000055 'vulkan_loader_revision': '64c36933d4f28b1609a087a94baec56bd6338215',
Tobin Ehlisb971f492018-05-24 10:56:17 -060056
57 # Current revision of Khronos Vulkan-Tools.
angle-autorolld763f1e2020-03-06 07:01:40 +000058 'vulkan_tools_revision': '94ed4c384c3425963b459a735045706e5f83f01b',
Tobin Ehlisb971f492018-05-24 10:56:17 -060059
60 # Current revision of Khronos Vulkan-ValidationLayers.
angle-autoroll40c7a202020-03-12 07:01:34 +000061 'vulkan_validation_revision': 'be663d752e45d93b11e81ee2e180e23974809d12',
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': {
Michael Spang042fe722020-02-21 17:03:11 -050072 'url': '{chromium_git}/chromium/src/build.git@5d6bdfc4f1eb62cf03db782dd1d528f49781536b',
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': {
Michael Spang042fe722020-02-21 17:03:11 -050077 'url': '{chromium_git}/chromium/src/buildtools.git@feb2d0c562195d2cc127045597053cc8ade51b4a',
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': {
Michael Spang042fe722020-02-21 17:03:11 -050082 'url': '{chromium_git}/chromium/src/testing@74854b3f7b8c6e2e728e1b6ea655fa8f1c96de9f',
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
Courtney Goeltzenleuchterfebdcf52019-10-28 10:54:03 -060092 'third_party/VK-GL-CTS/src': {
93 'url': '{chromium_git}/external/github.com/KhronosGroup/VK-GL-CTS@{vk_gl_cts_revision}',
Edward Lemur8ae09b02018-06-01 14:18:28 -040094 },
Jamie Madill37ee8a62016-12-13 15:18:58 -050095
Jamie Madill8ba50492019-10-10 17:46:54 -040096 'third_party/fuchsia-sdk': {
Jamie Madill130fdbc2019-10-10 19:13:07 -040097 'url': '{chromium_git}/chromium/src/third_party/fuchsia-sdk.git@1785f0ac8e1fe81cb25e260acbe7de8f62fa3e44',
Jamie Madill9f958342019-04-08 09:40:40 -040098 'condition': 'checkout_fuchsia and not build_with_chromium',
99 },
100
Jamie Madill67a017f2019-10-10 15:27:27 -0400101 # Closed-source OpenGL ES 1.1 Conformance tests.
Jamie Madill8ba50492019-10-10 17:46:54 -0400102 'third_party/gles1_conform': {
Jamie Madill67a017f2019-10-10 15:27:27 -0400103 'url': '{chrome_internal_git}/angle/es-cts.git@dc9f502f709c9cd88d7f8d3974f1c77aa246958e',
Cody Northrop84f45f12019-12-18 14:34:29 -0700104 'condition': 'checkout_angle_internal',
Jamie Madill67a017f2019-10-10 15:27:27 -0400105 },
106
Jamie Madill55959b02019-03-05 10:07:41 -0500107 # glmark2 is a GPL3-licensed OpenGL ES 2.0 benchmark. We use it for testing.
Jamie Madill8ba50492019-10-10 17:46:54 -0400108 'third_party/glmark2/src': {
Jamie Madill2971fd32019-08-12 16:53:21 -0400109 'url': '{chromium_git}/external/github.com/glmark2/glmark2@9e01aef1a786b28aca73135a5b00f85c357e8f5e',
Jamie Madill55959b02019-03-05 10:07:41 -0500110 },
111
Jamie Madill8ba50492019-10-10 17:46:54 -0400112 'third_party/glslang/src': {
Tobin Ehlis317a9eb2018-11-29 12:51:46 -0700113 'url': '{chromium_git}/external/github.com/KhronosGroup/glslang@{glslang_revision}',
Jamie Madill0cb3b0f2019-01-28 09:55:20 -0500114 'condition': 'not build_with_chromium',
Jamie Madill55959b02019-03-05 10:07:41 -0500115 },
Jamie Madill37ee8a62016-12-13 15:18:58 -0500116
Jamie Madill8ba50492019-10-10 17:46:54 -0400117 'third_party/googletest': {
Yuly Novikov113d0002020-02-19 12:09:39 -0500118 'url': '{chromium_git}/chromium/src/third_party/googletest@703ca235f0a83aeebf2dfe2cc56a7eac362cf078',
Jamie Madillcf9b2852019-02-13 09:15:26 -0500119 'condition': 'not build_with_chromium',
120 },
121
Jamie Madill55959b02019-03-05 10:07:41 -0500122 # libjpeg_turbo is used by glmark2.
Jamie Madill8ba50492019-10-10 17:46:54 -0400123 'third_party/libjpeg_turbo': {
Yuly Novikovc8e486b2020-01-30 13:23:42 -0500124 'url': '{chromium_git}/chromium/deps/libjpeg_turbo.git@ce0e57e8e636f5132fe6f0590a4dba91f92fd935',
Jamie Madill55959b02019-03-05 10:07:41 -0500125 'condition': 'not build_with_chromium',
126 },
127
Jamie Madill8ba50492019-10-10 17:46:54 -0400128 'third_party/libpng/src': {
Edward Lemur8ae09b02018-06-01 14:18:28 -0400129 'url': '{android_git}/platform/external/libpng@094e181e79a3d6c23fd005679025058b7df1ad6c',
130 'condition': 'not build_with_chromium',
131 },
Jamie Madill37ee8a62016-12-13 15:18:58 -0500132
Jamie Madill8ba50492019-10-10 17:46:54 -0400133 'third_party/jsoncpp': {
Yuly Novikovc8e486b2020-01-30 13:23:42 -0500134 'url': '{chromium_git}/chromium/src/third_party/jsoncpp@493c9385c91023c3819b51ee0de552d52229a1e5',
Jamie Madill0cb3b0f2019-01-28 09:55:20 -0500135 'condition': 'not build_with_chromium',
136 },
Tobin Ehlis5fdc38c2018-08-28 09:20:57 -0600137
Jamie Madill8ba50492019-10-10 17:46:54 -0400138 'third_party/Python-Markdown': {
Robert Iannuccida8dad12019-08-08 19:40:48 -0700139 'url': '{chromium_git}/chromium/src/third_party/Python-Markdown@36657c103ce5964733bbbb29377085e9cc1a9472',
Jamie Madill9f958342019-04-08 09:40:40 -0400140 'condition': 'not build_with_chromium',
141 },
142
Jamie Madill8ba50492019-10-10 17:46:54 -0400143 'third_party/qemu-linux-x64': {
Michael Spang229fc832019-01-21 18:09:15 -0500144 'packages': [
145 {
146 'package': 'fuchsia/qemu/linux-amd64',
147 'version': '9cc486c5b18a0be515c39a280ca9a309c54cf994'
148 },
149 ],
150 'condition': 'not build_with_chromium and (host_os == "linux" and checkout_fuchsia)',
151 'dep_type': 'cipd',
152 },
153
Jamie Madill8ba50492019-10-10 17:46:54 -0400154 'third_party/qemu-mac-x64': {
Michael Spang229fc832019-01-21 18:09:15 -0500155 'packages': [
156 {
157 'package': 'fuchsia/qemu/mac-amd64',
158 'version': '2d3358ae9a569b2d4a474f498b32b202a152134f'
159 },
160 ],
161 'condition': 'not build_with_chromium and (host_os == "mac" and checkout_fuchsia)',
162 'dep_type': 'cipd',
163 },
164
Jamie Madill8ba50492019-10-10 17:46:54 -0400165 'third_party/rapidjson/src': {
Jamie Madill46d32e02019-02-25 17:13:16 -0500166 'url': '{chromium_git}/external/github.com/Tencent/rapidjson@7484e06c589873e1ed80382d262087e4fa80fb63',
167 },
168
Le Quyena5a04ac2019-10-29 22:57:55 +0800169 'third_party/spirv-cross/src': {
170 'url': '{chromium_git}/external/github.com/KhronosGroup/SPIRV-Cross@{spirv_cross_revision}',
171 'condition': 'not build_with_chromium',
172 },
173
Jamie Madill8ba50492019-10-10 17:46:54 -0400174 'third_party/spirv-headers/src': {
Jamie Madill0cb3b0f2019-01-28 09:55:20 -0500175 'url': '{chromium_git}/external/github.com/KhronosGroup/SPIRV-Headers@{spirv_headers_revision}',
Corentin Walleza883dd02018-08-03 18:11:46 +0200176 'condition': 'not build_with_chromium',
Edward Lemur8ae09b02018-06-01 14:18:28 -0400177 },
Jamie Madill37ee8a62016-12-13 15:18:58 -0500178
Jamie Madill8ba50492019-10-10 17:46:54 -0400179 'third_party/spirv-tools/src': {
Jamie Madill0cb3b0f2019-01-28 09:55:20 -0500180 'url': '{chromium_git}/external/github.com/KhronosGroup/SPIRV-Tools@{spirv_tools_revision}',
Corentin Walleza883dd02018-08-03 18:11:46 +0200181 'condition': 'not build_with_chromium',
Edward Lemur8ae09b02018-06-01 14:18:28 -0400182 },
Jamie Madill37ee8a62016-12-13 15:18:58 -0500183
Jamie Madill8ba50492019-10-10 17:46:54 -0400184 'third_party/SwiftShader': {
angle-autorolld1d96d72020-03-16 07:01:41 +0000185 'url': '{swiftshader_git}/SwiftShader@3a50a43df988b2d375a1247073329fb9ad64bca0',
Jamie Madill8be7a4c2019-09-19 12:48:31 -0400186 'condition': 'not build_with_chromium',
187 },
188
Jamie Madill8ba50492019-10-10 17:46:54 -0400189 'third_party/vulkan-headers/src': {
Tobin Ehlisb971f492018-05-24 10:56:17 -0600190 'url': '{chromium_git}/external/github.com/KhronosGroup/Vulkan-Headers@{vulkan_headers_revision}',
191 },
192
Jamie Madill8ba50492019-10-10 17:46:54 -0400193 'third_party/vulkan-loader/src': {
Tobin Ehlisb971f492018-05-24 10:56:17 -0600194 'url': '{chromium_git}/external/github.com/KhronosGroup/Vulkan-Loader@{vulkan_loader_revision}',
195 },
196
Jamie Madill8ba50492019-10-10 17:46:54 -0400197 'third_party/vulkan-tools/src': {
Tobin Ehlisb971f492018-05-24 10:56:17 -0600198 'url': '{chromium_git}/external/github.com/KhronosGroup/Vulkan-Tools@{vulkan_tools_revision}',
199 },
200
Jamie Madill8ba50492019-10-10 17:46:54 -0400201 'third_party/vulkan-validation-layers/src': {
Tobin Ehlisb971f492018-05-24 10:56:17 -0600202 'url': '{chromium_git}/external/github.com/KhronosGroup/Vulkan-ValidationLayers@{vulkan_validation_revision}',
Edward Lemur8ae09b02018-06-01 14:18:28 -0400203 },
Jamie Madill3cd438d2015-03-17 11:25:27 -0400204
Jamie Madill8ba50492019-10-10 17:46:54 -0400205 'third_party/yasm': {
Michael Spang042fe722020-02-21 17:03:11 -0500206 'url': '{chromium_git}/chromium/src/third_party/yasm@8e4e548d0b199df58740336024c1b3baf7c0abd7',
Jamie Madill55959b02019-03-05 10:07:41 -0500207 'condition': 'not build_with_chromium',
208 },
209
Jamie Madill8ba50492019-10-10 17:46:54 -0400210 'third_party/zlib': {
Jamie Madilla8acd772020-03-16 22:28:50 -0400211 'url': '{chromium_git}/chromium/src/third_party/zlib@156be8c52f80cde343088b4a69a80579101b6e67',
Edward Lemur8ae09b02018-06-01 14:18:28 -0400212 'condition': 'not build_with_chromium',
213 },
Frank Henigmand0ef13a2017-08-28 22:53:24 -0400214
Jamie Madill8ba50492019-10-10 17:46:54 -0400215 'tools/clang': {
Yuly Novikov113d0002020-02-19 12:09:39 -0500216 'url': '{chromium_git}/chromium/src/tools/clang.git@eeaa53b76fa7c2e84f655a63a8e66c6db9d72fff',
Edward Lemur8ae09b02018-06-01 14:18:28 -0400217 'condition': 'not build_with_chromium',
218 },
Michael Spang229fc832019-01-21 18:09:15 -0500219
Le Hoang Quyencaeb2172019-11-20 22:30:17 +0800220 'tools/clang/dsymutil': {
221 'packages': [
222 {
223 'package': 'chromium/llvm-build-tools/dsymutil',
224 'version': 'M56jPzDv1620Rnm__jTMYS62Zi8rxHVq7yw0qeBFEgkC',
225 }
226 ],
227 'condition': 'checkout_mac and not build_with_chromium',
228 'dep_type': 'cipd',
229 },
230
Jamie Madill8ba50492019-10-10 17:46:54 -0400231 'tools/md_browser': {
Robert Iannuccida8dad12019-08-08 19:40:48 -0700232 'url': '{chromium_git}/chromium/src/tools/md_browser@0bfd826f8566a99923e64a782908faca72bc457c',
Jamie Madill9f958342019-04-08 09:40:40 -0400233 'condition': 'not build_with_chromium',
Michael Spang229fc832019-01-21 18:09:15 -0500234 },
Jamie Madilldf0ce012019-09-05 11:04:39 -0400235
Jamie Madill8ba50492019-10-10 17:46:54 -0400236 'tools/memory': {
Jamie Madilldf0ce012019-09-05 11:04:39 -0400237 'url': '{chromium_git}/chromium/src/tools/memory@89552acb6e60f528fe3c98eac7b445d4c34183ee',
238 'condition': 'not build_with_chromium',
239 },
Geoff Lang6e687af2019-10-17 14:36:41 -0400240
241 'third_party/catapult': {
242 'url': '{chromium_git}/catapult.git@{catapult_revision}',
243 'condition': 'not build_with_chromium',
244 },
245
246 'third_party/android_ndk': {
Jamie Madill1898c082019-11-21 06:37:39 -0500247 'url': '{chromium_git}/android_ndk.git@27c0a8d090c666a50e40fceb4ee5b40b1a2d3f87',
Geoff Lang6e687af2019-10-17 14:36:41 -0400248 'condition': 'not build_with_chromium',
249 },
alokp@chromium.org29d56fb2010-04-06 15:42:22 +0000250}
251
alokp@chromium.org29d56fb2010-04-06 15:42:22 +0000252hooks = [
Jamie Madill2fdd3da2015-07-20 10:14:54 -0400253 # Pull clang-format binaries using checked-in hashes.
254 {
255 'name': 'clang_format_win',
256 'pattern': '.',
Edward Lemur8ae09b02018-06-01 14:18:28 -0400257 'condition': 'host_os == "win" and not build_with_chromium',
Jamie Madill2fdd3da2015-07-20 10:14:54 -0400258 'action': [ 'download_from_google_storage',
259 '--no_resume',
260 '--platform=win32',
261 '--no_auth',
262 '--bucket', 'chromium-clang-format',
Jamie Madill8ba50492019-10-10 17:46:54 -0400263 '-s', 'buildtools/win/clang-format.exe.sha1',
Jamie Madill2fdd3da2015-07-20 10:14:54 -0400264 ],
265 },
266 {
267 'name': 'clang_format_mac',
268 'pattern': '.',
Edward Lemur8ae09b02018-06-01 14:18:28 -0400269 'condition': 'host_os == "mac" and not build_with_chromium',
Jamie Madill2fdd3da2015-07-20 10:14:54 -0400270 'action': [ 'download_from_google_storage',
271 '--no_resume',
272 '--platform=darwin',
273 '--no_auth',
274 '--bucket', 'chromium-clang-format',
Jamie Madill8ba50492019-10-10 17:46:54 -0400275 '-s', 'buildtools/mac/clang-format.sha1',
Jamie Madill2fdd3da2015-07-20 10:14:54 -0400276 ],
277 },
278 {
279 'name': 'clang_format_linux',
280 'pattern': '.',
Edward Lemur8ae09b02018-06-01 14:18:28 -0400281 'condition': 'host_os == "linux" and not build_with_chromium',
Jamie Madill2fdd3da2015-07-20 10:14:54 -0400282 'action': [ 'download_from_google_storage',
283 '--no_resume',
284 '--platform=linux*',
285 '--no_auth',
286 '--bucket', 'chromium-clang-format',
Jamie Madill8ba50492019-10-10 17:46:54 -0400287 '-s', 'buildtools/linux64/clang-format.sha1',
Jamie Madill2fdd3da2015-07-20 10:14:54 -0400288 ],
289 },
Tobin Ehlis9d4277b2018-05-21 16:22:22 -0600290 {
291 'name': 'sysroot_x86',
292 'pattern': '.',
Edward Lemur8ae09b02018-06-01 14:18:28 -0400293 'condition': 'checkout_linux and ((checkout_x86 or checkout_x64) and not build_with_chromium)',
Jamie Madill8ba50492019-10-10 17:46:54 -0400294 'action': ['python', 'build/linux/sysroot_scripts/install-sysroot.py',
Tobin Ehlis9d4277b2018-05-21 16:22:22 -0600295 '--arch=x86'],
296 },
297 {
298 'name': 'sysroot_x64',
299 'pattern': '.',
Edward Lemur8ae09b02018-06-01 14:18:28 -0400300 'condition': 'checkout_linux and (checkout_x64 and not build_with_chromium)',
Jamie Madill8ba50492019-10-10 17:46:54 -0400301 'action': ['python', 'build/linux/sysroot_scripts/install-sysroot.py',
Tobin Ehlis9d4277b2018-05-21 16:22:22 -0600302 '--arch=x64'],
303 },
Jamie Madill027717f2018-04-13 15:51:24 -0400304 {
305 # Update the Windows toolchain if necessary. Must run before 'clang' below.
306 'name': 'win_toolchain',
307 'pattern': '.',
Edward Lemur8ae09b02018-06-01 14:18:28 -0400308 'condition': 'checkout_win and not build_with_chromium',
Jamie Madill8ba50492019-10-10 17:46:54 -0400309 'action': ['python', 'build/vs_toolchain.py', 'update', '--force'],
Jamie Madill027717f2018-04-13 15:51:24 -0400310 },
Geoff Lang66ae5312019-04-01 16:35:53 -0400311 {
312 # Update the Mac toolchain if necessary.
313 'name': 'mac_toolchain',
314 'pattern': '.',
315 'condition': 'checkout_mac and not build_with_chromium',
Jamie Madill8ba50492019-10-10 17:46:54 -0400316 'action': ['python', 'build/mac_toolchain.py'],
Geoff Lang66ae5312019-04-01 16:35:53 -0400317 },
Jamie Madill027717f2018-04-13 15:51:24 -0400318
alokp@chromium.org29d56fb2010-04-06 15:42:22 +0000319 {
Frank Henigmand0ef13a2017-08-28 22:53:24 -0400320 # Note: On Win, this should run after win_toolchain, as it may use it.
321 'name': 'clang',
322 'pattern': '.',
Jamie Madill8ba50492019-10-10 17:46:54 -0400323 'action': ['python', 'tools/clang/scripts/update.py'],
Edward Lemur8ae09b02018-06-01 14:18:28 -0400324 'condition': 'not build_with_chromium',
Frank Henigmand0ef13a2017-08-28 22:53:24 -0400325 },
Jamie Madill940c48b2017-10-23 23:25:17 -0400326
Shahbaz Youssefi957e9b82018-10-05 11:00:50 -0400327 {
328 # Update LASTCHANGE.
329 'name': 'lastchange',
330 'pattern': '.',
331 'condition': 'not build_with_chromium',
Jamie Madill8ba50492019-10-10 17:46:54 -0400332 'action': ['python', 'build/util/lastchange.py',
333 '-o', 'build/util/LASTCHANGE'],
Shahbaz Youssefi957e9b82018-10-05 11:00:50 -0400334 },
335
Jamie Madill940c48b2017-10-23 23:25:17 -0400336 # Pull rc binaries using checked-in hashes.
337 {
338 'name': 'rc_win',
339 'pattern': '.',
Edward Lemur8ae09b02018-06-01 14:18:28 -0400340 'condition': 'checkout_win and (host_os == "win" and not build_with_chromium)',
Jamie Madill940c48b2017-10-23 23:25:17 -0400341 'action': [ 'download_from_google_storage',
342 '--no_resume',
343 '--no_auth',
344 '--bucket', 'chromium-browser-clang/rc',
Jamie Madill8ba50492019-10-10 17:46:54 -0400345 '-s', 'build/toolchain/win/rc/win/rc.exe.sha1',
Jamie Madill940c48b2017-10-23 23:25:17 -0400346 ],
347 },
Michael Spang229fc832019-01-21 18:09:15 -0500348
349 {
350 'name': 'fuchsia_sdk',
351 'pattern': '.',
352 'condition': 'checkout_fuchsia and not build_with_chromium',
353 'action': [
354 'python',
Jamie Madill8ba50492019-10-10 17:46:54 -0400355 'build/fuchsia/update_sdk.py',
Michael Spang229fc832019-01-21 18:09:15 -0500356 ],
357 },
Jamie Madilld5ff4fa2019-04-08 09:25:23 -0400358
Shahbaz Youssefi82418c82019-04-05 15:56:03 -0400359 # Download glslang validator binary for Linux.
360 {
361 'name': 'linux_glslang_validator',
362 'pattern': '.',
363 'condition': 'checkout_linux and not build_with_chromium',
364 'action': [ 'download_from_google_storage',
365 '--no_resume',
366 '--platform=linux*',
367 '--no_auth',
368 '--bucket', 'angle-glslang-validator',
Jamie Madill8ba50492019-10-10 17:46:54 -0400369 '-s', 'tools/glslang/glslang_validator.sha1',
Shahbaz Youssefi82418c82019-04-05 15:56:03 -0400370 ],
371 },
372
Jamie Madilld5ff4fa2019-04-08 09:25:23 -0400373 # Download glslang validator binary for Windows.
374 {
375 'name': 'win_glslang_validator',
376 'pattern': '.',
377 'condition': 'checkout_win and not build_with_chromium',
378 'action': [ 'download_from_google_storage',
379 '--no_resume',
380 '--platform=win32*',
381 '--no_auth',
382 '--bucket', 'angle-glslang-validator',
Jamie Madill8ba50492019-10-10 17:46:54 -0400383 '-s', 'tools/glslang/glslang_validator.exe.sha1',
Jamie Madilld5ff4fa2019-04-08 09:25:23 -0400384 ],
385 },
Shahbaz Youssefi5efb36b2019-11-25 16:14:55 -0500386
387 # Download flex/bison binaries for Linux.
388 {
389 'name': 'linux_flex_bison',
390 'pattern': '.',
391 'condition': 'checkout_linux and not build_with_chromium',
392 'action': [ 'download_from_google_storage',
393 '--no_resume',
394 '--platform=linux*',
395 '--no_auth',
396 '--bucket', 'angle-flex-bison',
397 '-d', 'tools/flex-bison/linux/',
398 ],
399 },
400
401 # Download flex/bison binaries for Windows.
402 {
403 'name': 'win_flex_bison',
404 'pattern': '.',
405 'condition': 'checkout_win and not build_with_chromium',
406 'action': [ 'download_from_google_storage',
407 '--no_resume',
408 '--platform=win32*',
409 '--no_auth',
410 '--bucket', 'angle-flex-bison',
411 '-d', 'tools/flex-bison/windows/',
412 ],
413 },
Cody Northrop080d7112020-01-08 13:04:44 -0700414
415 # Download internal captures for perf tests
416 {
417 'name': 'restricted_traces',
418 'pattern': '\\.sha1',
419 'condition': 'checkout_angle_internal',
420 'action': [ 'download_from_google_storage',
421 '--directory',
422 '--recursive',
423 '--extract',
424 '--bucket', 'chrome-angle-capture-binaries',
Jamie Madillee0498b2020-02-15 09:24:03 -0500425 'src/tests/perf_tests/restricted_traces',
Cody Northrop080d7112020-01-08 13:04:44 -0700426 ]
427 }
alokp@chromium.org29d56fb2010-04-06 15:42:22 +0000428]
Jamie Madill20789312016-10-28 14:05:26 -0400429
430recursedeps = [
431 # buildtools provides clang_format.
Jamie Madill8ba50492019-10-10 17:46:54 -0400432 'buildtools',
Jamie Madill07035682019-10-25 09:00:41 -0400433 'third_party/googletest',
Jamie Madille7c8e802019-10-26 08:16:12 -0400434 'third_party/jsoncpp',
435 'third_party/yasm',
Jamie Madill20789312016-10-28 14:05:26 -0400436]