blob: e6704e54169759ea5188270b4b8cdca243363958 [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 Madill23211582020-07-21 10:08:03 -04009gclient_gn_args_file = 'build/config/gclient_args.gni'
10
Jamie Madill2fdd3da2015-07-20 10:14:54 -040011vars = {
Jamie Madill37ee8a62016-12-13 15:18:58 -050012 'android_git': 'https://android.googlesource.com',
Jamie Madill2fdd3da2015-07-20 10:14:54 -040013 'chromium_git': 'https://chromium.googlesource.com',
Jamie Madill67a017f2019-10-10 15:27:27 -040014 'chrome_internal_git': 'https://chrome-internal.googlesource.com',
Jamie Madill8be7a4c2019-09-19 12:48:31 -040015 'swiftshader_git': 'https://swiftshader.googlesource.com',
Jamie Madill027717f2018-04-13 15:51:24 -040016
Edward Lemur8ae09b02018-06-01 14:18:28 -040017 # This variable is overrided in Chromium's DEPS file.
18 'build_with_chromium': False,
19
Jamie Madill67a017f2019-10-10 15:27:27 -040020 # Only check out public sources by default. This can be overridden with custom_vars.
Cody Northrop84f45f12019-12-18 14:34:29 -070021 'checkout_angle_internal': False,
Jamie Madill4237e532019-06-28 11:14:31 -040022
Jamie Madill1948af32019-10-11 17:49:24 -040023 # Version of Chromium our Chromium-based DEPS are mirrored from.
Jamie Madill23211582020-07-21 10:08:03 -040024 'chromium_revision': 'fb6cbaf6e55fc6aba0a0d7c163526789bbceb808',
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).
angle-autoroll7c799452020-07-21 11:30:01 +000027 'vk_gl_cts_revision': '4b40207be32deac1c567dacc70cde031bea005aa',
Edward Lemur8ae09b02018-06-01 14:18:28 -040028
29 # Current revision of glslang, the Khronos SPIRV compiler.
angle-autoroll3c3470b2020-07-23 07:01:20 +000030 'glslang_revision': '3ee5f2f1d3316e228916788b300d786bb574d337',
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
Jordan Bayles1265dbe2020-06-24 15:12:17 -070040 # Current revision of Chrome's third_party jsoncpp directory. This repository
41 # is mirrored as a separate repository, with separate git hashes that
42 # don't match the external JsonCpp repository or Chrome. Mirrored patches
43 # will have a different git hash associated with them.
44 # To roll, first get the new hash for chromium_jsoncpp_revision from the
45 # mirror of third_party/jsoncpp located here:
46 # https://chromium.googlesource.com/chromium/src/third_party/jsoncpp/
47 # Then get the new hash for jsoncpp_revision from the root Chrome DEPS file:
48 # https://source.chromium.org/chromium/chromium/src/+/master:DEPS
49 'chromium_jsoncpp_revision': 'ec647b85b61f525a1a74e4da7477b0c5371c50f4',
50
Jamie Madille7c8e802019-10-26 08:16:12 -040051 # Current revision of patched-yasm.
52 # Note: this dep cannot be auto-rolled b/c of nesting.
53 'patched_yasm_revision': '720b70524a4424b15fc57e82263568c8ba0496ad',
54
Le Quyena5a04ac2019-10-29 22:57:55 +080055 # Current revision of spirv-cross, the Khronos SPIRV cross compiler.
Le Hoang Quyenbcf99572020-05-11 00:50:00 +080056 'spirv_cross_revision': 'f38cbeb814c73510b85697adbe5e894f9eac978f',
Le Quyena5a04ac2019-10-29 22:57:55 +080057
Edward Lemur8ae09b02018-06-01 14:18:28 -040058 # Current revision fo the SPIRV-Headers Vulkan support library.
angle-autoroll397bc432020-07-28 07:01:36 +000059 'spirv_headers_revision': '979924c8bc839e4cb1b69d03d48398551f369ce7',
Edward Lemur8ae09b02018-06-01 14:18:28 -040060
61 # Current revision of SPIRV-Tools for Vulkan.
angle-autoroll397bc432020-07-28 07:01:36 +000062 'spirv_tools_revision': '150be20d4334b66c31a8ed81230f85b814b14a9f',
Edward Lemur8ae09b02018-06-01 14:18:28 -040063
Tobin Ehlisb971f492018-05-24 10:56:17 -060064 # Current revision of Khronos Vulkan-Headers.
angle-autorollc3ccd3a2020-07-27 07:01:51 +000065 'vulkan_headers_revision': 'a0f1f5149d91d9ea460c19a7bbd281a1c604c8e7',
Tobin Ehlisb971f492018-05-24 10:56:17 -060066
67 # Current revision of Khronos Vulkan-Loader.
angle-autoroll0dd63422020-07-21 07:01:55 +000068 'vulkan_loader_revision': 'bfe4f378aee6a2825b8112429cd46529d936babf',
Tobin Ehlisb971f492018-05-24 10:56:17 -060069
70 # Current revision of Khronos Vulkan-Tools.
angle-autorolld17b53d2020-07-22 07:01:32 +000071 'vulkan_tools_revision': '3b36fdc64014844db78671fa0ca1c0ef184e5b0d',
Tobin Ehlisb971f492018-05-24 10:56:17 -060072
73 # Current revision of Khronos Vulkan-ValidationLayers.
angle-autoroll45de2792020-07-27 07:01:26 +000074 'vulkan_validation_revision': '361fb5311b9b40d8c69d1ba5afb1d192ce071640',
Geoff Lang6e687af2019-10-17 14:36:41 -040075
76 # Three lines of non-changing comments so that
77 # the commit queue can handle CLs rolling catapult
78 # and whatever else without interference from each other.
79 'catapult_revision': '1b3fb455bf1849f1e6187e1eaeaef32b9f30d3c5',
Jamie Madill2fdd3da2015-07-20 10:14:54 -040080}
81
alokp@chromium.org29d56fb2010-04-06 15:42:22 +000082deps = {
alokp@chromium.org416fcd32012-04-11 16:23:44 +000083
Jamie Madill8ba50492019-10-10 17:46:54 -040084 'build': {
Jamie Madill23211582020-07-21 10:08:03 -040085 'url': '{chromium_git}/chromium/src/build.git@1ee11394cfbea8e22ab5e9192266da38f059ec67',
Edward Lemur8ae09b02018-06-01 14:18:28 -040086 'condition': 'not build_with_chromium',
87 },
Frank Henigmand0ef13a2017-08-28 22:53:24 -040088
Jamie Madill8ba50492019-10-10 17:46:54 -040089 'buildtools': {
Jamie Madill23211582020-07-21 10:08:03 -040090 'url': '{chromium_git}/chromium/src/buildtools.git@9e121212d42be62a7cce38072f925f8398d11e49',
Edward Lemur8ae09b02018-06-01 14:18:28 -040091 'condition': 'not build_with_chromium',
92 },
Frank Henigmand0ef13a2017-08-28 22:53:24 -040093
Jamie Madill8ba50492019-10-10 17:46:54 -040094 'testing': {
Jamie Madill23211582020-07-21 10:08:03 -040095 'url': '{chromium_git}/chromium/src/testing@f126fc6578039eb81449c7eeb8a95855bb9b1a42',
Edward Lemur8ae09b02018-06-01 14:18:28 -040096 'condition': 'not build_with_chromium',
97 },
alokp@chromium.org5cd9c602012-05-16 23:37:50 +000098
Jamie Madill23211582020-07-21 10:08:03 -040099 'third_party/android_ndk': {
100 'url': '{chromium_git}/android_ndk.git@27c0a8d090c666a50e40fceb4ee5b40b1a2d3f87',
101 'condition': 'checkout_android and not build_with_chromium',
102 },
103
104 'third_party/catapult': {
105 'url': '{chromium_git}/catapult.git@{catapult_revision}',
106 'condition': 'checkout_android and not build_with_chromium',
107 },
108
Courtney Goeltzenleuchterfebdcf52019-10-28 10:54:03 -0600109 # 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 -0400110 'third_party/cherry': {
Edward Lemur8ae09b02018-06-01 14:18:28 -0400111 'url': '{android_git}/platform/external/cherry@4f8fb08d33ca5ff05a1c638f04c85bbb8d8b52cc',
112 'condition': 'not build_with_chromium',
113 },
Jamie Madill9e76f562015-10-02 08:57:14 -0400114
Jamie Madill20e631f2020-05-05 12:19:58 -0400115 'third_party/vulkan_memory_allocator': {
Jamie Madillb22ecc62020-06-04 10:51:10 -0400116 'url': '{chromium_git}/external/github.com/GPUOpen-LibrariesAndSDKs/VulkanMemoryAllocator@431d6e57284aeb08118ff428dfbd51c94342faa1',
Jamie Madillca50ad42020-05-01 16:37:00 -0400117 'condition': 'not build_with_chromium',
Jamie Madill76d52be2020-04-07 09:14:29 -0400118 },
119
Courtney Goeltzenleuchterfebdcf52019-10-28 10:54:03 -0600120 'third_party/VK-GL-CTS/src': {
121 'url': '{chromium_git}/external/github.com/KhronosGroup/VK-GL-CTS@{vk_gl_cts_revision}',
Edward Lemur8ae09b02018-06-01 14:18:28 -0400122 },
Jamie Madill37ee8a62016-12-13 15:18:58 -0500123
Jamie Madill8ba50492019-10-10 17:46:54 -0400124 'third_party/fuchsia-sdk': {
Jamie Madill130fdbc2019-10-10 19:13:07 -0400125 'url': '{chromium_git}/chromium/src/third_party/fuchsia-sdk.git@1785f0ac8e1fe81cb25e260acbe7de8f62fa3e44',
Jamie Madill9f958342019-04-08 09:40:40 -0400126 'condition': 'checkout_fuchsia and not build_with_chromium',
127 },
128
Jamie Madill67a017f2019-10-10 15:27:27 -0400129 # Closed-source OpenGL ES 1.1 Conformance tests.
Jamie Madill8ba50492019-10-10 17:46:54 -0400130 'third_party/gles1_conform': {
Jamie Madill67a017f2019-10-10 15:27:27 -0400131 'url': '{chrome_internal_git}/angle/es-cts.git@dc9f502f709c9cd88d7f8d3974f1c77aa246958e',
Cody Northrop84f45f12019-12-18 14:34:29 -0700132 'condition': 'checkout_angle_internal',
Jamie Madill67a017f2019-10-10 15:27:27 -0400133 },
134
Jamie Madill55959b02019-03-05 10:07:41 -0500135 # glmark2 is a GPL3-licensed OpenGL ES 2.0 benchmark. We use it for testing.
Jamie Madill8ba50492019-10-10 17:46:54 -0400136 'third_party/glmark2/src': {
Jamie Madill2971fd32019-08-12 16:53:21 -0400137 'url': '{chromium_git}/external/github.com/glmark2/glmark2@9e01aef1a786b28aca73135a5b00f85c357e8f5e',
Jamie Madill55959b02019-03-05 10:07:41 -0500138 },
139
Jamie Madill8ba50492019-10-10 17:46:54 -0400140 'third_party/glslang/src': {
Tobin Ehlis317a9eb2018-11-29 12:51:46 -0700141 'url': '{chromium_git}/external/github.com/KhronosGroup/glslang@{glslang_revision}',
Jamie Madill0cb3b0f2019-01-28 09:55:20 -0500142 'condition': 'not build_with_chromium',
Jamie Madill55959b02019-03-05 10:07:41 -0500143 },
Jamie Madill37ee8a62016-12-13 15:18:58 -0500144
Jamie Madill8ba50492019-10-10 17:46:54 -0400145 'third_party/googletest': {
Jamie Madill23211582020-07-21 10:08:03 -0400146 'url': '{chromium_git}/chromium/src/third_party/googletest@defbf92951658959ecb0e06d344fa65eedfc6e7a',
Jamie Madillcf9b2852019-02-13 09:15:26 -0500147 'condition': 'not build_with_chromium',
148 },
149
Jamie Madill55959b02019-03-05 10:07:41 -0500150 # libjpeg_turbo is used by glmark2.
Jamie Madill8ba50492019-10-10 17:46:54 -0400151 'third_party/libjpeg_turbo': {
Jamie Madill43951702020-04-27 16:57:46 -0400152 'url': '{chromium_git}/chromium/deps/libjpeg_turbo.git@7e3ad79800a7945fb37173149842b494ab8982b2',
Jamie Madill55959b02019-03-05 10:07:41 -0500153 'condition': 'not build_with_chromium',
154 },
155
Jamie Madill8ba50492019-10-10 17:46:54 -0400156 'third_party/libpng/src': {
Edward Lemur8ae09b02018-06-01 14:18:28 -0400157 'url': '{android_git}/platform/external/libpng@094e181e79a3d6c23fd005679025058b7df1ad6c',
158 'condition': 'not build_with_chromium',
159 },
Jamie Madill37ee8a62016-12-13 15:18:58 -0500160
Jamie Madill8ba50492019-10-10 17:46:54 -0400161 'third_party/jsoncpp': {
Jordan Bayles1265dbe2020-06-24 15:12:17 -0700162 'url': '{chromium_git}/chromium/src/third_party/jsoncpp@{chromium_jsoncpp_revision}',
Jamie Madill0cb3b0f2019-01-28 09:55:20 -0500163 'condition': 'not build_with_chromium',
164 },
Tobin Ehlis5fdc38c2018-08-28 09:20:57 -0600165
Jamie Madill43951702020-04-27 16:57:46 -0400166 'third_party/nasm': {
Jamie Madill23211582020-07-21 10:08:03 -0400167 'url': '{chromium_git}/chromium/deps/nasm.git@19f3fad68da99277b2882939d3b2fa4c4b8d51d9',
Jamie Madill43951702020-04-27 16:57:46 -0400168 'condition': 'not build_with_chromium',
169 },
170
Jamie Madill8ba50492019-10-10 17:46:54 -0400171 'third_party/Python-Markdown': {
Jamie Madill23211582020-07-21 10:08:03 -0400172 'url': '{chromium_git}/chromium/src/third_party/Python-Markdown@9c8566e04768e32834ac87e0ae78d8793c749a34',
Jamie Madill9f958342019-04-08 09:40:40 -0400173 'condition': 'not build_with_chromium',
174 },
175
Jamie Madill8ba50492019-10-10 17:46:54 -0400176 'third_party/qemu-linux-x64': {
Michael Spang229fc832019-01-21 18:09:15 -0500177 'packages': [
178 {
179 'package': 'fuchsia/qemu/linux-amd64',
180 'version': '9cc486c5b18a0be515c39a280ca9a309c54cf994'
181 },
182 ],
183 'condition': 'not build_with_chromium and (host_os == "linux" and checkout_fuchsia)',
184 'dep_type': 'cipd',
185 },
186
Jamie Madill8ba50492019-10-10 17:46:54 -0400187 'third_party/qemu-mac-x64': {
Michael Spang229fc832019-01-21 18:09:15 -0500188 'packages': [
189 {
190 'package': 'fuchsia/qemu/mac-amd64',
191 'version': '2d3358ae9a569b2d4a474f498b32b202a152134f'
192 },
193 ],
194 'condition': 'not build_with_chromium and (host_os == "mac" and checkout_fuchsia)',
195 'dep_type': 'cipd',
196 },
197
Jamie Madill8ba50492019-10-10 17:46:54 -0400198 'third_party/rapidjson/src': {
Jamie Madill46d32e02019-02-25 17:13:16 -0500199 'url': '{chromium_git}/external/github.com/Tencent/rapidjson@7484e06c589873e1ed80382d262087e4fa80fb63',
200 },
201
Le Quyena5a04ac2019-10-29 22:57:55 +0800202 'third_party/spirv-cross/src': {
203 'url': '{chromium_git}/external/github.com/KhronosGroup/SPIRV-Cross@{spirv_cross_revision}',
204 'condition': 'not build_with_chromium',
205 },
206
Jamie Madill8ba50492019-10-10 17:46:54 -0400207 'third_party/spirv-headers/src': {
Jamie Madill0cb3b0f2019-01-28 09:55:20 -0500208 'url': '{chromium_git}/external/github.com/KhronosGroup/SPIRV-Headers@{spirv_headers_revision}',
Corentin Walleza883dd02018-08-03 18:11:46 +0200209 'condition': 'not build_with_chromium',
Edward Lemur8ae09b02018-06-01 14:18:28 -0400210 },
Jamie Madill37ee8a62016-12-13 15:18:58 -0500211
Jamie Madill8ba50492019-10-10 17:46:54 -0400212 'third_party/spirv-tools/src': {
Jamie Madill0cb3b0f2019-01-28 09:55:20 -0500213 'url': '{chromium_git}/external/github.com/KhronosGroup/SPIRV-Tools@{spirv_tools_revision}',
Corentin Walleza883dd02018-08-03 18:11:46 +0200214 'condition': 'not build_with_chromium',
Edward Lemur8ae09b02018-06-01 14:18:28 -0400215 },
Jamie Madill37ee8a62016-12-13 15:18:58 -0500216
Jamie Madill8ba50492019-10-10 17:46:54 -0400217 'third_party/SwiftShader': {
angle-autorollcb418ac2020-07-28 07:01:14 +0000218 'url': '{swiftshader_git}/SwiftShader@12c9d4ac61f26e787dfe4ea256b2e1b8fa35e040',
Jamie Madill8be7a4c2019-09-19 12:48:31 -0400219 'condition': 'not build_with_chromium',
220 },
221
Jamie Madill8ba50492019-10-10 17:46:54 -0400222 'third_party/vulkan-headers/src': {
Tobin Ehlisb971f492018-05-24 10:56:17 -0600223 'url': '{chromium_git}/external/github.com/KhronosGroup/Vulkan-Headers@{vulkan_headers_revision}',
224 },
225
Jamie Madill8ba50492019-10-10 17:46:54 -0400226 'third_party/vulkan-loader/src': {
Tobin Ehlisb971f492018-05-24 10:56:17 -0600227 'url': '{chromium_git}/external/github.com/KhronosGroup/Vulkan-Loader@{vulkan_loader_revision}',
228 },
229
Jamie Madill8ba50492019-10-10 17:46:54 -0400230 'third_party/vulkan-tools/src': {
Tobin Ehlisb971f492018-05-24 10:56:17 -0600231 'url': '{chromium_git}/external/github.com/KhronosGroup/Vulkan-Tools@{vulkan_tools_revision}',
232 },
233
Jamie Madill8ba50492019-10-10 17:46:54 -0400234 'third_party/vulkan-validation-layers/src': {
Tobin Ehlisb971f492018-05-24 10:56:17 -0600235 'url': '{chromium_git}/external/github.com/KhronosGroup/Vulkan-ValidationLayers@{vulkan_validation_revision}',
Edward Lemur8ae09b02018-06-01 14:18:28 -0400236 },
Jamie Madill3cd438d2015-03-17 11:25:27 -0400237
Jamie Madill8ba50492019-10-10 17:46:54 -0400238 'third_party/zlib': {
Jamie Madill23211582020-07-21 10:08:03 -0400239 'url': '{chromium_git}/chromium/src/third_party/zlib@89bddfee9cf8fde3ab1212ed63bf03d76baf8914',
Edward Lemur8ae09b02018-06-01 14:18:28 -0400240 'condition': 'not build_with_chromium',
241 },
Frank Henigmand0ef13a2017-08-28 22:53:24 -0400242
Jamie Madill8ba50492019-10-10 17:46:54 -0400243 'tools/clang': {
Jamie Madill23211582020-07-21 10:08:03 -0400244 'url': '{chromium_git}/chromium/src/tools/clang.git@6412135b3979b680c20cf007ab242d968025fc3e',
Edward Lemur8ae09b02018-06-01 14:18:28 -0400245 'condition': 'not build_with_chromium',
246 },
Michael Spang229fc832019-01-21 18:09:15 -0500247
Le Hoang Quyencaeb2172019-11-20 22:30:17 +0800248 'tools/clang/dsymutil': {
249 'packages': [
250 {
251 'package': 'chromium/llvm-build-tools/dsymutil',
252 'version': 'M56jPzDv1620Rnm__jTMYS62Zi8rxHVq7yw0qeBFEgkC',
253 }
254 ],
255 'condition': 'checkout_mac and not build_with_chromium',
256 'dep_type': 'cipd',
257 },
258
Jamie Madill8ba50492019-10-10 17:46:54 -0400259 'tools/md_browser': {
Jamie Madill23211582020-07-21 10:08:03 -0400260 'url': '{chromium_git}/chromium/src/tools/md_browser@be8cf5a17d73c14170dff2ec9600310483361356',
Jamie Madill9f958342019-04-08 09:40:40 -0400261 'condition': 'not build_with_chromium',
Michael Spang229fc832019-01-21 18:09:15 -0500262 },
Jamie Madilldf0ce012019-09-05 11:04:39 -0400263
Jamie Madill8ba50492019-10-10 17:46:54 -0400264 'tools/memory': {
Jamie Madilldf0ce012019-09-05 11:04:39 -0400265 'url': '{chromium_git}/chromium/src/tools/memory@89552acb6e60f528fe3c98eac7b445d4c34183ee',
266 'condition': 'not build_with_chromium',
267 },
alokp@chromium.org29d56fb2010-04-06 15:42:22 +0000268}
269
alokp@chromium.org29d56fb2010-04-06 15:42:22 +0000270hooks = [
Jamie Madill2fdd3da2015-07-20 10:14:54 -0400271 # Pull clang-format binaries using checked-in hashes.
272 {
273 'name': 'clang_format_win',
274 'pattern': '.',
Edward Lemur8ae09b02018-06-01 14:18:28 -0400275 'condition': 'host_os == "win" and not build_with_chromium',
Jamie Madill2fdd3da2015-07-20 10:14:54 -0400276 'action': [ 'download_from_google_storage',
277 '--no_resume',
278 '--platform=win32',
279 '--no_auth',
280 '--bucket', 'chromium-clang-format',
Jamie Madill8ba50492019-10-10 17:46:54 -0400281 '-s', 'buildtools/win/clang-format.exe.sha1',
Jamie Madill2fdd3da2015-07-20 10:14:54 -0400282 ],
283 },
284 {
285 'name': 'clang_format_mac',
286 'pattern': '.',
Edward Lemur8ae09b02018-06-01 14:18:28 -0400287 'condition': 'host_os == "mac" and not build_with_chromium',
Jamie Madill2fdd3da2015-07-20 10:14:54 -0400288 'action': [ 'download_from_google_storage',
289 '--no_resume',
290 '--platform=darwin',
291 '--no_auth',
292 '--bucket', 'chromium-clang-format',
Jamie Madill8ba50492019-10-10 17:46:54 -0400293 '-s', 'buildtools/mac/clang-format.sha1',
Jamie Madill2fdd3da2015-07-20 10:14:54 -0400294 ],
295 },
296 {
297 'name': 'clang_format_linux',
298 'pattern': '.',
Edward Lemur8ae09b02018-06-01 14:18:28 -0400299 'condition': 'host_os == "linux" and not build_with_chromium',
Jamie Madill2fdd3da2015-07-20 10:14:54 -0400300 'action': [ 'download_from_google_storage',
301 '--no_resume',
302 '--platform=linux*',
303 '--no_auth',
304 '--bucket', 'chromium-clang-format',
Jamie Madill8ba50492019-10-10 17:46:54 -0400305 '-s', 'buildtools/linux64/clang-format.sha1',
Jamie Madill2fdd3da2015-07-20 10:14:54 -0400306 ],
307 },
Tobin Ehlis9d4277b2018-05-21 16:22:22 -0600308 {
309 'name': 'sysroot_x86',
310 'pattern': '.',
Edward Lemur8ae09b02018-06-01 14:18:28 -0400311 'condition': 'checkout_linux and ((checkout_x86 or checkout_x64) and not build_with_chromium)',
Jamie Madill8ba50492019-10-10 17:46:54 -0400312 'action': ['python', 'build/linux/sysroot_scripts/install-sysroot.py',
Tobin Ehlis9d4277b2018-05-21 16:22:22 -0600313 '--arch=x86'],
314 },
315 {
316 'name': 'sysroot_x64',
317 'pattern': '.',
Edward Lemur8ae09b02018-06-01 14:18:28 -0400318 'condition': 'checkout_linux and (checkout_x64 and not build_with_chromium)',
Jamie Madill8ba50492019-10-10 17:46:54 -0400319 'action': ['python', 'build/linux/sysroot_scripts/install-sysroot.py',
Tobin Ehlis9d4277b2018-05-21 16:22:22 -0600320 '--arch=x64'],
321 },
Jamie Madill027717f2018-04-13 15:51:24 -0400322 {
323 # Update the Windows toolchain if necessary. Must run before 'clang' below.
324 'name': 'win_toolchain',
325 'pattern': '.',
Edward Lemur8ae09b02018-06-01 14:18:28 -0400326 'condition': 'checkout_win and not build_with_chromium',
Jamie Madill8ba50492019-10-10 17:46:54 -0400327 'action': ['python', 'build/vs_toolchain.py', 'update', '--force'],
Jamie Madill027717f2018-04-13 15:51:24 -0400328 },
Geoff Lang66ae5312019-04-01 16:35:53 -0400329 {
330 # Update the Mac toolchain if necessary.
331 'name': 'mac_toolchain',
332 'pattern': '.',
333 'condition': 'checkout_mac and not build_with_chromium',
Jamie Madill8ba50492019-10-10 17:46:54 -0400334 'action': ['python', 'build/mac_toolchain.py'],
Geoff Lang66ae5312019-04-01 16:35:53 -0400335 },
Jamie Madill027717f2018-04-13 15:51:24 -0400336
alokp@chromium.org29d56fb2010-04-06 15:42:22 +0000337 {
Frank Henigmand0ef13a2017-08-28 22:53:24 -0400338 # Note: On Win, this should run after win_toolchain, as it may use it.
339 'name': 'clang',
340 'pattern': '.',
Jamie Madill8ba50492019-10-10 17:46:54 -0400341 'action': ['python', 'tools/clang/scripts/update.py'],
Edward Lemur8ae09b02018-06-01 14:18:28 -0400342 'condition': 'not build_with_chromium',
Frank Henigmand0ef13a2017-08-28 22:53:24 -0400343 },
Jamie Madill940c48b2017-10-23 23:25:17 -0400344
Shahbaz Youssefi957e9b82018-10-05 11:00:50 -0400345 {
346 # Update LASTCHANGE.
347 'name': 'lastchange',
348 'pattern': '.',
349 'condition': 'not build_with_chromium',
Jamie Madill8ba50492019-10-10 17:46:54 -0400350 'action': ['python', 'build/util/lastchange.py',
351 '-o', 'build/util/LASTCHANGE'],
Shahbaz Youssefi957e9b82018-10-05 11:00:50 -0400352 },
353
Jamie Madill940c48b2017-10-23 23:25:17 -0400354 # Pull rc binaries using checked-in hashes.
355 {
356 'name': 'rc_win',
357 'pattern': '.',
Edward Lemur8ae09b02018-06-01 14:18:28 -0400358 'condition': 'checkout_win and (host_os == "win" and not build_with_chromium)',
Jamie Madill940c48b2017-10-23 23:25:17 -0400359 'action': [ 'download_from_google_storage',
360 '--no_resume',
361 '--no_auth',
362 '--bucket', 'chromium-browser-clang/rc',
Jamie Madill8ba50492019-10-10 17:46:54 -0400363 '-s', 'build/toolchain/win/rc/win/rc.exe.sha1',
Jamie Madill940c48b2017-10-23 23:25:17 -0400364 ],
365 },
Michael Spang229fc832019-01-21 18:09:15 -0500366
367 {
368 'name': 'fuchsia_sdk',
369 'pattern': '.',
370 'condition': 'checkout_fuchsia and not build_with_chromium',
371 'action': [
372 'python',
Jamie Madill8ba50492019-10-10 17:46:54 -0400373 'build/fuchsia/update_sdk.py',
Michael Spang229fc832019-01-21 18:09:15 -0500374 ],
375 },
Jamie Madilld5ff4fa2019-04-08 09:25:23 -0400376
Shahbaz Youssefi82418c82019-04-05 15:56:03 -0400377 # Download glslang validator binary for Linux.
378 {
379 'name': 'linux_glslang_validator',
380 'pattern': '.',
381 'condition': 'checkout_linux and not build_with_chromium',
382 'action': [ 'download_from_google_storage',
383 '--no_resume',
384 '--platform=linux*',
385 '--no_auth',
386 '--bucket', 'angle-glslang-validator',
Jamie Madill8ba50492019-10-10 17:46:54 -0400387 '-s', 'tools/glslang/glslang_validator.sha1',
Shahbaz Youssefi82418c82019-04-05 15:56:03 -0400388 ],
389 },
390
Jamie Madilld5ff4fa2019-04-08 09:25:23 -0400391 # Download glslang validator binary for Windows.
392 {
393 'name': 'win_glslang_validator',
394 'pattern': '.',
395 'condition': 'checkout_win and not build_with_chromium',
396 'action': [ 'download_from_google_storage',
397 '--no_resume',
398 '--platform=win32*',
399 '--no_auth',
400 '--bucket', 'angle-glslang-validator',
Jamie Madill8ba50492019-10-10 17:46:54 -0400401 '-s', 'tools/glslang/glslang_validator.exe.sha1',
Jamie Madilld5ff4fa2019-04-08 09:25:23 -0400402 ],
403 },
Shahbaz Youssefi5efb36b2019-11-25 16:14:55 -0500404
405 # Download flex/bison binaries for Linux.
406 {
407 'name': 'linux_flex_bison',
408 'pattern': '.',
409 'condition': 'checkout_linux and not build_with_chromium',
410 'action': [ 'download_from_google_storage',
411 '--no_resume',
412 '--platform=linux*',
413 '--no_auth',
414 '--bucket', 'angle-flex-bison',
415 '-d', 'tools/flex-bison/linux/',
416 ],
417 },
418
419 # Download flex/bison binaries for Windows.
420 {
421 'name': 'win_flex_bison',
422 'pattern': '.',
423 'condition': 'checkout_win and not build_with_chromium',
424 'action': [ 'download_from_google_storage',
425 '--no_resume',
426 '--platform=win32*',
427 '--no_auth',
428 '--bucket', 'angle-flex-bison',
429 '-d', 'tools/flex-bison/windows/',
430 ],
431 },
Cody Northrop080d7112020-01-08 13:04:44 -0700432
433 # Download internal captures for perf tests
434 {
435 'name': 'restricted_traces',
436 'pattern': '\\.sha1',
437 'condition': 'checkout_angle_internal',
Courtney Goeltzenleuchtere474cc92020-06-18 16:03:30 -0600438 'action': [ 'python',
439 'src/tests/perf_tests/restricted_traces/download_restricted_traces.py',
Jamie Madillee0498b2020-02-15 09:24:03 -0500440 'src/tests/perf_tests/restricted_traces',
Cody Northrop080d7112020-01-08 13:04:44 -0700441 ]
442 }
alokp@chromium.org29d56fb2010-04-06 15:42:22 +0000443]
Jamie Madill20789312016-10-28 14:05:26 -0400444
445recursedeps = [
446 # buildtools provides clang_format.
Jamie Madill8ba50492019-10-10 17:46:54 -0400447 'buildtools',
Jamie Madill07035682019-10-25 09:00:41 -0400448 'third_party/googletest',
Jamie Madille7c8e802019-10-26 08:16:12 -0400449 'third_party/jsoncpp',
Jamie Madill20789312016-10-28 14:05:26 -0400450]