blob: f57fe69ac2b1cba569b7f3d6f99f71e07ad0b760 [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
Jamie Madill8ba50492019-10-10 17:46:54 -04007
Jamie Madill23211582020-07-21 10:08:03 -04008gclient_gn_args_file = 'build/config/gclient_args.gni'
Jonah Ryan-Davis84eb7d82020-07-27 16:27:36 -04009gclient_gn_args = [
10 'mac_xcode_version',
11]
Jamie Madill23211582020-07-21 10:08:03 -040012
Jamie Madill2fdd3da2015-07-20 10:14:54 -040013vars = {
Jonah Ryan-Davis84eb7d82020-07-27 16:27:36 -040014 # This can be overridden, e.g. with custom_vars, to download a nonstandard
15 # Xcode version in build/mac_toolchain.py instead of downloading the
16 # prebuilt pinned revision.
17 'mac_xcode_version': 'default',
18
Jamie Madill37ee8a62016-12-13 15:18:58 -050019 'android_git': 'https://android.googlesource.com',
Jamie Madill2fdd3da2015-07-20 10:14:54 -040020 'chromium_git': 'https://chromium.googlesource.com',
Jamie Madill67a017f2019-10-10 15:27:27 -040021 'chrome_internal_git': 'https://chrome-internal.googlesource.com',
Jamie Madill8be7a4c2019-09-19 12:48:31 -040022 'swiftshader_git': 'https://swiftshader.googlesource.com',
Jamie Madill027717f2018-04-13 15:51:24 -040023
Edward Lemur8ae09b02018-06-01 14:18:28 -040024 # This variable is overrided in Chromium's DEPS file.
25 'build_with_chromium': False,
26
Jamie Madill67a017f2019-10-10 15:27:27 -040027 # Only check out public sources by default. This can be overridden with custom_vars.
Cody Northrop84f45f12019-12-18 14:34:29 -070028 'checkout_angle_internal': False,
Jamie Madill4237e532019-06-28 11:14:31 -040029
Jamie Madill1948af32019-10-11 17:49:24 -040030 # Version of Chromium our Chromium-based DEPS are mirrored from.
Yuly Novikov23335ac2020-08-10 22:27:41 -040031 'chromium_revision': 'c8c2c646295cebc116b8b8f3f4cdfa48821f22fb',
Yuly Novikov6a652f12020-08-12 21:12:47 -040032 # We never want to checkout chromium,
33 # but need a dummy DEPS entry for the autoroller
34 'dummy_checkout_chromium': False,
Jamie Madill1948af32019-10-11 17:49:24 -040035
Courtney Goeltzenleuchterfebdcf52019-10-28 10:54:03 -060036 # Current revision of VK-GL-CTS (a.k.a dEQP).
angle-autoroll5c8c6b42020-08-13 15:45:04 +000037 'vk_gl_cts_revision': 'fb86cfb19849570ccc6b4dc5aa0fe0e35432d442',
Edward Lemur8ae09b02018-06-01 14:18:28 -040038
39 # Current revision of glslang, the Khronos SPIRV compiler.
angle-autorolla14f1c82020-08-18 07:01:03 +000040 'glslang_revision': 'f257e0ea6b9aeab2dc7af3207ac6d29d2bbc01d0',
Edward Lemur8ae09b02018-06-01 14:18:28 -040041
Jamie Madill07035682019-10-25 09:00:41 -040042 # Current revision of googletest.
43 # Note: this dep cannot be auto-rolled b/c of nesting.
44 'googletest_revision': 'f2fb48c3b3d79a75a88a99fba6576b25d42ec528',
45
Jamie Madille7c8e802019-10-26 08:16:12 -040046 # Current revision of jsoncpp.
47 # Note: this dep cannot be auto-rolled b/c of nesting.
48 'jsoncpp_revision': '645250b6690785be60ab6780ce4b58698d884d11',
49
Jordan Bayles1265dbe2020-06-24 15:12:17 -070050 # Current revision of Chrome's third_party jsoncpp directory. This repository
51 # is mirrored as a separate repository, with separate git hashes that
52 # don't match the external JsonCpp repository or Chrome. Mirrored patches
53 # will have a different git hash associated with them.
54 # To roll, first get the new hash for chromium_jsoncpp_revision from the
55 # mirror of third_party/jsoncpp located here:
56 # https://chromium.googlesource.com/chromium/src/third_party/jsoncpp/
57 # Then get the new hash for jsoncpp_revision from the root Chrome DEPS file:
58 # https://source.chromium.org/chromium/chromium/src/+/master:DEPS
59 'chromium_jsoncpp_revision': 'ec647b85b61f525a1a74e4da7477b0c5371c50f4',
60
Jamie Madille7c8e802019-10-26 08:16:12 -040061 # Current revision of patched-yasm.
62 # Note: this dep cannot be auto-rolled b/c of nesting.
63 'patched_yasm_revision': '720b70524a4424b15fc57e82263568c8ba0496ad',
64
Le Quyena5a04ac2019-10-29 22:57:55 +080065 # Current revision of spirv-cross, the Khronos SPIRV cross compiler.
Le Hoang Quyenbcf99572020-05-11 00:50:00 +080066 'spirv_cross_revision': 'f38cbeb814c73510b85697adbe5e894f9eac978f',
Le Quyena5a04ac2019-10-29 22:57:55 +080067
Edward Lemur8ae09b02018-06-01 14:18:28 -040068 # Current revision fo the SPIRV-Headers Vulkan support library.
angle-autorolld57f0432020-08-11 07:01:30 +000069 'spirv_headers_revision': '3fdabd0da2932c276b25b9b4a988ba134eba1aa6',
Edward Lemur8ae09b02018-06-01 14:18:28 -040070
71 # Current revision of SPIRV-Tools for Vulkan.
angle-autoroll9e17cab2020-08-19 07:01:53 +000072 'spirv_tools_revision': '3434cb0b006d973b18f5abcdbf3ff17488c6a825',
Edward Lemur8ae09b02018-06-01 14:18:28 -040073
Tobin Ehlisb971f492018-05-24 10:56:17 -060074 # Current revision of Khronos Vulkan-Headers.
angle-autoroll0d421b62020-08-18 07:01:50 +000075 'vulkan_headers_revision': '834673eaa34a04669eedea764e88d881338243a2',
Tobin Ehlisb971f492018-05-24 10:56:17 -060076
77 # Current revision of Khronos Vulkan-Loader.
angle-autoroll4bf2e252020-08-18 07:01:09 +000078 'vulkan_loader_revision': '30b3f3857835cadb16d4f893de35caf313cf6947',
Tobin Ehlisb971f492018-05-24 10:56:17 -060079
80 # Current revision of Khronos Vulkan-Tools.
angle-autorollb4f03742020-08-10 07:01:25 +000081 'vulkan_tools_revision': '1590d46aaaeb133d2b0d7ea406c8a78bef2ebd4b',
Tobin Ehlisb971f492018-05-24 10:56:17 -060082
83 # Current revision of Khronos Vulkan-ValidationLayers.
angle-autoroll366a7332020-08-18 07:01:36 +000084 'vulkan_validation_revision': '9d431ae2eeb44a0b41488dcd89bbc81951b51d0d',
Geoff Lang6e687af2019-10-17 14:36:41 -040085
86 # Three lines of non-changing comments so that
87 # the commit queue can handle CLs rolling catapult
88 # and whatever else without interference from each other.
89 'catapult_revision': '1b3fb455bf1849f1e6187e1eaeaef32b9f30d3c5',
Jamie Madill2fdd3da2015-07-20 10:14:54 -040090}
91
alokp@chromium.org29d56fb2010-04-06 15:42:22 +000092deps = {
alokp@chromium.org416fcd32012-04-11 16:23:44 +000093
Jamie Madill8ba50492019-10-10 17:46:54 -040094 'build': {
Yuly Novikov23335ac2020-08-10 22:27:41 -040095 'url': '{chromium_git}/chromium/src/build.git@113076662015f18c72ca5cb5b03517fdf2e7d2a6',
Edward Lemur8ae09b02018-06-01 14:18:28 -040096 'condition': 'not build_with_chromium',
97 },
Frank Henigmand0ef13a2017-08-28 22:53:24 -040098
Jamie Madill8ba50492019-10-10 17:46:54 -040099 'buildtools': {
Yuly Novikov23335ac2020-08-10 22:27:41 -0400100 'url': '{chromium_git}/chromium/src/buildtools.git@b00ad0af636401e5eb4b5d0ab01b65164dca1914',
Edward Lemur8ae09b02018-06-01 14:18:28 -0400101 'condition': 'not build_with_chromium',
102 },
Frank Henigmand0ef13a2017-08-28 22:53:24 -0400103
Jamie Madill8ba50492019-10-10 17:46:54 -0400104 'testing': {
Yuly Novikov23335ac2020-08-10 22:27:41 -0400105 'url': '{chromium_git}/chromium/src/testing@e227df9cd519af4dcd720c3fb8341060408fdbf4',
Edward Lemur8ae09b02018-06-01 14:18:28 -0400106 'condition': 'not build_with_chromium',
107 },
alokp@chromium.org5cd9c602012-05-16 23:37:50 +0000108
Jamie Madill23211582020-07-21 10:08:03 -0400109 'third_party/android_ndk': {
110 'url': '{chromium_git}/android_ndk.git@27c0a8d090c666a50e40fceb4ee5b40b1a2d3f87',
111 'condition': 'checkout_android and not build_with_chromium',
112 },
113
114 'third_party/catapult': {
115 'url': '{chromium_git}/catapult.git@{catapult_revision}',
116 'condition': 'checkout_android and not build_with_chromium',
117 },
118
Courtney Goeltzenleuchterfebdcf52019-10-28 10:54:03 -0600119 # 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 -0400120 'third_party/cherry': {
Edward Lemur8ae09b02018-06-01 14:18:28 -0400121 'url': '{android_git}/platform/external/cherry@4f8fb08d33ca5ff05a1c638f04c85bbb8d8b52cc',
122 'condition': 'not build_with_chromium',
123 },
Jamie Madill9e76f562015-10-02 08:57:14 -0400124
Yuly Novikov6a652f12020-08-12 21:12:47 -0400125 # We never want to checkout chromium,
126 # but need a dummy DEPS entry for the autoroller
127 'third_party/dummy_chromium': {
128 'url': '{chromium_git}/chromium/src.git@{chromium_revision}',
129 'condition': 'dummy_checkout_chromium',
130 },
131
Jamie Madill20e631f2020-05-05 12:19:58 -0400132 'third_party/vulkan_memory_allocator': {
Jamie Madillb22ecc62020-06-04 10:51:10 -0400133 'url': '{chromium_git}/external/github.com/GPUOpen-LibrariesAndSDKs/VulkanMemoryAllocator@431d6e57284aeb08118ff428dfbd51c94342faa1',
Jamie Madillca50ad42020-05-01 16:37:00 -0400134 'condition': 'not build_with_chromium',
Jamie Madill76d52be2020-04-07 09:14:29 -0400135 },
136
Courtney Goeltzenleuchterfebdcf52019-10-28 10:54:03 -0600137 'third_party/VK-GL-CTS/src': {
138 'url': '{chromium_git}/external/github.com/KhronosGroup/VK-GL-CTS@{vk_gl_cts_revision}',
Edward Lemur8ae09b02018-06-01 14:18:28 -0400139 },
Jamie Madill37ee8a62016-12-13 15:18:58 -0500140
Jamie Madill8ba50492019-10-10 17:46:54 -0400141 'third_party/fuchsia-sdk': {
Jamie Madill130fdbc2019-10-10 19:13:07 -0400142 'url': '{chromium_git}/chromium/src/third_party/fuchsia-sdk.git@1785f0ac8e1fe81cb25e260acbe7de8f62fa3e44',
Jamie Madill9f958342019-04-08 09:40:40 -0400143 'condition': 'checkout_fuchsia and not build_with_chromium',
144 },
145
Jamie Madill67a017f2019-10-10 15:27:27 -0400146 # Closed-source OpenGL ES 1.1 Conformance tests.
Jamie Madill8ba50492019-10-10 17:46:54 -0400147 'third_party/gles1_conform': {
Jamie Madill67a017f2019-10-10 15:27:27 -0400148 'url': '{chrome_internal_git}/angle/es-cts.git@dc9f502f709c9cd88d7f8d3974f1c77aa246958e',
Cody Northrop84f45f12019-12-18 14:34:29 -0700149 'condition': 'checkout_angle_internal',
Jamie Madill67a017f2019-10-10 15:27:27 -0400150 },
151
Jamie Madill55959b02019-03-05 10:07:41 -0500152 # glmark2 is a GPL3-licensed OpenGL ES 2.0 benchmark. We use it for testing.
Jamie Madill8ba50492019-10-10 17:46:54 -0400153 'third_party/glmark2/src': {
Jamie Madill2971fd32019-08-12 16:53:21 -0400154 'url': '{chromium_git}/external/github.com/glmark2/glmark2@9e01aef1a786b28aca73135a5b00f85c357e8f5e',
Jamie Madill55959b02019-03-05 10:07:41 -0500155 },
156
Jamie Madill8ba50492019-10-10 17:46:54 -0400157 'third_party/glslang/src': {
Tobin Ehlis317a9eb2018-11-29 12:51:46 -0700158 'url': '{chromium_git}/external/github.com/KhronosGroup/glslang@{glslang_revision}',
Jamie Madill0cb3b0f2019-01-28 09:55:20 -0500159 'condition': 'not build_with_chromium',
Jamie Madill55959b02019-03-05 10:07:41 -0500160 },
Jamie Madill37ee8a62016-12-13 15:18:58 -0500161
Jamie Madill8ba50492019-10-10 17:46:54 -0400162 'third_party/googletest': {
Tim Van Pattenfa105682020-08-04 22:43:43 -0600163 'url': '{chromium_git}/chromium/src/third_party/googletest@e3c3f879eee34ec81b1e562d8fecd207716d8945',
Jamie Madillcf9b2852019-02-13 09:15:26 -0500164 'condition': 'not build_with_chromium',
165 },
166
Jamie Madill55959b02019-03-05 10:07:41 -0500167 # libjpeg_turbo is used by glmark2.
Jamie Madill8ba50492019-10-10 17:46:54 -0400168 'third_party/libjpeg_turbo': {
Tim Van Pattenfa105682020-08-04 22:43:43 -0600169 'url': '{chromium_git}/chromium/deps/libjpeg_turbo.git@0241a1304fd183ee24fbdfe6891f18fdedea38f9',
Jamie Madill55959b02019-03-05 10:07:41 -0500170 'condition': 'not build_with_chromium',
171 },
172
Jamie Madill8ba50492019-10-10 17:46:54 -0400173 'third_party/libpng/src': {
Edward Lemur8ae09b02018-06-01 14:18:28 -0400174 'url': '{android_git}/platform/external/libpng@094e181e79a3d6c23fd005679025058b7df1ad6c',
175 'condition': 'not build_with_chromium',
176 },
Jamie Madill37ee8a62016-12-13 15:18:58 -0500177
Jamie Madill8ba50492019-10-10 17:46:54 -0400178 'third_party/jsoncpp': {
Jordan Bayles1265dbe2020-06-24 15:12:17 -0700179 'url': '{chromium_git}/chromium/src/third_party/jsoncpp@{chromium_jsoncpp_revision}',
Jamie Madill0cb3b0f2019-01-28 09:55:20 -0500180 'condition': 'not build_with_chromium',
181 },
Tobin Ehlis5fdc38c2018-08-28 09:20:57 -0600182
Jamie Madill43951702020-04-27 16:57:46 -0400183 'third_party/nasm': {
Jamie Madill23211582020-07-21 10:08:03 -0400184 'url': '{chromium_git}/chromium/deps/nasm.git@19f3fad68da99277b2882939d3b2fa4c4b8d51d9',
Jamie Madill43951702020-04-27 16:57:46 -0400185 'condition': 'not build_with_chromium',
186 },
187
Jamie Madill8ba50492019-10-10 17:46:54 -0400188 'third_party/Python-Markdown': {
Tim Van Pattenfa105682020-08-04 22:43:43 -0600189 'url': '{chromium_git}/chromium/src/third_party/Python-Markdown@31ac00b010877151f9440d5ffc7f1437e74169ef',
Jamie Madill9f958342019-04-08 09:40:40 -0400190 'condition': 'not build_with_chromium',
191 },
192
Jamie Madill8ba50492019-10-10 17:46:54 -0400193 'third_party/qemu-linux-x64': {
Michael Spang229fc832019-01-21 18:09:15 -0500194 'packages': [
195 {
196 'package': 'fuchsia/qemu/linux-amd64',
197 'version': '9cc486c5b18a0be515c39a280ca9a309c54cf994'
198 },
199 ],
200 'condition': 'not build_with_chromium and (host_os == "linux" and checkout_fuchsia)',
201 'dep_type': 'cipd',
202 },
203
Jamie Madill8ba50492019-10-10 17:46:54 -0400204 'third_party/qemu-mac-x64': {
Michael Spang229fc832019-01-21 18:09:15 -0500205 'packages': [
206 {
207 'package': 'fuchsia/qemu/mac-amd64',
208 'version': '2d3358ae9a569b2d4a474f498b32b202a152134f'
209 },
210 ],
211 'condition': 'not build_with_chromium and (host_os == "mac" and checkout_fuchsia)',
212 'dep_type': 'cipd',
213 },
214
Jamie Madill8ba50492019-10-10 17:46:54 -0400215 'third_party/rapidjson/src': {
Jamie Madill46d32e02019-02-25 17:13:16 -0500216 'url': '{chromium_git}/external/github.com/Tencent/rapidjson@7484e06c589873e1ed80382d262087e4fa80fb63',
217 },
218
Le Quyena5a04ac2019-10-29 22:57:55 +0800219 'third_party/spirv-cross/src': {
220 'url': '{chromium_git}/external/github.com/KhronosGroup/SPIRV-Cross@{spirv_cross_revision}',
221 'condition': 'not build_with_chromium',
222 },
223
Jamie Madill8ba50492019-10-10 17:46:54 -0400224 'third_party/spirv-headers/src': {
Jamie Madill0cb3b0f2019-01-28 09:55:20 -0500225 'url': '{chromium_git}/external/github.com/KhronosGroup/SPIRV-Headers@{spirv_headers_revision}',
Corentin Walleza883dd02018-08-03 18:11:46 +0200226 'condition': 'not build_with_chromium',
Edward Lemur8ae09b02018-06-01 14:18:28 -0400227 },
Jamie Madill37ee8a62016-12-13 15:18:58 -0500228
Jamie Madill8ba50492019-10-10 17:46:54 -0400229 'third_party/spirv-tools/src': {
Jamie Madill0cb3b0f2019-01-28 09:55:20 -0500230 'url': '{chromium_git}/external/github.com/KhronosGroup/SPIRV-Tools@{spirv_tools_revision}',
Corentin Walleza883dd02018-08-03 18:11:46 +0200231 'condition': 'not build_with_chromium',
Edward Lemur8ae09b02018-06-01 14:18:28 -0400232 },
Jamie Madill37ee8a62016-12-13 15:18:58 -0500233
Jamie Madill8ba50492019-10-10 17:46:54 -0400234 'third_party/SwiftShader': {
angle-autoroll95b26582020-08-18 07:01:12 +0000235 'url': '{swiftshader_git}/SwiftShader@6f74415e2f74b36784f4a8a08647db405473fbfc',
Jamie Madill8be7a4c2019-09-19 12:48:31 -0400236 'condition': 'not build_with_chromium',
237 },
238
Jamie Madill8ba50492019-10-10 17:46:54 -0400239 'third_party/vulkan-headers/src': {
Tobin Ehlisb971f492018-05-24 10:56:17 -0600240 'url': '{chromium_git}/external/github.com/KhronosGroup/Vulkan-Headers@{vulkan_headers_revision}',
241 },
242
Jamie Madill8ba50492019-10-10 17:46:54 -0400243 'third_party/vulkan-loader/src': {
Tobin Ehlisb971f492018-05-24 10:56:17 -0600244 'url': '{chromium_git}/external/github.com/KhronosGroup/Vulkan-Loader@{vulkan_loader_revision}',
245 },
246
Jamie Madill8ba50492019-10-10 17:46:54 -0400247 'third_party/vulkan-tools/src': {
Tobin Ehlisb971f492018-05-24 10:56:17 -0600248 'url': '{chromium_git}/external/github.com/KhronosGroup/Vulkan-Tools@{vulkan_tools_revision}',
249 },
250
Jamie Madill8ba50492019-10-10 17:46:54 -0400251 'third_party/vulkan-validation-layers/src': {
Tobin Ehlisb971f492018-05-24 10:56:17 -0600252 'url': '{chromium_git}/external/github.com/KhronosGroup/Vulkan-ValidationLayers@{vulkan_validation_revision}',
Edward Lemur8ae09b02018-06-01 14:18:28 -0400253 },
Jamie Madill3cd438d2015-03-17 11:25:27 -0400254
Jamie Madill8ba50492019-10-10 17:46:54 -0400255 'third_party/zlib': {
Tim Van Pattenfa105682020-08-04 22:43:43 -0600256 'url': '{chromium_git}/chromium/src/third_party/zlib@7492de9a52f656b070f41968e39a6efa603590d5',
Edward Lemur8ae09b02018-06-01 14:18:28 -0400257 'condition': 'not build_with_chromium',
258 },
Frank Henigmand0ef13a2017-08-28 22:53:24 -0400259
Jamie Madill8ba50492019-10-10 17:46:54 -0400260 'tools/clang': {
Yuly Novikov23335ac2020-08-10 22:27:41 -0400261 'url': '{chromium_git}/chromium/src/tools/clang.git@faabb9a8ea407bb38928800b04a529971d228473',
Edward Lemur8ae09b02018-06-01 14:18:28 -0400262 'condition': 'not build_with_chromium',
263 },
Michael Spang229fc832019-01-21 18:09:15 -0500264
Le Hoang Quyencaeb2172019-11-20 22:30:17 +0800265 'tools/clang/dsymutil': {
266 'packages': [
267 {
268 'package': 'chromium/llvm-build-tools/dsymutil',
269 'version': 'M56jPzDv1620Rnm__jTMYS62Zi8rxHVq7yw0qeBFEgkC',
270 }
271 ],
272 'condition': 'checkout_mac and not build_with_chromium',
273 'dep_type': 'cipd',
274 },
275
Jamie Madill8ba50492019-10-10 17:46:54 -0400276 'tools/md_browser': {
Tim Van Pattenfa105682020-08-04 22:43:43 -0600277 'url': '{chromium_git}/chromium/src/tools/md_browser@7e75775447051d4ecb6ab0ca597eda6d809a2963',
Jamie Madill9f958342019-04-08 09:40:40 -0400278 'condition': 'not build_with_chromium',
Michael Spang229fc832019-01-21 18:09:15 -0500279 },
Jamie Madilldf0ce012019-09-05 11:04:39 -0400280
Jamie Madill8ba50492019-10-10 17:46:54 -0400281 'tools/memory': {
Jamie Madilldf0ce012019-09-05 11:04:39 -0400282 'url': '{chromium_git}/chromium/src/tools/memory@89552acb6e60f528fe3c98eac7b445d4c34183ee',
283 'condition': 'not build_with_chromium',
284 },
alokp@chromium.org29d56fb2010-04-06 15:42:22 +0000285}
286
alokp@chromium.org29d56fb2010-04-06 15:42:22 +0000287hooks = [
Jamie Madill2fdd3da2015-07-20 10:14:54 -0400288 # Pull clang-format binaries using checked-in hashes.
289 {
290 'name': 'clang_format_win',
291 'pattern': '.',
Edward Lemur8ae09b02018-06-01 14:18:28 -0400292 'condition': 'host_os == "win" and not build_with_chromium',
Jamie Madill2fdd3da2015-07-20 10:14:54 -0400293 'action': [ 'download_from_google_storage',
294 '--no_resume',
295 '--platform=win32',
296 '--no_auth',
297 '--bucket', 'chromium-clang-format',
Jamie Madill8ba50492019-10-10 17:46:54 -0400298 '-s', 'buildtools/win/clang-format.exe.sha1',
Jamie Madill2fdd3da2015-07-20 10:14:54 -0400299 ],
300 },
301 {
302 'name': 'clang_format_mac',
303 'pattern': '.',
Edward Lemur8ae09b02018-06-01 14:18:28 -0400304 'condition': 'host_os == "mac" and not build_with_chromium',
Jamie Madill2fdd3da2015-07-20 10:14:54 -0400305 'action': [ 'download_from_google_storage',
306 '--no_resume',
307 '--platform=darwin',
308 '--no_auth',
309 '--bucket', 'chromium-clang-format',
Jamie Madill8ba50492019-10-10 17:46:54 -0400310 '-s', 'buildtools/mac/clang-format.sha1',
Jamie Madill2fdd3da2015-07-20 10:14:54 -0400311 ],
312 },
313 {
314 'name': 'clang_format_linux',
315 'pattern': '.',
Edward Lemur8ae09b02018-06-01 14:18:28 -0400316 'condition': 'host_os == "linux" and not build_with_chromium',
Jamie Madill2fdd3da2015-07-20 10:14:54 -0400317 'action': [ 'download_from_google_storage',
318 '--no_resume',
319 '--platform=linux*',
320 '--no_auth',
321 '--bucket', 'chromium-clang-format',
Jamie Madill8ba50492019-10-10 17:46:54 -0400322 '-s', 'buildtools/linux64/clang-format.sha1',
Jamie Madill2fdd3da2015-07-20 10:14:54 -0400323 ],
324 },
Tobin Ehlis9d4277b2018-05-21 16:22:22 -0600325 {
326 'name': 'sysroot_x86',
327 'pattern': '.',
Edward Lemur8ae09b02018-06-01 14:18:28 -0400328 'condition': 'checkout_linux and ((checkout_x86 or checkout_x64) and not build_with_chromium)',
Jamie Madill8ba50492019-10-10 17:46:54 -0400329 'action': ['python', 'build/linux/sysroot_scripts/install-sysroot.py',
Tobin Ehlis9d4277b2018-05-21 16:22:22 -0600330 '--arch=x86'],
331 },
332 {
333 'name': 'sysroot_x64',
334 'pattern': '.',
Edward Lemur8ae09b02018-06-01 14:18:28 -0400335 'condition': 'checkout_linux and (checkout_x64 and not build_with_chromium)',
Jamie Madill8ba50492019-10-10 17:46:54 -0400336 'action': ['python', 'build/linux/sysroot_scripts/install-sysroot.py',
Tobin Ehlis9d4277b2018-05-21 16:22:22 -0600337 '--arch=x64'],
338 },
Jamie Madill027717f2018-04-13 15:51:24 -0400339 {
340 # Update the Windows toolchain if necessary. Must run before 'clang' below.
341 'name': 'win_toolchain',
342 'pattern': '.',
Edward Lemur8ae09b02018-06-01 14:18:28 -0400343 'condition': 'checkout_win and not build_with_chromium',
Jamie Madill8ba50492019-10-10 17:46:54 -0400344 'action': ['python', 'build/vs_toolchain.py', 'update', '--force'],
Jamie Madill027717f2018-04-13 15:51:24 -0400345 },
Geoff Lang66ae5312019-04-01 16:35:53 -0400346 {
347 # Update the Mac toolchain if necessary.
348 'name': 'mac_toolchain',
349 'pattern': '.',
350 'condition': 'checkout_mac and not build_with_chromium',
Jamie Madill8ba50492019-10-10 17:46:54 -0400351 'action': ['python', 'build/mac_toolchain.py'],
Geoff Lang66ae5312019-04-01 16:35:53 -0400352 },
Jamie Madill027717f2018-04-13 15:51:24 -0400353
alokp@chromium.org29d56fb2010-04-06 15:42:22 +0000354 {
Frank Henigmand0ef13a2017-08-28 22:53:24 -0400355 # Note: On Win, this should run after win_toolchain, as it may use it.
356 'name': 'clang',
357 'pattern': '.',
Jamie Madill8ba50492019-10-10 17:46:54 -0400358 'action': ['python', 'tools/clang/scripts/update.py'],
Edward Lemur8ae09b02018-06-01 14:18:28 -0400359 'condition': 'not build_with_chromium',
Frank Henigmand0ef13a2017-08-28 22:53:24 -0400360 },
Jamie Madill940c48b2017-10-23 23:25:17 -0400361
Shahbaz Youssefi957e9b82018-10-05 11:00:50 -0400362 {
363 # Update LASTCHANGE.
364 'name': 'lastchange',
365 'pattern': '.',
366 'condition': 'not build_with_chromium',
Jamie Madill8ba50492019-10-10 17:46:54 -0400367 'action': ['python', 'build/util/lastchange.py',
368 '-o', 'build/util/LASTCHANGE'],
Shahbaz Youssefi957e9b82018-10-05 11:00:50 -0400369 },
370
Jamie Madill940c48b2017-10-23 23:25:17 -0400371 # Pull rc binaries using checked-in hashes.
372 {
373 'name': 'rc_win',
374 'pattern': '.',
Edward Lemur8ae09b02018-06-01 14:18:28 -0400375 'condition': 'checkout_win and (host_os == "win" and not build_with_chromium)',
Jamie Madill940c48b2017-10-23 23:25:17 -0400376 'action': [ 'download_from_google_storage',
377 '--no_resume',
378 '--no_auth',
379 '--bucket', 'chromium-browser-clang/rc',
Jamie Madill8ba50492019-10-10 17:46:54 -0400380 '-s', 'build/toolchain/win/rc/win/rc.exe.sha1',
Jamie Madill940c48b2017-10-23 23:25:17 -0400381 ],
382 },
Michael Spang229fc832019-01-21 18:09:15 -0500383
384 {
385 'name': 'fuchsia_sdk',
386 'pattern': '.',
387 'condition': 'checkout_fuchsia and not build_with_chromium',
388 'action': [
389 'python',
Jamie Madill8ba50492019-10-10 17:46:54 -0400390 'build/fuchsia/update_sdk.py',
Michael Spang229fc832019-01-21 18:09:15 -0500391 ],
392 },
Jamie Madilld5ff4fa2019-04-08 09:25:23 -0400393
Shahbaz Youssefi82418c82019-04-05 15:56:03 -0400394 # Download glslang validator binary for Linux.
395 {
396 'name': 'linux_glslang_validator',
397 'pattern': '.',
398 'condition': 'checkout_linux and not build_with_chromium',
399 'action': [ 'download_from_google_storage',
400 '--no_resume',
401 '--platform=linux*',
402 '--no_auth',
403 '--bucket', 'angle-glslang-validator',
Jamie Madill8ba50492019-10-10 17:46:54 -0400404 '-s', 'tools/glslang/glslang_validator.sha1',
Shahbaz Youssefi82418c82019-04-05 15:56:03 -0400405 ],
406 },
407
Jamie Madilld5ff4fa2019-04-08 09:25:23 -0400408 # Download glslang validator binary for Windows.
409 {
410 'name': 'win_glslang_validator',
411 'pattern': '.',
412 'condition': 'checkout_win and not build_with_chromium',
413 'action': [ 'download_from_google_storage',
414 '--no_resume',
415 '--platform=win32*',
416 '--no_auth',
417 '--bucket', 'angle-glslang-validator',
Jamie Madill8ba50492019-10-10 17:46:54 -0400418 '-s', 'tools/glslang/glslang_validator.exe.sha1',
Jamie Madilld5ff4fa2019-04-08 09:25:23 -0400419 ],
420 },
Shahbaz Youssefi5efb36b2019-11-25 16:14:55 -0500421
422 # Download flex/bison binaries for Linux.
423 {
424 'name': 'linux_flex_bison',
425 'pattern': '.',
426 'condition': 'checkout_linux and not build_with_chromium',
427 'action': [ 'download_from_google_storage',
428 '--no_resume',
429 '--platform=linux*',
430 '--no_auth',
431 '--bucket', 'angle-flex-bison',
432 '-d', 'tools/flex-bison/linux/',
433 ],
434 },
435
436 # Download flex/bison binaries for Windows.
437 {
438 'name': 'win_flex_bison',
439 'pattern': '.',
440 'condition': 'checkout_win and not build_with_chromium',
441 'action': [ 'download_from_google_storage',
442 '--no_resume',
443 '--platform=win32*',
444 '--no_auth',
445 '--bucket', 'angle-flex-bison',
446 '-d', 'tools/flex-bison/windows/',
447 ],
448 },
Cody Northrop080d7112020-01-08 13:04:44 -0700449
450 # Download internal captures for perf tests
451 {
452 'name': 'restricted_traces',
453 'pattern': '\\.sha1',
454 'condition': 'checkout_angle_internal',
Courtney Goeltzenleuchtere474cc92020-06-18 16:03:30 -0600455 'action': [ 'python',
456 'src/tests/perf_tests/restricted_traces/download_restricted_traces.py',
Jamie Madillee0498b2020-02-15 09:24:03 -0500457 'src/tests/perf_tests/restricted_traces',
Cody Northrop080d7112020-01-08 13:04:44 -0700458 ]
459 }
alokp@chromium.org29d56fb2010-04-06 15:42:22 +0000460]
Jamie Madill20789312016-10-28 14:05:26 -0400461
462recursedeps = [
463 # buildtools provides clang_format.
Jamie Madill8ba50492019-10-10 17:46:54 -0400464 'buildtools',
Jamie Madill07035682019-10-25 09:00:41 -0400465 'third_party/googletest',
Jamie Madille7c8e802019-10-26 08:16:12 -0400466 'third_party/jsoncpp',
Jamie Madill20789312016-10-28 14:05:26 -0400467]