blob: 775b9d6ac6dd69718489f0df9bb84a54f0b39048 [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.
19 # We overload Chromium's 'src-internal' for simplicity.
20 # TOOD(ynovikov): Use checkout_angle_internal custom variable instead.
Jamie Madill4237e532019-06-28 11:14:31 -040021 'checkout_src_internal': False,
22
Jamie Madill1948af32019-10-11 17:49:24 -040023 # Version of Chromium our Chromium-based DEPS are mirrored from.
Jamie Madill33adad12019-11-27 10:21:20 -050024 'chromium_revision': 'd209d45ba4bacfaf948e0015f9f7ef71b0d93bbf',
Jamie Madill1948af32019-10-11 17:49:24 -040025
Courtney Goeltzenleuchterfebdcf52019-10-28 10:54:03 -060026 # Current revision of VK-GL-CTS (a.k.a dEQP).
27 'vk_gl_cts_revision': '54ec6f2b1390bf33ea10424dca610f8bcbfefa06',
Edward Lemur8ae09b02018-06-01 14:18:28 -040028
29 # Current revision of glslang, the Khronos SPIRV compiler.
angle-autoroll09891ef2019-11-25 07:01:50 +000030 'glslang_revision': '38b4db48f98c4e3a9cc405de3a76547b857e1c37',
Edward Lemur8ae09b02018-06-01 14:18:28 -040031
Jamie Madill07035682019-10-25 09:00:41 -040032 # Current revision of googletest.
33 # Note: this dep cannot be auto-rolled b/c of nesting.
34 'googletest_revision': 'f2fb48c3b3d79a75a88a99fba6576b25d42ec528',
35
Jamie Madille7c8e802019-10-26 08:16:12 -040036 # Current revision of jsoncpp.
37 # Note: this dep cannot be auto-rolled b/c of nesting.
38 'jsoncpp_revision': '645250b6690785be60ab6780ce4b58698d884d11',
39
40 # Current revision of patched-yasm.
41 # Note: this dep cannot be auto-rolled b/c of nesting.
42 'patched_yasm_revision': '720b70524a4424b15fc57e82263568c8ba0496ad',
43
Le Quyena5a04ac2019-10-29 22:57:55 +080044 # Current revision of spirv-cross, the Khronos SPIRV cross compiler.
45 'spirv_cross_revision': 'd253f41e17e27285756d031d8ba43bf370264e1f',
46
Edward Lemur8ae09b02018-06-01 14:18:28 -040047 # Current revision fo the SPIRV-Headers Vulkan support library.
angle-autoroll4bad5352019-10-25 11:54:24 +000048 'spirv_headers_revision': 'af64a9e826bf5bb5fcd2434dd71be1e41e922563',
Edward Lemur8ae09b02018-06-01 14:18:28 -040049
50 # Current revision of SPIRV-Tools for Vulkan.
angle-autoroll781bb852019-11-27 07:01:04 +000051 'spirv_tools_revision': 'f31f26f739309882b476ad8f3e6fa82a81d91568',
Edward Lemur8ae09b02018-06-01 14:18:28 -040052
Tobin Ehlisb971f492018-05-24 10:56:17 -060053 # Current revision of Khronos Vulkan-Headers.
angle-autoroll04e074d2019-11-25 08:32:51 +000054 'vulkan_headers_revision': '2b89fd4e2734b728ca0be72a13f2265c5f5aa88e',
Tobin Ehlisb971f492018-05-24 10:56:17 -060055
56 # Current revision of Khronos Vulkan-Loader.
Jonah Ryan-Davisb61069c2019-11-21 09:52:53 -050057 'vulkan_loader_revision': '79e03670c2a328bea3c1a3f80ea913f296a487e6',
Tobin Ehlisb971f492018-05-24 10:56:17 -060058
59 # Current revision of Khronos Vulkan-Tools.
angle-autorollab63fd22019-11-26 07:01:02 +000060 'vulkan_tools_revision': '6f6e3371c92ac63bf29d5010b2933659e3f8dbef',
Tobin Ehlisb971f492018-05-24 10:56:17 -060061
62 # Current revision of Khronos Vulkan-ValidationLayers.
angle-autorollc3c15fc2019-11-26 07:01:51 +000063 'vulkan_validation_revision': '8c954d5a413d4fa724c0c3a6c8e37a7132c68e72',
Geoff Lang6e687af2019-10-17 14:36:41 -040064
65 # Three lines of non-changing comments so that
66 # the commit queue can handle CLs rolling catapult
67 # and whatever else without interference from each other.
68 'catapult_revision': '1b3fb455bf1849f1e6187e1eaeaef32b9f30d3c5',
Jamie Madill2fdd3da2015-07-20 10:14:54 -040069}
70
alokp@chromium.org29d56fb2010-04-06 15:42:22 +000071deps = {
alokp@chromium.org416fcd32012-04-11 16:23:44 +000072
Jamie Madill8ba50492019-10-10 17:46:54 -040073 'build': {
Jamie Madill33adad12019-11-27 10:21:20 -050074 'url': '{chromium_git}/chromium/src/build.git@ebec9c5ad46c21f00d2e305ac233676327f672cd',
Edward Lemur8ae09b02018-06-01 14:18:28 -040075 'condition': 'not build_with_chromium',
76 },
Frank Henigmand0ef13a2017-08-28 22:53:24 -040077
Jamie Madill8ba50492019-10-10 17:46:54 -040078 'buildtools': {
Jamie Madill33adad12019-11-27 10:21:20 -050079 'url': '{chromium_git}/chromium/src/buildtools.git@6b3e658d6fe8cd9c2588796d296f07312b776054',
Edward Lemur8ae09b02018-06-01 14:18:28 -040080 'condition': 'not build_with_chromium',
81 },
Frank Henigmand0ef13a2017-08-28 22:53:24 -040082
Jamie Madill8ba50492019-10-10 17:46:54 -040083 'testing': {
Jamie Madill33adad12019-11-27 10:21:20 -050084 'url': '{chromium_git}/chromium/src/testing@72e16daaa56023ddf5e38460b8cfb785db048812',
Edward Lemur8ae09b02018-06-01 14:18:28 -040085 'condition': 'not build_with_chromium',
86 },
alokp@chromium.org5cd9c602012-05-16 23:37:50 +000087
Courtney Goeltzenleuchterfebdcf52019-10-28 10:54:03 -060088 # 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 -040089 'third_party/cherry': {
Edward Lemur8ae09b02018-06-01 14:18:28 -040090 'url': '{android_git}/platform/external/cherry@4f8fb08d33ca5ff05a1c638f04c85bbb8d8b52cc',
91 'condition': 'not build_with_chromium',
92 },
Jamie Madill9e76f562015-10-02 08:57:14 -040093
Courtney Goeltzenleuchterfebdcf52019-10-28 10:54:03 -060094 'third_party/VK-GL-CTS/src': {
95 'url': '{chromium_git}/external/github.com/KhronosGroup/VK-GL-CTS@{vk_gl_cts_revision}',
Edward Lemur8ae09b02018-06-01 14:18:28 -040096 },
Jamie Madill37ee8a62016-12-13 15:18:58 -050097
Jamie Madill8ba50492019-10-10 17:46:54 -040098 'third_party/fuchsia-sdk': {
Jamie Madill130fdbc2019-10-10 19:13:07 -040099 'url': '{chromium_git}/chromium/src/third_party/fuchsia-sdk.git@1785f0ac8e1fe81cb25e260acbe7de8f62fa3e44',
Jamie Madill9f958342019-04-08 09:40:40 -0400100 'condition': 'checkout_fuchsia and not build_with_chromium',
101 },
102
Jamie Madill67a017f2019-10-10 15:27:27 -0400103 # Closed-source OpenGL ES 1.1 Conformance tests.
Jamie Madill8ba50492019-10-10 17:46:54 -0400104 'third_party/gles1_conform': {
Jamie Madill67a017f2019-10-10 15:27:27 -0400105 'url': '{chrome_internal_git}/angle/es-cts.git@dc9f502f709c9cd88d7f8d3974f1c77aa246958e',
106 'condition': 'checkout_src_internal',
107 },
108
Jamie Madill55959b02019-03-05 10:07:41 -0500109 # glmark2 is a GPL3-licensed OpenGL ES 2.0 benchmark. We use it for testing.
Jamie Madill8ba50492019-10-10 17:46:54 -0400110 'third_party/glmark2/src': {
Jamie Madill2971fd32019-08-12 16:53:21 -0400111 'url': '{chromium_git}/external/github.com/glmark2/glmark2@9e01aef1a786b28aca73135a5b00f85c357e8f5e',
Jamie Madill55959b02019-03-05 10:07:41 -0500112 },
113
Jamie Madill8ba50492019-10-10 17:46:54 -0400114 'third_party/glslang/src': {
Tobin Ehlis317a9eb2018-11-29 12:51:46 -0700115 'url': '{chromium_git}/external/github.com/KhronosGroup/glslang@{glslang_revision}',
Jamie Madill0cb3b0f2019-01-28 09:55:20 -0500116 'condition': 'not build_with_chromium',
Jamie Madill55959b02019-03-05 10:07:41 -0500117 },
Jamie Madill37ee8a62016-12-13 15:18:58 -0500118
Jamie Madill8ba50492019-10-10 17:46:54 -0400119 'third_party/googletest': {
Jamie Madill7d51cc92019-10-25 08:06:35 -0400120 'url': '{chromium_git}/chromium/src/third_party/googletest@60616473f7d8414aeb7575b487beecc7369fd52f',
Jamie Madillcf9b2852019-02-13 09:15:26 -0500121 'condition': 'not build_with_chromium',
122 },
123
Jamie Madill55959b02019-03-05 10:07:41 -0500124 # libjpeg_turbo is used by glmark2.
Jamie Madill8ba50492019-10-10 17:46:54 -0400125 'third_party/libjpeg_turbo': {
Jamie Madill7d51cc92019-10-25 08:06:35 -0400126 'url': '{chromium_git}/chromium/deps/libjpeg_turbo.git@bc13578529255ec75005ffc98aae151666122892',
Jamie Madill55959b02019-03-05 10:07:41 -0500127 'condition': 'not build_with_chromium',
128 },
129
Jamie Madill8ba50492019-10-10 17:46:54 -0400130 'third_party/libpng/src': {
Edward Lemur8ae09b02018-06-01 14:18:28 -0400131 'url': '{android_git}/platform/external/libpng@094e181e79a3d6c23fd005679025058b7df1ad6c',
132 'condition': 'not build_with_chromium',
133 },
Jamie Madill37ee8a62016-12-13 15:18:58 -0500134
Jamie Madill8ba50492019-10-10 17:46:54 -0400135 'third_party/jsoncpp': {
Jamie Madille7c8e802019-10-26 08:16:12 -0400136 'url': '{chromium_git}/chromium/src/third_party/jsoncpp@1cfec065ed4cd9a01fa8e351baa3e714a5868522',
Jamie Madill0cb3b0f2019-01-28 09:55:20 -0500137 'condition': 'not build_with_chromium',
138 },
Tobin Ehlis5fdc38c2018-08-28 09:20:57 -0600139
Jamie Madill8ba50492019-10-10 17:46:54 -0400140 'third_party/Python-Markdown': {
Robert Iannuccida8dad12019-08-08 19:40:48 -0700141 'url': '{chromium_git}/chromium/src/third_party/Python-Markdown@36657c103ce5964733bbbb29377085e9cc1a9472',
Jamie Madill9f958342019-04-08 09:40:40 -0400142 'condition': 'not build_with_chromium',
143 },
144
Jamie Madill8ba50492019-10-10 17:46:54 -0400145 'third_party/qemu-linux-x64': {
Michael Spang229fc832019-01-21 18:09:15 -0500146 'packages': [
147 {
148 'package': 'fuchsia/qemu/linux-amd64',
149 'version': '9cc486c5b18a0be515c39a280ca9a309c54cf994'
150 },
151 ],
152 'condition': 'not build_with_chromium and (host_os == "linux" and checkout_fuchsia)',
153 'dep_type': 'cipd',
154 },
155
Jamie Madill8ba50492019-10-10 17:46:54 -0400156 'third_party/qemu-mac-x64': {
Michael Spang229fc832019-01-21 18:09:15 -0500157 'packages': [
158 {
159 'package': 'fuchsia/qemu/mac-amd64',
160 'version': '2d3358ae9a569b2d4a474f498b32b202a152134f'
161 },
162 ],
163 'condition': 'not build_with_chromium and (host_os == "mac" and checkout_fuchsia)',
164 'dep_type': 'cipd',
165 },
166
Jamie Madill8ba50492019-10-10 17:46:54 -0400167 'third_party/rapidjson/src': {
Jamie Madill46d32e02019-02-25 17:13:16 -0500168 'url': '{chromium_git}/external/github.com/Tencent/rapidjson@7484e06c589873e1ed80382d262087e4fa80fb63',
169 },
170
Le Quyena5a04ac2019-10-29 22:57:55 +0800171 'third_party/spirv-cross/src': {
172 'url': '{chromium_git}/external/github.com/KhronosGroup/SPIRV-Cross@{spirv_cross_revision}',
173 'condition': 'not build_with_chromium',
174 },
175
Jamie Madill8ba50492019-10-10 17:46:54 -0400176 'third_party/spirv-headers/src': {
Jamie Madill0cb3b0f2019-01-28 09:55:20 -0500177 'url': '{chromium_git}/external/github.com/KhronosGroup/SPIRV-Headers@{spirv_headers_revision}',
Corentin Walleza883dd02018-08-03 18:11:46 +0200178 'condition': 'not build_with_chromium',
Edward Lemur8ae09b02018-06-01 14:18:28 -0400179 },
Jamie Madill37ee8a62016-12-13 15:18:58 -0500180
Jamie Madill8ba50492019-10-10 17:46:54 -0400181 'third_party/spirv-tools/src': {
Jamie Madill0cb3b0f2019-01-28 09:55:20 -0500182 'url': '{chromium_git}/external/github.com/KhronosGroup/SPIRV-Tools@{spirv_tools_revision}',
Corentin Walleza883dd02018-08-03 18:11:46 +0200183 'condition': 'not build_with_chromium',
Edward Lemur8ae09b02018-06-01 14:18:28 -0400184 },
Jamie Madill37ee8a62016-12-13 15:18:58 -0500185
Jamie Madill8ba50492019-10-10 17:46:54 -0400186 'third_party/SwiftShader': {
angle-autorollfe2d3dd2019-11-26 15:04:06 +0000187 'url': '{swiftshader_git}/SwiftShader@663dcefa22ea5eec1b108feebaf40a683fb104ff',
Jamie Madill8be7a4c2019-09-19 12:48:31 -0400188 'condition': 'not build_with_chromium',
189 },
190
Jamie Madill8ba50492019-10-10 17:46:54 -0400191 'third_party/vulkan-headers/src': {
Tobin Ehlisb971f492018-05-24 10:56:17 -0600192 'url': '{chromium_git}/external/github.com/KhronosGroup/Vulkan-Headers@{vulkan_headers_revision}',
193 },
194
Jamie Madill8ba50492019-10-10 17:46:54 -0400195 'third_party/vulkan-loader/src': {
Tobin Ehlisb971f492018-05-24 10:56:17 -0600196 'url': '{chromium_git}/external/github.com/KhronosGroup/Vulkan-Loader@{vulkan_loader_revision}',
197 },
198
Jamie Madill8ba50492019-10-10 17:46:54 -0400199 'third_party/vulkan-tools/src': {
Tobin Ehlisb971f492018-05-24 10:56:17 -0600200 'url': '{chromium_git}/external/github.com/KhronosGroup/Vulkan-Tools@{vulkan_tools_revision}',
201 },
202
Jamie Madill8ba50492019-10-10 17:46:54 -0400203 'third_party/vulkan-validation-layers/src': {
Tobin Ehlisb971f492018-05-24 10:56:17 -0600204 'url': '{chromium_git}/external/github.com/KhronosGroup/Vulkan-ValidationLayers@{vulkan_validation_revision}',
Edward Lemur8ae09b02018-06-01 14:18:28 -0400205 },
Jamie Madill3cd438d2015-03-17 11:25:27 -0400206
Jamie Madill8ba50492019-10-10 17:46:54 -0400207 'third_party/yasm': {
Jamie Madille7c8e802019-10-26 08:16:12 -0400208 'url': '{chromium_git}/chromium/src/third_party/yasm@02a8d2167f476660411ea7e1ee6fbd21dda44e96',
Jamie Madill55959b02019-03-05 10:07:41 -0500209 'condition': 'not build_with_chromium',
210 },
211
Jamie Madill8ba50492019-10-10 17:46:54 -0400212 'third_party/zlib': {
Jamie Madill33adad12019-11-27 10:21:20 -0500213 'url': '{chromium_git}/chromium/src/third_party/zlib@e77e1c06c8881abff0c7418368d147ff4a474d08',
Edward Lemur8ae09b02018-06-01 14:18:28 -0400214 'condition': 'not build_with_chromium',
215 },
Frank Henigmand0ef13a2017-08-28 22:53:24 -0400216
Jamie Madill8ba50492019-10-10 17:46:54 -0400217 'tools/clang': {
Jamie Madill33adad12019-11-27 10:21:20 -0500218 'url': '{chromium_git}/chromium/src/tools/clang.git@05979d8cad7315e31c42120dd83e5765a87629d3',
Edward Lemur8ae09b02018-06-01 14:18:28 -0400219 'condition': 'not build_with_chromium',
220 },
Michael Spang229fc832019-01-21 18:09:15 -0500221
Le Hoang Quyencaeb2172019-11-20 22:30:17 +0800222 'tools/clang/dsymutil': {
223 'packages': [
224 {
225 'package': 'chromium/llvm-build-tools/dsymutil',
226 'version': 'M56jPzDv1620Rnm__jTMYS62Zi8rxHVq7yw0qeBFEgkC',
227 }
228 ],
229 'condition': 'checkout_mac and not build_with_chromium',
230 'dep_type': 'cipd',
231 },
232
Jamie Madill8ba50492019-10-10 17:46:54 -0400233 'tools/md_browser': {
Robert Iannuccida8dad12019-08-08 19:40:48 -0700234 'url': '{chromium_git}/chromium/src/tools/md_browser@0bfd826f8566a99923e64a782908faca72bc457c',
Jamie Madill9f958342019-04-08 09:40:40 -0400235 'condition': 'not build_with_chromium',
Michael Spang229fc832019-01-21 18:09:15 -0500236 },
Jamie Madilldf0ce012019-09-05 11:04:39 -0400237
Jamie Madill8ba50492019-10-10 17:46:54 -0400238 'tools/memory': {
Jamie Madilldf0ce012019-09-05 11:04:39 -0400239 'url': '{chromium_git}/chromium/src/tools/memory@89552acb6e60f528fe3c98eac7b445d4c34183ee',
240 'condition': 'not build_with_chromium',
241 },
Geoff Lang6e687af2019-10-17 14:36:41 -0400242
243 'third_party/catapult': {
244 'url': '{chromium_git}/catapult.git@{catapult_revision}',
245 'condition': 'not build_with_chromium',
246 },
247
248 'third_party/android_ndk': {
Jamie Madill1898c082019-11-21 06:37:39 -0500249 'url': '{chromium_git}/android_ndk.git@27c0a8d090c666a50e40fceb4ee5b40b1a2d3f87',
Geoff Lang6e687af2019-10-17 14:36:41 -0400250 'condition': 'not build_with_chromium',
251 },
alokp@chromium.org29d56fb2010-04-06 15:42:22 +0000252}
253
alokp@chromium.org29d56fb2010-04-06 15:42:22 +0000254hooks = [
Jamie Madill2fdd3da2015-07-20 10:14:54 -0400255 # Pull clang-format binaries using checked-in hashes.
256 {
257 'name': 'clang_format_win',
258 'pattern': '.',
Edward Lemur8ae09b02018-06-01 14:18:28 -0400259 'condition': 'host_os == "win" and not build_with_chromium',
Jamie Madill2fdd3da2015-07-20 10:14:54 -0400260 'action': [ 'download_from_google_storage',
261 '--no_resume',
262 '--platform=win32',
263 '--no_auth',
264 '--bucket', 'chromium-clang-format',
Jamie Madill8ba50492019-10-10 17:46:54 -0400265 '-s', 'buildtools/win/clang-format.exe.sha1',
Jamie Madill2fdd3da2015-07-20 10:14:54 -0400266 ],
267 },
268 {
269 'name': 'clang_format_mac',
270 'pattern': '.',
Edward Lemur8ae09b02018-06-01 14:18:28 -0400271 'condition': 'host_os == "mac" and not build_with_chromium',
Jamie Madill2fdd3da2015-07-20 10:14:54 -0400272 'action': [ 'download_from_google_storage',
273 '--no_resume',
274 '--platform=darwin',
275 '--no_auth',
276 '--bucket', 'chromium-clang-format',
Jamie Madill8ba50492019-10-10 17:46:54 -0400277 '-s', 'buildtools/mac/clang-format.sha1',
Jamie Madill2fdd3da2015-07-20 10:14:54 -0400278 ],
279 },
280 {
281 'name': 'clang_format_linux',
282 'pattern': '.',
Edward Lemur8ae09b02018-06-01 14:18:28 -0400283 'condition': 'host_os == "linux" and not build_with_chromium',
Jamie Madill2fdd3da2015-07-20 10:14:54 -0400284 'action': [ 'download_from_google_storage',
285 '--no_resume',
286 '--platform=linux*',
287 '--no_auth',
288 '--bucket', 'chromium-clang-format',
Jamie Madill8ba50492019-10-10 17:46:54 -0400289 '-s', 'buildtools/linux64/clang-format.sha1',
Jamie Madill2fdd3da2015-07-20 10:14:54 -0400290 ],
291 },
Tobin Ehlis9d4277b2018-05-21 16:22:22 -0600292 {
293 'name': 'sysroot_x86',
294 'pattern': '.',
Edward Lemur8ae09b02018-06-01 14:18:28 -0400295 'condition': 'checkout_linux and ((checkout_x86 or checkout_x64) and not build_with_chromium)',
Jamie Madill8ba50492019-10-10 17:46:54 -0400296 'action': ['python', 'build/linux/sysroot_scripts/install-sysroot.py',
Tobin Ehlis9d4277b2018-05-21 16:22:22 -0600297 '--arch=x86'],
298 },
299 {
300 'name': 'sysroot_x64',
301 'pattern': '.',
Edward Lemur8ae09b02018-06-01 14:18:28 -0400302 'condition': 'checkout_linux and (checkout_x64 and not build_with_chromium)',
Jamie Madill8ba50492019-10-10 17:46:54 -0400303 'action': ['python', 'build/linux/sysroot_scripts/install-sysroot.py',
Tobin Ehlis9d4277b2018-05-21 16:22:22 -0600304 '--arch=x64'],
305 },
Jamie Madill027717f2018-04-13 15:51:24 -0400306 {
307 # Update the Windows toolchain if necessary. Must run before 'clang' below.
308 'name': 'win_toolchain',
309 'pattern': '.',
Edward Lemur8ae09b02018-06-01 14:18:28 -0400310 'condition': 'checkout_win and not build_with_chromium',
Jamie Madill8ba50492019-10-10 17:46:54 -0400311 'action': ['python', 'build/vs_toolchain.py', 'update', '--force'],
Jamie Madill027717f2018-04-13 15:51:24 -0400312 },
Geoff Lang66ae5312019-04-01 16:35:53 -0400313 {
314 # Update the Mac toolchain if necessary.
315 'name': 'mac_toolchain',
316 'pattern': '.',
317 'condition': 'checkout_mac and not build_with_chromium',
Jamie Madill8ba50492019-10-10 17:46:54 -0400318 'action': ['python', 'build/mac_toolchain.py'],
Geoff Lang66ae5312019-04-01 16:35:53 -0400319 },
Jamie Madill027717f2018-04-13 15:51:24 -0400320
alokp@chromium.org29d56fb2010-04-06 15:42:22 +0000321 {
Frank Henigmand0ef13a2017-08-28 22:53:24 -0400322 # Note: On Win, this should run after win_toolchain, as it may use it.
323 'name': 'clang',
324 'pattern': '.',
Jamie Madill8ba50492019-10-10 17:46:54 -0400325 'action': ['python', 'tools/clang/scripts/update.py'],
Edward Lemur8ae09b02018-06-01 14:18:28 -0400326 'condition': 'not build_with_chromium',
Frank Henigmand0ef13a2017-08-28 22:53:24 -0400327 },
Jamie Madill940c48b2017-10-23 23:25:17 -0400328
Shahbaz Youssefi957e9b82018-10-05 11:00:50 -0400329 {
330 # Update LASTCHANGE.
331 'name': 'lastchange',
332 'pattern': '.',
333 'condition': 'not build_with_chromium',
Jamie Madill8ba50492019-10-10 17:46:54 -0400334 'action': ['python', 'build/util/lastchange.py',
335 '-o', 'build/util/LASTCHANGE'],
Shahbaz Youssefi957e9b82018-10-05 11:00:50 -0400336 },
337
Jamie Madill940c48b2017-10-23 23:25:17 -0400338 # Pull rc binaries using checked-in hashes.
339 {
340 'name': 'rc_win',
341 'pattern': '.',
Edward Lemur8ae09b02018-06-01 14:18:28 -0400342 'condition': 'checkout_win and (host_os == "win" and not build_with_chromium)',
Jamie Madill940c48b2017-10-23 23:25:17 -0400343 'action': [ 'download_from_google_storage',
344 '--no_resume',
345 '--no_auth',
346 '--bucket', 'chromium-browser-clang/rc',
Jamie Madill8ba50492019-10-10 17:46:54 -0400347 '-s', 'build/toolchain/win/rc/win/rc.exe.sha1',
Jamie Madill940c48b2017-10-23 23:25:17 -0400348 ],
349 },
Michael Spang229fc832019-01-21 18:09:15 -0500350
351 {
352 'name': 'fuchsia_sdk',
353 'pattern': '.',
354 'condition': 'checkout_fuchsia and not build_with_chromium',
355 'action': [
356 'python',
Jamie Madill8ba50492019-10-10 17:46:54 -0400357 'build/fuchsia/update_sdk.py',
Michael Spang229fc832019-01-21 18:09:15 -0500358 ],
359 },
Jamie Madilld5ff4fa2019-04-08 09:25:23 -0400360
Shahbaz Youssefi82418c82019-04-05 15:56:03 -0400361 # Download glslang validator binary for Linux.
362 {
363 'name': 'linux_glslang_validator',
364 'pattern': '.',
365 'condition': 'checkout_linux and not build_with_chromium',
366 'action': [ 'download_from_google_storage',
367 '--no_resume',
368 '--platform=linux*',
369 '--no_auth',
370 '--bucket', 'angle-glslang-validator',
Jamie Madill8ba50492019-10-10 17:46:54 -0400371 '-s', 'tools/glslang/glslang_validator.sha1',
Shahbaz Youssefi82418c82019-04-05 15:56:03 -0400372 ],
373 },
374
Jamie Madilld5ff4fa2019-04-08 09:25:23 -0400375 # Download glslang validator binary for Windows.
376 {
377 'name': 'win_glslang_validator',
378 'pattern': '.',
379 'condition': 'checkout_win and not build_with_chromium',
380 'action': [ 'download_from_google_storage',
381 '--no_resume',
382 '--platform=win32*',
383 '--no_auth',
384 '--bucket', 'angle-glslang-validator',
Jamie Madill8ba50492019-10-10 17:46:54 -0400385 '-s', 'tools/glslang/glslang_validator.exe.sha1',
Jamie Madilld5ff4fa2019-04-08 09:25:23 -0400386 ],
387 },
alokp@chromium.org29d56fb2010-04-06 15:42:22 +0000388]
Jamie Madill20789312016-10-28 14:05:26 -0400389
390recursedeps = [
391 # buildtools provides clang_format.
Jamie Madill8ba50492019-10-10 17:46:54 -0400392 'buildtools',
Jamie Madill07035682019-10-25 09:00:41 -0400393 'third_party/googletest',
Jamie Madille7c8e802019-10-26 08:16:12 -0400394 'third_party/jsoncpp',
395 'third_party/yasm',
Jamie Madill20789312016-10-28 14:05:26 -0400396]