blob: 0e86e2e682d3932e558f435e46dd79bde084cd41 [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.
Tim Van Pattenfa105682020-08-04 22:43:43 -060031 'chromium_revision': 'ed7912a248d52ab5aae92fdef67734ef628c440e',
Jamie Madill1948af32019-10-11 17:49:24 -040032
Courtney Goeltzenleuchterfebdcf52019-10-28 10:54:03 -060033 # Current revision of VK-GL-CTS (a.k.a dEQP).
angle-autorollea952ff2020-08-06 18:38:04 +000034 'vk_gl_cts_revision': 'b2be8f1659784a3ed261a895c323de40c0129dc1',
Edward Lemur8ae09b02018-06-01 14:18:28 -040035
36 # Current revision of glslang, the Khronos SPIRV compiler.
angle-autorollbec98852020-08-04 08:59:30 +000037 'glslang_revision': 'f881f08358b098b8bd1e3b402ab35b5177aa76b9',
Edward Lemur8ae09b02018-06-01 14:18:28 -040038
Jamie Madill07035682019-10-25 09:00:41 -040039 # Current revision of googletest.
40 # Note: this dep cannot be auto-rolled b/c of nesting.
41 'googletest_revision': 'f2fb48c3b3d79a75a88a99fba6576b25d42ec528',
42
Jamie Madille7c8e802019-10-26 08:16:12 -040043 # Current revision of jsoncpp.
44 # Note: this dep cannot be auto-rolled b/c of nesting.
45 'jsoncpp_revision': '645250b6690785be60ab6780ce4b58698d884d11',
46
Jordan Bayles1265dbe2020-06-24 15:12:17 -070047 # Current revision of Chrome's third_party jsoncpp directory. This repository
48 # is mirrored as a separate repository, with separate git hashes that
49 # don't match the external JsonCpp repository or Chrome. Mirrored patches
50 # will have a different git hash associated with them.
51 # To roll, first get the new hash for chromium_jsoncpp_revision from the
52 # mirror of third_party/jsoncpp located here:
53 # https://chromium.googlesource.com/chromium/src/third_party/jsoncpp/
54 # Then get the new hash for jsoncpp_revision from the root Chrome DEPS file:
55 # https://source.chromium.org/chromium/chromium/src/+/master:DEPS
56 'chromium_jsoncpp_revision': 'ec647b85b61f525a1a74e4da7477b0c5371c50f4',
57
Jamie Madille7c8e802019-10-26 08:16:12 -040058 # Current revision of patched-yasm.
59 # Note: this dep cannot be auto-rolled b/c of nesting.
60 'patched_yasm_revision': '720b70524a4424b15fc57e82263568c8ba0496ad',
61
Le Quyena5a04ac2019-10-29 22:57:55 +080062 # Current revision of spirv-cross, the Khronos SPIRV cross compiler.
Le Hoang Quyenbcf99572020-05-11 00:50:00 +080063 'spirv_cross_revision': 'f38cbeb814c73510b85697adbe5e894f9eac978f',
Le Quyena5a04ac2019-10-29 22:57:55 +080064
Edward Lemur8ae09b02018-06-01 14:18:28 -040065 # Current revision fo the SPIRV-Headers Vulkan support library.
angle-autoroll07ef7032020-07-31 07:01:30 +000066 'spirv_headers_revision': '5538bf4386f19e42072bf8c2dfc3acf8d0196f3b',
Edward Lemur8ae09b02018-06-01 14:18:28 -040067
68 # Current revision of SPIRV-Tools for Vulkan.
angle-autorollfb03de52020-08-07 07:01:30 +000069 'spirv_tools_revision': '7b2dd11dda7a44ecf0d3ef2a2e2205fba3f0f949',
Edward Lemur8ae09b02018-06-01 14:18:28 -040070
Tobin Ehlisb971f492018-05-24 10:56:17 -060071 # Current revision of Khronos Vulkan-Headers.
angle-autorolle9cc2772020-08-10 07:01:49 +000072 'vulkan_headers_revision': '8446db62f19416963e0b35f45c47684b61612eed',
Tobin Ehlisb971f492018-05-24 10:56:17 -060073
74 # Current revision of Khronos Vulkan-Loader.
angle-autoroll3c7f1442020-08-07 07:01:09 +000075 'vulkan_loader_revision': 'aba3ab0ce72f3c6d0e5fc82fde780bfcb79d7204',
Tobin Ehlisb971f492018-05-24 10:56:17 -060076
77 # Current revision of Khronos Vulkan-Tools.
angle-autorolld76844a2020-08-06 07:01:25 +000078 'vulkan_tools_revision': 'a1c21580f50b9d6ead9e5f04b8b8fdc378f49087',
Tobin Ehlisb971f492018-05-24 10:56:17 -060079
80 # Current revision of Khronos Vulkan-ValidationLayers.
angle-autoroll9d992242020-08-10 07:01:36 +000081 'vulkan_validation_revision': 'b399fb08896a6054b3bd7c6604886cbff7fe67e4',
Geoff Lang6e687af2019-10-17 14:36:41 -040082
83 # Three lines of non-changing comments so that
84 # the commit queue can handle CLs rolling catapult
85 # and whatever else without interference from each other.
86 'catapult_revision': '1b3fb455bf1849f1e6187e1eaeaef32b9f30d3c5',
Jamie Madill2fdd3da2015-07-20 10:14:54 -040087}
88
alokp@chromium.org29d56fb2010-04-06 15:42:22 +000089deps = {
alokp@chromium.org416fcd32012-04-11 16:23:44 +000090
Jamie Madill8ba50492019-10-10 17:46:54 -040091 'build': {
Tim Van Pattenfa105682020-08-04 22:43:43 -060092 'url': '{chromium_git}/chromium/src/build.git@0eaf1510a921b1d7db062cc2d035c855c882f693',
Edward Lemur8ae09b02018-06-01 14:18:28 -040093 'condition': 'not build_with_chromium',
94 },
Frank Henigmand0ef13a2017-08-28 22:53:24 -040095
Jamie Madill8ba50492019-10-10 17:46:54 -040096 'buildtools': {
Tim Van Pattenfa105682020-08-04 22:43:43 -060097 'url': '{chromium_git}/chromium/src/buildtools.git@1ecfe3ce669a34f8c76ffe5895d95b3ea3b549fd',
Edward Lemur8ae09b02018-06-01 14:18:28 -040098 'condition': 'not build_with_chromium',
99 },
Frank Henigmand0ef13a2017-08-28 22:53:24 -0400100
Jamie Madill8ba50492019-10-10 17:46:54 -0400101 'testing': {
Tim Van Pattenfa105682020-08-04 22:43:43 -0600102 'url': '{chromium_git}/chromium/src/testing@165367ff940af902e2505d538ffb82b90c5295e3',
Edward Lemur8ae09b02018-06-01 14:18:28 -0400103 'condition': 'not build_with_chromium',
104 },
alokp@chromium.org5cd9c602012-05-16 23:37:50 +0000105
Jamie Madill23211582020-07-21 10:08:03 -0400106 'third_party/android_ndk': {
107 'url': '{chromium_git}/android_ndk.git@27c0a8d090c666a50e40fceb4ee5b40b1a2d3f87',
108 'condition': 'checkout_android and not build_with_chromium',
109 },
110
111 'third_party/catapult': {
112 'url': '{chromium_git}/catapult.git@{catapult_revision}',
113 'condition': 'checkout_android and not build_with_chromium',
114 },
115
Courtney Goeltzenleuchterfebdcf52019-10-28 10:54:03 -0600116 # 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 -0400117 'third_party/cherry': {
Edward Lemur8ae09b02018-06-01 14:18:28 -0400118 'url': '{android_git}/platform/external/cherry@4f8fb08d33ca5ff05a1c638f04c85bbb8d8b52cc',
119 'condition': 'not build_with_chromium',
120 },
Jamie Madill9e76f562015-10-02 08:57:14 -0400121
Jamie Madill20e631f2020-05-05 12:19:58 -0400122 'third_party/vulkan_memory_allocator': {
Jamie Madillb22ecc62020-06-04 10:51:10 -0400123 'url': '{chromium_git}/external/github.com/GPUOpen-LibrariesAndSDKs/VulkanMemoryAllocator@431d6e57284aeb08118ff428dfbd51c94342faa1',
Jamie Madillca50ad42020-05-01 16:37:00 -0400124 'condition': 'not build_with_chromium',
Jamie Madill76d52be2020-04-07 09:14:29 -0400125 },
126
Courtney Goeltzenleuchterfebdcf52019-10-28 10:54:03 -0600127 'third_party/VK-GL-CTS/src': {
128 'url': '{chromium_git}/external/github.com/KhronosGroup/VK-GL-CTS@{vk_gl_cts_revision}',
Edward Lemur8ae09b02018-06-01 14:18:28 -0400129 },
Jamie Madill37ee8a62016-12-13 15:18:58 -0500130
Jamie Madill8ba50492019-10-10 17:46:54 -0400131 'third_party/fuchsia-sdk': {
Jamie Madill130fdbc2019-10-10 19:13:07 -0400132 'url': '{chromium_git}/chromium/src/third_party/fuchsia-sdk.git@1785f0ac8e1fe81cb25e260acbe7de8f62fa3e44',
Jamie Madill9f958342019-04-08 09:40:40 -0400133 'condition': 'checkout_fuchsia and not build_with_chromium',
134 },
135
Jamie Madill67a017f2019-10-10 15:27:27 -0400136 # Closed-source OpenGL ES 1.1 Conformance tests.
Jamie Madill8ba50492019-10-10 17:46:54 -0400137 'third_party/gles1_conform': {
Jamie Madill67a017f2019-10-10 15:27:27 -0400138 'url': '{chrome_internal_git}/angle/es-cts.git@dc9f502f709c9cd88d7f8d3974f1c77aa246958e',
Cody Northrop84f45f12019-12-18 14:34:29 -0700139 'condition': 'checkout_angle_internal',
Jamie Madill67a017f2019-10-10 15:27:27 -0400140 },
141
Jamie Madill55959b02019-03-05 10:07:41 -0500142 # glmark2 is a GPL3-licensed OpenGL ES 2.0 benchmark. We use it for testing.
Jamie Madill8ba50492019-10-10 17:46:54 -0400143 'third_party/glmark2/src': {
Jamie Madill2971fd32019-08-12 16:53:21 -0400144 'url': '{chromium_git}/external/github.com/glmark2/glmark2@9e01aef1a786b28aca73135a5b00f85c357e8f5e',
Jamie Madill55959b02019-03-05 10:07:41 -0500145 },
146
Jamie Madill8ba50492019-10-10 17:46:54 -0400147 'third_party/glslang/src': {
Tobin Ehlis317a9eb2018-11-29 12:51:46 -0700148 'url': '{chromium_git}/external/github.com/KhronosGroup/glslang@{glslang_revision}',
Jamie Madill0cb3b0f2019-01-28 09:55:20 -0500149 'condition': 'not build_with_chromium',
Jamie Madill55959b02019-03-05 10:07:41 -0500150 },
Jamie Madill37ee8a62016-12-13 15:18:58 -0500151
Jamie Madill8ba50492019-10-10 17:46:54 -0400152 'third_party/googletest': {
Tim Van Pattenfa105682020-08-04 22:43:43 -0600153 'url': '{chromium_git}/chromium/src/third_party/googletest@e3c3f879eee34ec81b1e562d8fecd207716d8945',
Jamie Madillcf9b2852019-02-13 09:15:26 -0500154 'condition': 'not build_with_chromium',
155 },
156
Jamie Madill55959b02019-03-05 10:07:41 -0500157 # libjpeg_turbo is used by glmark2.
Jamie Madill8ba50492019-10-10 17:46:54 -0400158 'third_party/libjpeg_turbo': {
Tim Van Pattenfa105682020-08-04 22:43:43 -0600159 'url': '{chromium_git}/chromium/deps/libjpeg_turbo.git@0241a1304fd183ee24fbdfe6891f18fdedea38f9',
Jamie Madill55959b02019-03-05 10:07:41 -0500160 'condition': 'not build_with_chromium',
161 },
162
Jamie Madill8ba50492019-10-10 17:46:54 -0400163 'third_party/libpng/src': {
Edward Lemur8ae09b02018-06-01 14:18:28 -0400164 'url': '{android_git}/platform/external/libpng@094e181e79a3d6c23fd005679025058b7df1ad6c',
165 'condition': 'not build_with_chromium',
166 },
Jamie Madill37ee8a62016-12-13 15:18:58 -0500167
Jamie Madill8ba50492019-10-10 17:46:54 -0400168 'third_party/jsoncpp': {
Jordan Bayles1265dbe2020-06-24 15:12:17 -0700169 'url': '{chromium_git}/chromium/src/third_party/jsoncpp@{chromium_jsoncpp_revision}',
Jamie Madill0cb3b0f2019-01-28 09:55:20 -0500170 'condition': 'not build_with_chromium',
171 },
Tobin Ehlis5fdc38c2018-08-28 09:20:57 -0600172
Jamie Madill43951702020-04-27 16:57:46 -0400173 'third_party/nasm': {
Jamie Madill23211582020-07-21 10:08:03 -0400174 'url': '{chromium_git}/chromium/deps/nasm.git@19f3fad68da99277b2882939d3b2fa4c4b8d51d9',
Jamie Madill43951702020-04-27 16:57:46 -0400175 'condition': 'not build_with_chromium',
176 },
177
Jamie Madill8ba50492019-10-10 17:46:54 -0400178 'third_party/Python-Markdown': {
Tim Van Pattenfa105682020-08-04 22:43:43 -0600179 'url': '{chromium_git}/chromium/src/third_party/Python-Markdown@31ac00b010877151f9440d5ffc7f1437e74169ef',
Jamie Madill9f958342019-04-08 09:40:40 -0400180 'condition': 'not build_with_chromium',
181 },
182
Jamie Madill8ba50492019-10-10 17:46:54 -0400183 'third_party/qemu-linux-x64': {
Michael Spang229fc832019-01-21 18:09:15 -0500184 'packages': [
185 {
186 'package': 'fuchsia/qemu/linux-amd64',
187 'version': '9cc486c5b18a0be515c39a280ca9a309c54cf994'
188 },
189 ],
190 'condition': 'not build_with_chromium and (host_os == "linux" and checkout_fuchsia)',
191 'dep_type': 'cipd',
192 },
193
Jamie Madill8ba50492019-10-10 17:46:54 -0400194 'third_party/qemu-mac-x64': {
Michael Spang229fc832019-01-21 18:09:15 -0500195 'packages': [
196 {
197 'package': 'fuchsia/qemu/mac-amd64',
198 'version': '2d3358ae9a569b2d4a474f498b32b202a152134f'
199 },
200 ],
201 'condition': 'not build_with_chromium and (host_os == "mac" and checkout_fuchsia)',
202 'dep_type': 'cipd',
203 },
204
Jamie Madill8ba50492019-10-10 17:46:54 -0400205 'third_party/rapidjson/src': {
Jamie Madill46d32e02019-02-25 17:13:16 -0500206 'url': '{chromium_git}/external/github.com/Tencent/rapidjson@7484e06c589873e1ed80382d262087e4fa80fb63',
207 },
208
Le Quyena5a04ac2019-10-29 22:57:55 +0800209 'third_party/spirv-cross/src': {
210 'url': '{chromium_git}/external/github.com/KhronosGroup/SPIRV-Cross@{spirv_cross_revision}',
211 'condition': 'not build_with_chromium',
212 },
213
Jamie Madill8ba50492019-10-10 17:46:54 -0400214 'third_party/spirv-headers/src': {
Jamie Madill0cb3b0f2019-01-28 09:55:20 -0500215 'url': '{chromium_git}/external/github.com/KhronosGroup/SPIRV-Headers@{spirv_headers_revision}',
Corentin Walleza883dd02018-08-03 18:11:46 +0200216 'condition': 'not build_with_chromium',
Edward Lemur8ae09b02018-06-01 14:18:28 -0400217 },
Jamie Madill37ee8a62016-12-13 15:18:58 -0500218
Jamie Madill8ba50492019-10-10 17:46:54 -0400219 'third_party/spirv-tools/src': {
Jamie Madill0cb3b0f2019-01-28 09:55:20 -0500220 'url': '{chromium_git}/external/github.com/KhronosGroup/SPIRV-Tools@{spirv_tools_revision}',
Corentin Walleza883dd02018-08-03 18:11:46 +0200221 'condition': 'not build_with_chromium',
Edward Lemur8ae09b02018-06-01 14:18:28 -0400222 },
Jamie Madill37ee8a62016-12-13 15:18:58 -0500223
Jamie Madill8ba50492019-10-10 17:46:54 -0400224 'third_party/SwiftShader': {
angle-autoroll3f539fa2020-08-07 07:01:12 +0000225 'url': '{swiftshader_git}/SwiftShader@59b4828f293eb16f8983ae9ea0a8a0a84cf8174c',
Jamie Madill8be7a4c2019-09-19 12:48:31 -0400226 'condition': 'not build_with_chromium',
227 },
228
Jamie Madill8ba50492019-10-10 17:46:54 -0400229 'third_party/vulkan-headers/src': {
Tobin Ehlisb971f492018-05-24 10:56:17 -0600230 'url': '{chromium_git}/external/github.com/KhronosGroup/Vulkan-Headers@{vulkan_headers_revision}',
231 },
232
Jamie Madill8ba50492019-10-10 17:46:54 -0400233 'third_party/vulkan-loader/src': {
Tobin Ehlisb971f492018-05-24 10:56:17 -0600234 'url': '{chromium_git}/external/github.com/KhronosGroup/Vulkan-Loader@{vulkan_loader_revision}',
235 },
236
Jamie Madill8ba50492019-10-10 17:46:54 -0400237 'third_party/vulkan-tools/src': {
Tobin Ehlisb971f492018-05-24 10:56:17 -0600238 'url': '{chromium_git}/external/github.com/KhronosGroup/Vulkan-Tools@{vulkan_tools_revision}',
239 },
240
Jamie Madill8ba50492019-10-10 17:46:54 -0400241 'third_party/vulkan-validation-layers/src': {
Tobin Ehlisb971f492018-05-24 10:56:17 -0600242 'url': '{chromium_git}/external/github.com/KhronosGroup/Vulkan-ValidationLayers@{vulkan_validation_revision}',
Edward Lemur8ae09b02018-06-01 14:18:28 -0400243 },
Jamie Madill3cd438d2015-03-17 11:25:27 -0400244
Jamie Madill8ba50492019-10-10 17:46:54 -0400245 'third_party/zlib': {
Tim Van Pattenfa105682020-08-04 22:43:43 -0600246 'url': '{chromium_git}/chromium/src/third_party/zlib@7492de9a52f656b070f41968e39a6efa603590d5',
Edward Lemur8ae09b02018-06-01 14:18:28 -0400247 'condition': 'not build_with_chromium',
248 },
Frank Henigmand0ef13a2017-08-28 22:53:24 -0400249
Jamie Madill8ba50492019-10-10 17:46:54 -0400250 'tools/clang': {
Tim Van Pattenfa105682020-08-04 22:43:43 -0600251 'url': '{chromium_git}/chromium/src/tools/clang.git@1078c4141a00d7174786d9d0fae2e7804c2a54e3',
Edward Lemur8ae09b02018-06-01 14:18:28 -0400252 'condition': 'not build_with_chromium',
253 },
Michael Spang229fc832019-01-21 18:09:15 -0500254
Le Hoang Quyencaeb2172019-11-20 22:30:17 +0800255 'tools/clang/dsymutil': {
256 'packages': [
257 {
258 'package': 'chromium/llvm-build-tools/dsymutil',
259 'version': 'M56jPzDv1620Rnm__jTMYS62Zi8rxHVq7yw0qeBFEgkC',
260 }
261 ],
262 'condition': 'checkout_mac and not build_with_chromium',
263 'dep_type': 'cipd',
264 },
265
Jamie Madill8ba50492019-10-10 17:46:54 -0400266 'tools/md_browser': {
Tim Van Pattenfa105682020-08-04 22:43:43 -0600267 'url': '{chromium_git}/chromium/src/tools/md_browser@7e75775447051d4ecb6ab0ca597eda6d809a2963',
Jamie Madill9f958342019-04-08 09:40:40 -0400268 'condition': 'not build_with_chromium',
Michael Spang229fc832019-01-21 18:09:15 -0500269 },
Jamie Madilldf0ce012019-09-05 11:04:39 -0400270
Jamie Madill8ba50492019-10-10 17:46:54 -0400271 'tools/memory': {
Jamie Madilldf0ce012019-09-05 11:04:39 -0400272 'url': '{chromium_git}/chromium/src/tools/memory@89552acb6e60f528fe3c98eac7b445d4c34183ee',
273 'condition': 'not build_with_chromium',
274 },
alokp@chromium.org29d56fb2010-04-06 15:42:22 +0000275}
276
alokp@chromium.org29d56fb2010-04-06 15:42:22 +0000277hooks = [
Jamie Madill2fdd3da2015-07-20 10:14:54 -0400278 # Pull clang-format binaries using checked-in hashes.
279 {
280 'name': 'clang_format_win',
281 'pattern': '.',
Edward Lemur8ae09b02018-06-01 14:18:28 -0400282 'condition': 'host_os == "win" and not build_with_chromium',
Jamie Madill2fdd3da2015-07-20 10:14:54 -0400283 'action': [ 'download_from_google_storage',
284 '--no_resume',
285 '--platform=win32',
286 '--no_auth',
287 '--bucket', 'chromium-clang-format',
Jamie Madill8ba50492019-10-10 17:46:54 -0400288 '-s', 'buildtools/win/clang-format.exe.sha1',
Jamie Madill2fdd3da2015-07-20 10:14:54 -0400289 ],
290 },
291 {
292 'name': 'clang_format_mac',
293 'pattern': '.',
Edward Lemur8ae09b02018-06-01 14:18:28 -0400294 'condition': 'host_os == "mac" and not build_with_chromium',
Jamie Madill2fdd3da2015-07-20 10:14:54 -0400295 'action': [ 'download_from_google_storage',
296 '--no_resume',
297 '--platform=darwin',
298 '--no_auth',
299 '--bucket', 'chromium-clang-format',
Jamie Madill8ba50492019-10-10 17:46:54 -0400300 '-s', 'buildtools/mac/clang-format.sha1',
Jamie Madill2fdd3da2015-07-20 10:14:54 -0400301 ],
302 },
303 {
304 'name': 'clang_format_linux',
305 'pattern': '.',
Edward Lemur8ae09b02018-06-01 14:18:28 -0400306 'condition': 'host_os == "linux" and not build_with_chromium',
Jamie Madill2fdd3da2015-07-20 10:14:54 -0400307 'action': [ 'download_from_google_storage',
308 '--no_resume',
309 '--platform=linux*',
310 '--no_auth',
311 '--bucket', 'chromium-clang-format',
Jamie Madill8ba50492019-10-10 17:46:54 -0400312 '-s', 'buildtools/linux64/clang-format.sha1',
Jamie Madill2fdd3da2015-07-20 10:14:54 -0400313 ],
314 },
Tobin Ehlis9d4277b2018-05-21 16:22:22 -0600315 {
316 'name': 'sysroot_x86',
317 'pattern': '.',
Edward Lemur8ae09b02018-06-01 14:18:28 -0400318 'condition': 'checkout_linux and ((checkout_x86 or 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=x86'],
321 },
322 {
323 'name': 'sysroot_x64',
324 'pattern': '.',
Edward Lemur8ae09b02018-06-01 14:18:28 -0400325 'condition': 'checkout_linux and (checkout_x64 and not build_with_chromium)',
Jamie Madill8ba50492019-10-10 17:46:54 -0400326 'action': ['python', 'build/linux/sysroot_scripts/install-sysroot.py',
Tobin Ehlis9d4277b2018-05-21 16:22:22 -0600327 '--arch=x64'],
328 },
Jamie Madill027717f2018-04-13 15:51:24 -0400329 {
330 # Update the Windows toolchain if necessary. Must run before 'clang' below.
331 'name': 'win_toolchain',
332 'pattern': '.',
Edward Lemur8ae09b02018-06-01 14:18:28 -0400333 'condition': 'checkout_win and not build_with_chromium',
Jamie Madill8ba50492019-10-10 17:46:54 -0400334 'action': ['python', 'build/vs_toolchain.py', 'update', '--force'],
Jamie Madill027717f2018-04-13 15:51:24 -0400335 },
Geoff Lang66ae5312019-04-01 16:35:53 -0400336 {
337 # Update the Mac toolchain if necessary.
338 'name': 'mac_toolchain',
339 'pattern': '.',
340 'condition': 'checkout_mac and not build_with_chromium',
Jamie Madill8ba50492019-10-10 17:46:54 -0400341 'action': ['python', 'build/mac_toolchain.py'],
Geoff Lang66ae5312019-04-01 16:35:53 -0400342 },
Jamie Madill027717f2018-04-13 15:51:24 -0400343
alokp@chromium.org29d56fb2010-04-06 15:42:22 +0000344 {
Frank Henigmand0ef13a2017-08-28 22:53:24 -0400345 # Note: On Win, this should run after win_toolchain, as it may use it.
346 'name': 'clang',
347 'pattern': '.',
Jamie Madill8ba50492019-10-10 17:46:54 -0400348 'action': ['python', 'tools/clang/scripts/update.py'],
Edward Lemur8ae09b02018-06-01 14:18:28 -0400349 'condition': 'not build_with_chromium',
Frank Henigmand0ef13a2017-08-28 22:53:24 -0400350 },
Jamie Madill940c48b2017-10-23 23:25:17 -0400351
Shahbaz Youssefi957e9b82018-10-05 11:00:50 -0400352 {
353 # Update LASTCHANGE.
354 'name': 'lastchange',
355 'pattern': '.',
356 'condition': 'not build_with_chromium',
Jamie Madill8ba50492019-10-10 17:46:54 -0400357 'action': ['python', 'build/util/lastchange.py',
358 '-o', 'build/util/LASTCHANGE'],
Shahbaz Youssefi957e9b82018-10-05 11:00:50 -0400359 },
360
Jamie Madill940c48b2017-10-23 23:25:17 -0400361 # Pull rc binaries using checked-in hashes.
362 {
363 'name': 'rc_win',
364 'pattern': '.',
Edward Lemur8ae09b02018-06-01 14:18:28 -0400365 'condition': 'checkout_win and (host_os == "win" and not build_with_chromium)',
Jamie Madill940c48b2017-10-23 23:25:17 -0400366 'action': [ 'download_from_google_storage',
367 '--no_resume',
368 '--no_auth',
369 '--bucket', 'chromium-browser-clang/rc',
Jamie Madill8ba50492019-10-10 17:46:54 -0400370 '-s', 'build/toolchain/win/rc/win/rc.exe.sha1',
Jamie Madill940c48b2017-10-23 23:25:17 -0400371 ],
372 },
Michael Spang229fc832019-01-21 18:09:15 -0500373
374 {
375 'name': 'fuchsia_sdk',
376 'pattern': '.',
377 'condition': 'checkout_fuchsia and not build_with_chromium',
378 'action': [
379 'python',
Jamie Madill8ba50492019-10-10 17:46:54 -0400380 'build/fuchsia/update_sdk.py',
Michael Spang229fc832019-01-21 18:09:15 -0500381 ],
382 },
Jamie Madilld5ff4fa2019-04-08 09:25:23 -0400383
Shahbaz Youssefi82418c82019-04-05 15:56:03 -0400384 # Download glslang validator binary for Linux.
385 {
386 'name': 'linux_glslang_validator',
387 'pattern': '.',
388 'condition': 'checkout_linux and not build_with_chromium',
389 'action': [ 'download_from_google_storage',
390 '--no_resume',
391 '--platform=linux*',
392 '--no_auth',
393 '--bucket', 'angle-glslang-validator',
Jamie Madill8ba50492019-10-10 17:46:54 -0400394 '-s', 'tools/glslang/glslang_validator.sha1',
Shahbaz Youssefi82418c82019-04-05 15:56:03 -0400395 ],
396 },
397
Jamie Madilld5ff4fa2019-04-08 09:25:23 -0400398 # Download glslang validator binary for Windows.
399 {
400 'name': 'win_glslang_validator',
401 'pattern': '.',
402 'condition': 'checkout_win and not build_with_chromium',
403 'action': [ 'download_from_google_storage',
404 '--no_resume',
405 '--platform=win32*',
406 '--no_auth',
407 '--bucket', 'angle-glslang-validator',
Jamie Madill8ba50492019-10-10 17:46:54 -0400408 '-s', 'tools/glslang/glslang_validator.exe.sha1',
Jamie Madilld5ff4fa2019-04-08 09:25:23 -0400409 ],
410 },
Shahbaz Youssefi5efb36b2019-11-25 16:14:55 -0500411
412 # Download flex/bison binaries for Linux.
413 {
414 'name': 'linux_flex_bison',
415 'pattern': '.',
416 'condition': 'checkout_linux and not build_with_chromium',
417 'action': [ 'download_from_google_storage',
418 '--no_resume',
419 '--platform=linux*',
420 '--no_auth',
421 '--bucket', 'angle-flex-bison',
422 '-d', 'tools/flex-bison/linux/',
423 ],
424 },
425
426 # Download flex/bison binaries for Windows.
427 {
428 'name': 'win_flex_bison',
429 'pattern': '.',
430 'condition': 'checkout_win and not build_with_chromium',
431 'action': [ 'download_from_google_storage',
432 '--no_resume',
433 '--platform=win32*',
434 '--no_auth',
435 '--bucket', 'angle-flex-bison',
436 '-d', 'tools/flex-bison/windows/',
437 ],
438 },
Cody Northrop080d7112020-01-08 13:04:44 -0700439
440 # Download internal captures for perf tests
441 {
442 'name': 'restricted_traces',
443 'pattern': '\\.sha1',
444 'condition': 'checkout_angle_internal',
Courtney Goeltzenleuchtere474cc92020-06-18 16:03:30 -0600445 'action': [ 'python',
446 'src/tests/perf_tests/restricted_traces/download_restricted_traces.py',
Jamie Madillee0498b2020-02-15 09:24:03 -0500447 'src/tests/perf_tests/restricted_traces',
Cody Northrop080d7112020-01-08 13:04:44 -0700448 ]
449 }
alokp@chromium.org29d56fb2010-04-06 15:42:22 +0000450]
Jamie Madill20789312016-10-28 14:05:26 -0400451
452recursedeps = [
453 # buildtools provides clang_format.
Jamie Madill8ba50492019-10-10 17:46:54 -0400454 'buildtools',
Jamie Madill07035682019-10-25 09:00:41 -0400455 'third_party/googletest',
Jamie Madille7c8e802019-10-26 08:16:12 -0400456 'third_party/jsoncpp',
Jamie Madill20789312016-10-28 14:05:26 -0400457]