blob: 78a749680c942353fa22230b25101da71b92f8ce [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 Madille0f8b5d2019-12-12 14:58:12 -050022 'chromium_revision': 'e1633af636fa3bc0bf93ccaf5ccc1c9691439703',
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 Goeltzenleuchter7dfc99e2019-12-18 16:37:20 -070025 'vk_gl_cts_revision': 'd99a765d38d35deeb3f27cf30d9d6fe4f183510e',
Edward Lemur8ae09b02018-06-01 14:18:28 -040026
27 # Current revision of glslang, the Khronos SPIRV compiler.
angle-autorollc6ff2552020-01-13 07:01:47 +000028 'glslang_revision': 'd203754bc1160cbb14e80de238042a2b9b439917',
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-autoroll4bad5352019-10-25 11:54:24 +000046 'spirv_headers_revision': 'af64a9e826bf5bb5fcd2434dd71be1e41e922563',
Edward Lemur8ae09b02018-06-01 14:18:28 -040047
48 # Current revision of SPIRV-Tools for Vulkan.
angle-autoroll9805f022020-01-14 07:01:53 +000049 'spirv_tools_revision': '8013d477aeac6b596216b0c68134d11561f8b05f',
Edward Lemur8ae09b02018-06-01 14:18:28 -040050
Tobin Ehlisb971f492018-05-24 10:56:17 -060051 # Current revision of Khronos Vulkan-Headers.
angle-autorollc1fc6de2019-12-30 07:02:09 +000052 'vulkan_headers_revision': 'f63dd5c9d874310c8403f3aef9302b761efedd18',
Tobin Ehlisb971f492018-05-24 10:56:17 -060053
54 # Current revision of Khronos Vulkan-Loader.
Tobin Ehlis5fd73782019-08-09 11:46:46 -060055 'vulkan_loader_revision': '2d6f74c6d4319e94cf1fa33954c619ab4428f2b8',
Tobin Ehlisb971f492018-05-24 10:56:17 -060056
57 # Current revision of Khronos Vulkan-Tools.
angle-autorolld0788502020-01-08 07:01:14 +000058 'vulkan_tools_revision': '2c436960d2c0d06a1838f8428886db369b2e4f56',
Tobin Ehlisb971f492018-05-24 10:56:17 -060059
60 # Current revision of Khronos Vulkan-ValidationLayers.
angle-autoroll54d0d532020-01-14 07:01:43 +000061 'vulkan_validation_revision': '834baaf8b22782d38b8da2bf52d046df2eed794f',
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 Madille0f8b5d2019-12-12 14:58:12 -050072 'url': '{chromium_git}/chromium/src/build.git@dfe5662014cf45982441c8a767092934dfecfa9e',
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 Madill33adad12019-11-27 10:21:20 -050077 'url': '{chromium_git}/chromium/src/buildtools.git@6b3e658d6fe8cd9c2588796d296f07312b776054',
Edward Lemur8ae09b02018-06-01 14:18:28 -040078 'condition': 'not build_with_chromium',
79 },
Frank Henigmand0ef13a2017-08-28 22:53:24 -040080
Cody Northrop291be9a2019-12-18 14:36:17 -070081 # Closed-source ANGLE capture files and tests
82 'src/tests/internal_capture_tests': {
83 'url': '{chrome_internal_git}/angle/angle-captures.git@e2fa6fa80de07f784da7214e933c8565ebfc34da',
84 'condition': 'checkout_angle_internal',
85 },
86
Jamie Madill8ba50492019-10-10 17:46:54 -040087 'testing': {
Jamie Madille0f8b5d2019-12-12 14:58:12 -050088 'url': '{chromium_git}/chromium/src/testing@c1b508625d47f26cfc04eab47747a792a5ee765b',
Edward Lemur8ae09b02018-06-01 14:18:28 -040089 'condition': 'not build_with_chromium',
90 },
alokp@chromium.org5cd9c602012-05-16 23:37:50 +000091
Courtney Goeltzenleuchterfebdcf52019-10-28 10:54:03 -060092 # 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 -040093 'third_party/cherry': {
Edward Lemur8ae09b02018-06-01 14:18:28 -040094 'url': '{android_git}/platform/external/cherry@4f8fb08d33ca5ff05a1c638f04c85bbb8d8b52cc',
95 'condition': 'not build_with_chromium',
96 },
Jamie Madill9e76f562015-10-02 08:57:14 -040097
Courtney Goeltzenleuchterfebdcf52019-10-28 10:54:03 -060098 'third_party/VK-GL-CTS/src': {
99 'url': '{chromium_git}/external/github.com/KhronosGroup/VK-GL-CTS@{vk_gl_cts_revision}',
Edward Lemur8ae09b02018-06-01 14:18:28 -0400100 },
Jamie Madill37ee8a62016-12-13 15:18:58 -0500101
Jamie Madill8ba50492019-10-10 17:46:54 -0400102 'third_party/fuchsia-sdk': {
Jamie Madill130fdbc2019-10-10 19:13:07 -0400103 'url': '{chromium_git}/chromium/src/third_party/fuchsia-sdk.git@1785f0ac8e1fe81cb25e260acbe7de8f62fa3e44',
Jamie Madill9f958342019-04-08 09:40:40 -0400104 'condition': 'checkout_fuchsia and not build_with_chromium',
105 },
106
Jamie Madill67a017f2019-10-10 15:27:27 -0400107 # Closed-source OpenGL ES 1.1 Conformance tests.
Jamie Madill8ba50492019-10-10 17:46:54 -0400108 'third_party/gles1_conform': {
Jamie Madill67a017f2019-10-10 15:27:27 -0400109 'url': '{chrome_internal_git}/angle/es-cts.git@dc9f502f709c9cd88d7f8d3974f1c77aa246958e',
Cody Northrop84f45f12019-12-18 14:34:29 -0700110 'condition': 'checkout_angle_internal',
Jamie Madill67a017f2019-10-10 15:27:27 -0400111 },
112
Jamie Madill55959b02019-03-05 10:07:41 -0500113 # glmark2 is a GPL3-licensed OpenGL ES 2.0 benchmark. We use it for testing.
Jamie Madill8ba50492019-10-10 17:46:54 -0400114 'third_party/glmark2/src': {
Jamie Madill2971fd32019-08-12 16:53:21 -0400115 'url': '{chromium_git}/external/github.com/glmark2/glmark2@9e01aef1a786b28aca73135a5b00f85c357e8f5e',
Jamie Madill55959b02019-03-05 10:07:41 -0500116 },
117
Jamie Madill8ba50492019-10-10 17:46:54 -0400118 'third_party/glslang/src': {
Tobin Ehlis317a9eb2018-11-29 12:51:46 -0700119 'url': '{chromium_git}/external/github.com/KhronosGroup/glslang@{glslang_revision}',
Jamie Madill0cb3b0f2019-01-28 09:55:20 -0500120 'condition': 'not build_with_chromium',
Jamie Madill55959b02019-03-05 10:07:41 -0500121 },
Jamie Madill37ee8a62016-12-13 15:18:58 -0500122
Jamie Madill8ba50492019-10-10 17:46:54 -0400123 'third_party/googletest': {
Jamie Madille0f8b5d2019-12-12 14:58:12 -0500124 'url': '{chromium_git}/chromium/src/third_party/googletest@f8eeeb06c0e306257817ae2b719a65cae648090e',
Jamie Madillcf9b2852019-02-13 09:15:26 -0500125 'condition': 'not build_with_chromium',
126 },
127
Jamie Madill55959b02019-03-05 10:07:41 -0500128 # libjpeg_turbo is used by glmark2.
Jamie Madill8ba50492019-10-10 17:46:54 -0400129 'third_party/libjpeg_turbo': {
Jamie Madill7d51cc92019-10-25 08:06:35 -0400130 'url': '{chromium_git}/chromium/deps/libjpeg_turbo.git@bc13578529255ec75005ffc98aae151666122892',
Jamie Madill55959b02019-03-05 10:07:41 -0500131 'condition': 'not build_with_chromium',
132 },
133
Jamie Madill8ba50492019-10-10 17:46:54 -0400134 'third_party/libpng/src': {
Edward Lemur8ae09b02018-06-01 14:18:28 -0400135 'url': '{android_git}/platform/external/libpng@094e181e79a3d6c23fd005679025058b7df1ad6c',
136 'condition': 'not build_with_chromium',
137 },
Jamie Madill37ee8a62016-12-13 15:18:58 -0500138
Jamie Madill8ba50492019-10-10 17:46:54 -0400139 'third_party/jsoncpp': {
Jamie Madille7c8e802019-10-26 08:16:12 -0400140 'url': '{chromium_git}/chromium/src/third_party/jsoncpp@1cfec065ed4cd9a01fa8e351baa3e714a5868522',
Jamie Madill0cb3b0f2019-01-28 09:55:20 -0500141 'condition': 'not build_with_chromium',
142 },
Tobin Ehlis5fdc38c2018-08-28 09:20:57 -0600143
Jamie Madill8ba50492019-10-10 17:46:54 -0400144 'third_party/Python-Markdown': {
Robert Iannuccida8dad12019-08-08 19:40:48 -0700145 'url': '{chromium_git}/chromium/src/third_party/Python-Markdown@36657c103ce5964733bbbb29377085e9cc1a9472',
Jamie Madill9f958342019-04-08 09:40:40 -0400146 'condition': 'not build_with_chromium',
147 },
148
Jamie Madill8ba50492019-10-10 17:46:54 -0400149 'third_party/qemu-linux-x64': {
Michael Spang229fc832019-01-21 18:09:15 -0500150 'packages': [
151 {
152 'package': 'fuchsia/qemu/linux-amd64',
153 'version': '9cc486c5b18a0be515c39a280ca9a309c54cf994'
154 },
155 ],
156 'condition': 'not build_with_chromium and (host_os == "linux" and checkout_fuchsia)',
157 'dep_type': 'cipd',
158 },
159
Jamie Madill8ba50492019-10-10 17:46:54 -0400160 'third_party/qemu-mac-x64': {
Michael Spang229fc832019-01-21 18:09:15 -0500161 'packages': [
162 {
163 'package': 'fuchsia/qemu/mac-amd64',
164 'version': '2d3358ae9a569b2d4a474f498b32b202a152134f'
165 },
166 ],
167 'condition': 'not build_with_chromium and (host_os == "mac" and checkout_fuchsia)',
168 'dep_type': 'cipd',
169 },
170
Jamie Madill8ba50492019-10-10 17:46:54 -0400171 'third_party/rapidjson/src': {
Jamie Madill46d32e02019-02-25 17:13:16 -0500172 'url': '{chromium_git}/external/github.com/Tencent/rapidjson@7484e06c589873e1ed80382d262087e4fa80fb63',
173 },
174
Le Quyena5a04ac2019-10-29 22:57:55 +0800175 'third_party/spirv-cross/src': {
176 'url': '{chromium_git}/external/github.com/KhronosGroup/SPIRV-Cross@{spirv_cross_revision}',
177 'condition': 'not build_with_chromium',
178 },
179
Jamie Madill8ba50492019-10-10 17:46:54 -0400180 'third_party/spirv-headers/src': {
Jamie Madill0cb3b0f2019-01-28 09:55:20 -0500181 'url': '{chromium_git}/external/github.com/KhronosGroup/SPIRV-Headers@{spirv_headers_revision}',
Corentin Walleza883dd02018-08-03 18:11:46 +0200182 'condition': 'not build_with_chromium',
Edward Lemur8ae09b02018-06-01 14:18:28 -0400183 },
Jamie Madill37ee8a62016-12-13 15:18:58 -0500184
Jamie Madill8ba50492019-10-10 17:46:54 -0400185 'third_party/spirv-tools/src': {
Jamie Madill0cb3b0f2019-01-28 09:55:20 -0500186 'url': '{chromium_git}/external/github.com/KhronosGroup/SPIRV-Tools@{spirv_tools_revision}',
Corentin Walleza883dd02018-08-03 18:11:46 +0200187 'condition': 'not build_with_chromium',
Edward Lemur8ae09b02018-06-01 14:18:28 -0400188 },
Jamie Madill37ee8a62016-12-13 15:18:58 -0500189
Jamie Madill8ba50492019-10-10 17:46:54 -0400190 'third_party/SwiftShader': {
angle-autoroll8aac6a52020-01-16 07:01:42 +0000191 'url': '{swiftshader_git}/SwiftShader@5fc197dc76693d0049d1f400a077f13fa1f6078b',
Jamie Madill8be7a4c2019-09-19 12:48:31 -0400192 'condition': 'not build_with_chromium',
193 },
194
Jamie Madill8ba50492019-10-10 17:46:54 -0400195 'third_party/vulkan-headers/src': {
Tobin Ehlisb971f492018-05-24 10:56:17 -0600196 'url': '{chromium_git}/external/github.com/KhronosGroup/Vulkan-Headers@{vulkan_headers_revision}',
197 },
198
Jamie Madill8ba50492019-10-10 17:46:54 -0400199 'third_party/vulkan-loader/src': {
Tobin Ehlisb971f492018-05-24 10:56:17 -0600200 'url': '{chromium_git}/external/github.com/KhronosGroup/Vulkan-Loader@{vulkan_loader_revision}',
201 },
202
Jamie Madill8ba50492019-10-10 17:46:54 -0400203 'third_party/vulkan-tools/src': {
Tobin Ehlisb971f492018-05-24 10:56:17 -0600204 'url': '{chromium_git}/external/github.com/KhronosGroup/Vulkan-Tools@{vulkan_tools_revision}',
205 },
206
Jamie Madill8ba50492019-10-10 17:46:54 -0400207 'third_party/vulkan-validation-layers/src': {
Tobin Ehlisb971f492018-05-24 10:56:17 -0600208 'url': '{chromium_git}/external/github.com/KhronosGroup/Vulkan-ValidationLayers@{vulkan_validation_revision}',
Edward Lemur8ae09b02018-06-01 14:18:28 -0400209 },
Jamie Madill3cd438d2015-03-17 11:25:27 -0400210
Jamie Madill8ba50492019-10-10 17:46:54 -0400211 'third_party/yasm': {
Jamie Madille7c8e802019-10-26 08:16:12 -0400212 'url': '{chromium_git}/chromium/src/third_party/yasm@02a8d2167f476660411ea7e1ee6fbd21dda44e96',
Jamie Madill55959b02019-03-05 10:07:41 -0500213 'condition': 'not build_with_chromium',
214 },
215
Jamie Madill8ba50492019-10-10 17:46:54 -0400216 'third_party/zlib': {
Jamie Madille0f8b5d2019-12-12 14:58:12 -0500217 'url': '{chromium_git}/chromium/src/third_party/zlib@f262c1b3c4196a2fee98c113142faff525b8d884',
Edward Lemur8ae09b02018-06-01 14:18:28 -0400218 'condition': 'not build_with_chromium',
219 },
Frank Henigmand0ef13a2017-08-28 22:53:24 -0400220
Jamie Madill8ba50492019-10-10 17:46:54 -0400221 'tools/clang': {
Jamie Madille0f8b5d2019-12-12 14:58:12 -0500222 'url': '{chromium_git}/chromium/src/tools/clang.git@a9190d6699c6e6517025c9f69cd74bd3d96a6f0f',
Edward Lemur8ae09b02018-06-01 14:18:28 -0400223 'condition': 'not build_with_chromium',
224 },
Michael Spang229fc832019-01-21 18:09:15 -0500225
Le Hoang Quyencaeb2172019-11-20 22:30:17 +0800226 'tools/clang/dsymutil': {
227 'packages': [
228 {
229 'package': 'chromium/llvm-build-tools/dsymutil',
230 'version': 'M56jPzDv1620Rnm__jTMYS62Zi8rxHVq7yw0qeBFEgkC',
231 }
232 ],
233 'condition': 'checkout_mac and not build_with_chromium',
234 'dep_type': 'cipd',
235 },
236
Jamie Madill8ba50492019-10-10 17:46:54 -0400237 'tools/md_browser': {
Robert Iannuccida8dad12019-08-08 19:40:48 -0700238 'url': '{chromium_git}/chromium/src/tools/md_browser@0bfd826f8566a99923e64a782908faca72bc457c',
Jamie Madill9f958342019-04-08 09:40:40 -0400239 'condition': 'not build_with_chromium',
Michael Spang229fc832019-01-21 18:09:15 -0500240 },
Jamie Madilldf0ce012019-09-05 11:04:39 -0400241
Jamie Madill8ba50492019-10-10 17:46:54 -0400242 'tools/memory': {
Jamie Madilldf0ce012019-09-05 11:04:39 -0400243 'url': '{chromium_git}/chromium/src/tools/memory@89552acb6e60f528fe3c98eac7b445d4c34183ee',
244 'condition': 'not build_with_chromium',
245 },
Geoff Lang6e687af2019-10-17 14:36:41 -0400246
247 'third_party/catapult': {
248 'url': '{chromium_git}/catapult.git@{catapult_revision}',
249 'condition': 'not build_with_chromium',
250 },
251
252 'third_party/android_ndk': {
Jamie Madill1898c082019-11-21 06:37:39 -0500253 'url': '{chromium_git}/android_ndk.git@27c0a8d090c666a50e40fceb4ee5b40b1a2d3f87',
Geoff Lang6e687af2019-10-17 14:36:41 -0400254 'condition': 'not build_with_chromium',
255 },
alokp@chromium.org29d56fb2010-04-06 15:42:22 +0000256}
257
alokp@chromium.org29d56fb2010-04-06 15:42:22 +0000258hooks = [
Jamie Madill2fdd3da2015-07-20 10:14:54 -0400259 # Pull clang-format binaries using checked-in hashes.
260 {
261 'name': 'clang_format_win',
262 'pattern': '.',
Edward Lemur8ae09b02018-06-01 14:18:28 -0400263 'condition': 'host_os == "win" and not build_with_chromium',
Jamie Madill2fdd3da2015-07-20 10:14:54 -0400264 'action': [ 'download_from_google_storage',
265 '--no_resume',
266 '--platform=win32',
267 '--no_auth',
268 '--bucket', 'chromium-clang-format',
Jamie Madill8ba50492019-10-10 17:46:54 -0400269 '-s', 'buildtools/win/clang-format.exe.sha1',
Jamie Madill2fdd3da2015-07-20 10:14:54 -0400270 ],
271 },
272 {
273 'name': 'clang_format_mac',
274 'pattern': '.',
Edward Lemur8ae09b02018-06-01 14:18:28 -0400275 'condition': 'host_os == "mac" and not build_with_chromium',
Jamie Madill2fdd3da2015-07-20 10:14:54 -0400276 'action': [ 'download_from_google_storage',
277 '--no_resume',
278 '--platform=darwin',
279 '--no_auth',
280 '--bucket', 'chromium-clang-format',
Jamie Madill8ba50492019-10-10 17:46:54 -0400281 '-s', 'buildtools/mac/clang-format.sha1',
Jamie Madill2fdd3da2015-07-20 10:14:54 -0400282 ],
283 },
284 {
285 'name': 'clang_format_linux',
286 'pattern': '.',
Edward Lemur8ae09b02018-06-01 14:18:28 -0400287 'condition': 'host_os == "linux" and not build_with_chromium',
Jamie Madill2fdd3da2015-07-20 10:14:54 -0400288 'action': [ 'download_from_google_storage',
289 '--no_resume',
290 '--platform=linux*',
291 '--no_auth',
292 '--bucket', 'chromium-clang-format',
Jamie Madill8ba50492019-10-10 17:46:54 -0400293 '-s', 'buildtools/linux64/clang-format.sha1',
Jamie Madill2fdd3da2015-07-20 10:14:54 -0400294 ],
295 },
Tobin Ehlis9d4277b2018-05-21 16:22:22 -0600296 {
297 'name': 'sysroot_x86',
298 'pattern': '.',
Edward Lemur8ae09b02018-06-01 14:18:28 -0400299 'condition': 'checkout_linux and ((checkout_x86 or checkout_x64) and not build_with_chromium)',
Jamie Madill8ba50492019-10-10 17:46:54 -0400300 'action': ['python', 'build/linux/sysroot_scripts/install-sysroot.py',
Tobin Ehlis9d4277b2018-05-21 16:22:22 -0600301 '--arch=x86'],
302 },
303 {
304 'name': 'sysroot_x64',
305 'pattern': '.',
Edward Lemur8ae09b02018-06-01 14:18:28 -0400306 'condition': 'checkout_linux and (checkout_x64 and not build_with_chromium)',
Jamie Madill8ba50492019-10-10 17:46:54 -0400307 'action': ['python', 'build/linux/sysroot_scripts/install-sysroot.py',
Tobin Ehlis9d4277b2018-05-21 16:22:22 -0600308 '--arch=x64'],
309 },
Jamie Madill027717f2018-04-13 15:51:24 -0400310 {
311 # Update the Windows toolchain if necessary. Must run before 'clang' below.
312 'name': 'win_toolchain',
313 'pattern': '.',
Edward Lemur8ae09b02018-06-01 14:18:28 -0400314 'condition': 'checkout_win and not build_with_chromium',
Jamie Madill8ba50492019-10-10 17:46:54 -0400315 'action': ['python', 'build/vs_toolchain.py', 'update', '--force'],
Jamie Madill027717f2018-04-13 15:51:24 -0400316 },
Geoff Lang66ae5312019-04-01 16:35:53 -0400317 {
318 # Update the Mac toolchain if necessary.
319 'name': 'mac_toolchain',
320 'pattern': '.',
321 'condition': 'checkout_mac and not build_with_chromium',
Jamie Madill8ba50492019-10-10 17:46:54 -0400322 'action': ['python', 'build/mac_toolchain.py'],
Geoff Lang66ae5312019-04-01 16:35:53 -0400323 },
Jamie Madill027717f2018-04-13 15:51:24 -0400324
alokp@chromium.org29d56fb2010-04-06 15:42:22 +0000325 {
Frank Henigmand0ef13a2017-08-28 22:53:24 -0400326 # Note: On Win, this should run after win_toolchain, as it may use it.
327 'name': 'clang',
328 'pattern': '.',
Jamie Madill8ba50492019-10-10 17:46:54 -0400329 'action': ['python', 'tools/clang/scripts/update.py'],
Edward Lemur8ae09b02018-06-01 14:18:28 -0400330 'condition': 'not build_with_chromium',
Frank Henigmand0ef13a2017-08-28 22:53:24 -0400331 },
Jamie Madill940c48b2017-10-23 23:25:17 -0400332
Shahbaz Youssefi957e9b82018-10-05 11:00:50 -0400333 {
334 # Update LASTCHANGE.
335 'name': 'lastchange',
336 'pattern': '.',
337 'condition': 'not build_with_chromium',
Jamie Madill8ba50492019-10-10 17:46:54 -0400338 'action': ['python', 'build/util/lastchange.py',
339 '-o', 'build/util/LASTCHANGE'],
Shahbaz Youssefi957e9b82018-10-05 11:00:50 -0400340 },
341
Jamie Madill940c48b2017-10-23 23:25:17 -0400342 # Pull rc binaries using checked-in hashes.
343 {
344 'name': 'rc_win',
345 'pattern': '.',
Edward Lemur8ae09b02018-06-01 14:18:28 -0400346 'condition': 'checkout_win and (host_os == "win" and not build_with_chromium)',
Jamie Madill940c48b2017-10-23 23:25:17 -0400347 'action': [ 'download_from_google_storage',
348 '--no_resume',
349 '--no_auth',
350 '--bucket', 'chromium-browser-clang/rc',
Jamie Madill8ba50492019-10-10 17:46:54 -0400351 '-s', 'build/toolchain/win/rc/win/rc.exe.sha1',
Jamie Madill940c48b2017-10-23 23:25:17 -0400352 ],
353 },
Michael Spang229fc832019-01-21 18:09:15 -0500354
355 {
356 'name': 'fuchsia_sdk',
357 'pattern': '.',
358 'condition': 'checkout_fuchsia and not build_with_chromium',
359 'action': [
360 'python',
Jamie Madill8ba50492019-10-10 17:46:54 -0400361 'build/fuchsia/update_sdk.py',
Michael Spang229fc832019-01-21 18:09:15 -0500362 ],
363 },
Jamie Madilld5ff4fa2019-04-08 09:25:23 -0400364
Shahbaz Youssefi82418c82019-04-05 15:56:03 -0400365 # Download glslang validator binary for Linux.
366 {
367 'name': 'linux_glslang_validator',
368 'pattern': '.',
369 'condition': 'checkout_linux and not build_with_chromium',
370 'action': [ 'download_from_google_storage',
371 '--no_resume',
372 '--platform=linux*',
373 '--no_auth',
374 '--bucket', 'angle-glslang-validator',
Jamie Madill8ba50492019-10-10 17:46:54 -0400375 '-s', 'tools/glslang/glslang_validator.sha1',
Shahbaz Youssefi82418c82019-04-05 15:56:03 -0400376 ],
377 },
378
Jamie Madilld5ff4fa2019-04-08 09:25:23 -0400379 # Download glslang validator binary for Windows.
380 {
381 'name': 'win_glslang_validator',
382 'pattern': '.',
383 'condition': 'checkout_win and not build_with_chromium',
384 'action': [ 'download_from_google_storage',
385 '--no_resume',
386 '--platform=win32*',
387 '--no_auth',
388 '--bucket', 'angle-glslang-validator',
Jamie Madill8ba50492019-10-10 17:46:54 -0400389 '-s', 'tools/glslang/glslang_validator.exe.sha1',
Jamie Madilld5ff4fa2019-04-08 09:25:23 -0400390 ],
391 },
Shahbaz Youssefi5efb36b2019-11-25 16:14:55 -0500392
393 # Download flex/bison binaries for Linux.
394 {
395 'name': 'linux_flex_bison',
396 'pattern': '.',
397 'condition': 'checkout_linux and not build_with_chromium',
398 'action': [ 'download_from_google_storage',
399 '--no_resume',
400 '--platform=linux*',
401 '--no_auth',
402 '--bucket', 'angle-flex-bison',
403 '-d', 'tools/flex-bison/linux/',
404 ],
405 },
406
407 # Download flex/bison binaries for Windows.
408 {
409 'name': 'win_flex_bison',
410 'pattern': '.',
411 'condition': 'checkout_win and not build_with_chromium',
412 'action': [ 'download_from_google_storage',
413 '--no_resume',
414 '--platform=win32*',
415 '--no_auth',
416 '--bucket', 'angle-flex-bison',
417 '-d', 'tools/flex-bison/windows/',
418 ],
419 },
alokp@chromium.org29d56fb2010-04-06 15:42:22 +0000420]
Jamie Madill20789312016-10-28 14:05:26 -0400421
422recursedeps = [
423 # buildtools provides clang_format.
Jamie Madill8ba50492019-10-10 17:46:54 -0400424 'buildtools',
Jamie Madill07035682019-10-25 09:00:41 -0400425 'third_party/googletest',
Jamie Madille7c8e802019-10-26 08:16:12 -0400426 'third_party/jsoncpp',
427 'third_party/yasm',
Jamie Madill20789312016-10-28 14:05:26 -0400428]