blob: 62a49e99212406dcc0d41af2fdb3814efe183318 [file] [log] [blame]
Jamie Madill4237e532019-06-28 11:14:31 -04001# This file is used to manage the dependencies of the ANGLE git repo. It is
2# used by gclient to determine what version of each dependency to check out, and
3# where.
4
Jamie Madill8ba50492019-10-10 17:46:54 -04005# Avoids the need for a custom root variable.
6use_relative_paths = True
7use_relative_hooks = True
8
Jamie Madill2fdd3da2015-07-20 10:14:54 -04009vars = {
Jamie Madill37ee8a62016-12-13 15:18:58 -050010 'android_git': 'https://android.googlesource.com',
Jamie Madill2fdd3da2015-07-20 10:14:54 -040011 'chromium_git': 'https://chromium.googlesource.com',
Jamie Madill67a017f2019-10-10 15:27:27 -040012 'chrome_internal_git': 'https://chrome-internal.googlesource.com',
Jamie Madill8be7a4c2019-09-19 12:48:31 -040013 'swiftshader_git': 'https://swiftshader.googlesource.com',
Jamie Madill027717f2018-04-13 15:51:24 -040014
Edward Lemur8ae09b02018-06-01 14:18:28 -040015 # This variable is overrided in Chromium's DEPS file.
16 'build_with_chromium': False,
17
Jamie Madill67a017f2019-10-10 15:27:27 -040018 # Only check out public sources by default. This can be overridden with custom_vars.
Cody Northrop84f45f12019-12-18 14:34:29 -070019 'checkout_angle_internal': False,
Jamie Madill4237e532019-06-28 11:14:31 -040020
Jamie Madill1948af32019-10-11 17:49:24 -040021 # Version of Chromium our Chromium-based DEPS are mirrored from.
Jamie Madillf955fb42020-03-16 16:36:55 -040022 'chromium_revision': 'fa9d5805c421133e9d13cf698c4502d13398b2ce',
Jamie Madill1948af32019-10-11 17:49:24 -040023
Courtney Goeltzenleuchterfebdcf52019-10-28 10:54:03 -060024 # Current revision of VK-GL-CTS (a.k.a dEQP).
Courtney Goeltzenleuchter92b00ca2020-02-10 11:07:23 -070025 'vk_gl_cts_revision': 'a6b249819f7177821d4b7eefff36af07fef71825',
Edward Lemur8ae09b02018-06-01 14:18:28 -040026
27 # Current revision of glslang, the Khronos SPIRV compiler.
angle-autoroll46daa962020-04-22 07:01:31 +000028 'glslang_revision': 'c9b28b9f3388c607ea5506f5e6197b7150238ad3',
Edward Lemur8ae09b02018-06-01 14:18:28 -040029
Jamie Madill07035682019-10-25 09:00:41 -040030 # Current revision of googletest.
31 # Note: this dep cannot be auto-rolled b/c of nesting.
32 'googletest_revision': 'f2fb48c3b3d79a75a88a99fba6576b25d42ec528',
33
Jamie Madille7c8e802019-10-26 08:16:12 -040034 # Current revision of jsoncpp.
35 # Note: this dep cannot be auto-rolled b/c of nesting.
36 'jsoncpp_revision': '645250b6690785be60ab6780ce4b58698d884d11',
37
38 # Current revision of patched-yasm.
39 # Note: this dep cannot be auto-rolled b/c of nesting.
40 'patched_yasm_revision': '720b70524a4424b15fc57e82263568c8ba0496ad',
41
Le Quyena5a04ac2019-10-29 22:57:55 +080042 # Current revision of spirv-cross, the Khronos SPIRV cross compiler.
Le Hoang Quyen5245de82019-11-20 01:04:00 +080043 'spirv_cross_revision': 'fd5aa3ad51ece55a1b51fe6bfb271db6844ae291',
Le Quyena5a04ac2019-10-29 22:57:55 +080044
Edward Lemur8ae09b02018-06-01 14:18:28 -040045 # Current revision fo the SPIRV-Headers Vulkan support library.
angle-autorollbff3b202020-03-19 07:01:16 +000046 'spirv_headers_revision': 'f8bf11a0253a32375c32cad92c841237b96696c0',
Edward Lemur8ae09b02018-06-01 14:18:28 -040047
48 # Current revision of SPIRV-Tools for Vulkan.
angle-autoroll898c2142020-04-21 07:01:37 +000049 'spirv_tools_revision': '67f4838659f475d618c120e13d1a196d7e00ba4b',
Edward Lemur8ae09b02018-06-01 14:18:28 -040050
Tobin Ehlisb971f492018-05-24 10:56:17 -060051 # Current revision of Khronos Vulkan-Headers.
angle-autoroll94b50332020-04-17 07:02:12 +000052 'vulkan_headers_revision': '382bf3de06fc8c8961055afc37957fe65846c33b',
Tobin Ehlisb971f492018-05-24 10:56:17 -060053
54 # Current revision of Khronos Vulkan-Loader.
angle-autoroll4a1d9222020-04-21 07:01:30 +000055 'vulkan_loader_revision': '4fb0e0374a3912263606d9ed0243bbef22e23597',
Tobin Ehlisb971f492018-05-24 10:56:17 -060056
57 # Current revision of Khronos Vulkan-Tools.
angle-autorolla6aad7f2020-04-21 07:01:30 +000058 'vulkan_tools_revision': '84463fe2902f4b50b54abe053684e6fcb7a60c4f',
Tobin Ehlisb971f492018-05-24 10:56:17 -060059
60 # Current revision of Khronos Vulkan-ValidationLayers.
angle-autoroll183c5552020-04-22 07:01:21 +000061 'vulkan_validation_revision': '36d7cca6fdc9ed86b01208bfb13721fdffb30af1',
Geoff Lang6e687af2019-10-17 14:36:41 -040062
63 # Three lines of non-changing comments so that
64 # the commit queue can handle CLs rolling catapult
65 # and whatever else without interference from each other.
66 'catapult_revision': '1b3fb455bf1849f1e6187e1eaeaef32b9f30d3c5',
Jamie Madill2fdd3da2015-07-20 10:14:54 -040067}
68
alokp@chromium.org29d56fb2010-04-06 15:42:22 +000069deps = {
alokp@chromium.org416fcd32012-04-11 16:23:44 +000070
Jamie Madill8ba50492019-10-10 17:46:54 -040071 'build': {
Jamie Madillf955fb42020-03-16 16:36:55 -040072 'url': '{chromium_git}/chromium/src/build.git@a1cbf6469a5400f2b455ffba2e95ea47a1b47c94',
Edward Lemur8ae09b02018-06-01 14:18:28 -040073 'condition': 'not build_with_chromium',
74 },
Frank Henigmand0ef13a2017-08-28 22:53:24 -040075
Jamie Madill8ba50492019-10-10 17:46:54 -040076 'buildtools': {
Jamie Madillf955fb42020-03-16 16:36:55 -040077 'url': '{chromium_git}/chromium/src/buildtools.git@4164a305626786b1912d467003acf4c4995bec7d',
Edward Lemur8ae09b02018-06-01 14:18:28 -040078 'condition': 'not build_with_chromium',
79 },
Frank Henigmand0ef13a2017-08-28 22:53:24 -040080
Jamie Madill8ba50492019-10-10 17:46:54 -040081 'testing': {
Jamie Madillf955fb42020-03-16 16:36:55 -040082 'url': '{chromium_git}/chromium/src/testing@3e21eec53c1688302ebc26e975d0163256bd1a15',
Edward Lemur8ae09b02018-06-01 14:18:28 -040083 'condition': 'not build_with_chromium',
84 },
alokp@chromium.org5cd9c602012-05-16 23:37:50 +000085
Courtney Goeltzenleuchterfebdcf52019-10-28 10:54:03 -060086 # 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 -040087 'third_party/cherry': {
Edward Lemur8ae09b02018-06-01 14:18:28 -040088 'url': '{android_git}/platform/external/cherry@4f8fb08d33ca5ff05a1c638f04c85bbb8d8b52cc',
89 'condition': 'not build_with_chromium',
90 },
Jamie Madill9e76f562015-10-02 08:57:14 -040091
Jamie Madill76d52be2020-04-07 09:14:29 -040092 'third_party/VulkanMemoryAllocator': {
93 'url': '{chromium_git}/external/github.com/GPUOpen-LibrariesAndSDKs/VulkanMemoryAllocator@ec44c3121c73ae243fe59acfcc0ce1ba19e43947',
94 },
95
Courtney Goeltzenleuchterfebdcf52019-10-28 10:54:03 -060096 'third_party/VK-GL-CTS/src': {
97 'url': '{chromium_git}/external/github.com/KhronosGroup/VK-GL-CTS@{vk_gl_cts_revision}',
Edward Lemur8ae09b02018-06-01 14:18:28 -040098 },
Jamie Madill37ee8a62016-12-13 15:18:58 -050099
Jamie Madill8ba50492019-10-10 17:46:54 -0400100 'third_party/fuchsia-sdk': {
Jamie Madill130fdbc2019-10-10 19:13:07 -0400101 'url': '{chromium_git}/chromium/src/third_party/fuchsia-sdk.git@1785f0ac8e1fe81cb25e260acbe7de8f62fa3e44',
Jamie Madill9f958342019-04-08 09:40:40 -0400102 'condition': 'checkout_fuchsia and not build_with_chromium',
103 },
104
Jamie Madill67a017f2019-10-10 15:27:27 -0400105 # Closed-source OpenGL ES 1.1 Conformance tests.
Jamie Madill8ba50492019-10-10 17:46:54 -0400106 'third_party/gles1_conform': {
Jamie Madill67a017f2019-10-10 15:27:27 -0400107 'url': '{chrome_internal_git}/angle/es-cts.git@dc9f502f709c9cd88d7f8d3974f1c77aa246958e',
Cody Northrop84f45f12019-12-18 14:34:29 -0700108 'condition': 'checkout_angle_internal',
Jamie Madill67a017f2019-10-10 15:27:27 -0400109 },
110
Jamie Madill55959b02019-03-05 10:07:41 -0500111 # glmark2 is a GPL3-licensed OpenGL ES 2.0 benchmark. We use it for testing.
Jamie Madill8ba50492019-10-10 17:46:54 -0400112 'third_party/glmark2/src': {
Jamie Madill2971fd32019-08-12 16:53:21 -0400113 'url': '{chromium_git}/external/github.com/glmark2/glmark2@9e01aef1a786b28aca73135a5b00f85c357e8f5e',
Jamie Madill55959b02019-03-05 10:07:41 -0500114 },
115
Jamie Madill8ba50492019-10-10 17:46:54 -0400116 'third_party/glslang/src': {
Tobin Ehlis317a9eb2018-11-29 12:51:46 -0700117 'url': '{chromium_git}/external/github.com/KhronosGroup/glslang@{glslang_revision}',
Jamie Madill0cb3b0f2019-01-28 09:55:20 -0500118 'condition': 'not build_with_chromium',
Jamie Madill55959b02019-03-05 10:07:41 -0500119 },
Jamie Madill37ee8a62016-12-13 15:18:58 -0500120
Jamie Madill8ba50492019-10-10 17:46:54 -0400121 'third_party/googletest': {
Jamie Madillf955fb42020-03-16 16:36:55 -0400122 'url': '{chromium_git}/chromium/src/third_party/googletest@c96dc321101e7c9f5ba16d957afd49ee4db30548',
Jamie Madillcf9b2852019-02-13 09:15:26 -0500123 'condition': 'not build_with_chromium',
124 },
125
Jamie Madill55959b02019-03-05 10:07:41 -0500126 # libjpeg_turbo is used by glmark2.
Jamie Madill8ba50492019-10-10 17:46:54 -0400127 'third_party/libjpeg_turbo': {
Yuly Novikovc8e486b2020-01-30 13:23:42 -0500128 'url': '{chromium_git}/chromium/deps/libjpeg_turbo.git@ce0e57e8e636f5132fe6f0590a4dba91f92fd935',
Jamie Madill55959b02019-03-05 10:07:41 -0500129 'condition': 'not build_with_chromium',
130 },
131
Jamie Madill8ba50492019-10-10 17:46:54 -0400132 'third_party/libpng/src': {
Edward Lemur8ae09b02018-06-01 14:18:28 -0400133 'url': '{android_git}/platform/external/libpng@094e181e79a3d6c23fd005679025058b7df1ad6c',
134 'condition': 'not build_with_chromium',
135 },
Jamie Madill37ee8a62016-12-13 15:18:58 -0500136
Jamie Madill8ba50492019-10-10 17:46:54 -0400137 'third_party/jsoncpp': {
Yuly Novikovc8e486b2020-01-30 13:23:42 -0500138 'url': '{chromium_git}/chromium/src/third_party/jsoncpp@493c9385c91023c3819b51ee0de552d52229a1e5',
Jamie Madill0cb3b0f2019-01-28 09:55:20 -0500139 'condition': 'not build_with_chromium',
140 },
Tobin Ehlis5fdc38c2018-08-28 09:20:57 -0600141
Jamie Madill8ba50492019-10-10 17:46:54 -0400142 'third_party/Python-Markdown': {
Robert Iannuccida8dad12019-08-08 19:40:48 -0700143 'url': '{chromium_git}/chromium/src/third_party/Python-Markdown@36657c103ce5964733bbbb29377085e9cc1a9472',
Jamie Madill9f958342019-04-08 09:40:40 -0400144 'condition': 'not build_with_chromium',
145 },
146
Jamie Madill8ba50492019-10-10 17:46:54 -0400147 'third_party/qemu-linux-x64': {
Michael Spang229fc832019-01-21 18:09:15 -0500148 'packages': [
149 {
150 'package': 'fuchsia/qemu/linux-amd64',
151 'version': '9cc486c5b18a0be515c39a280ca9a309c54cf994'
152 },
153 ],
154 'condition': 'not build_with_chromium and (host_os == "linux" and checkout_fuchsia)',
155 'dep_type': 'cipd',
156 },
157
Jamie Madill8ba50492019-10-10 17:46:54 -0400158 'third_party/qemu-mac-x64': {
Michael Spang229fc832019-01-21 18:09:15 -0500159 'packages': [
160 {
161 'package': 'fuchsia/qemu/mac-amd64',
162 'version': '2d3358ae9a569b2d4a474f498b32b202a152134f'
163 },
164 ],
165 'condition': 'not build_with_chromium and (host_os == "mac" and checkout_fuchsia)',
166 'dep_type': 'cipd',
167 },
168
Jamie Madill8ba50492019-10-10 17:46:54 -0400169 'third_party/rapidjson/src': {
Jamie Madill46d32e02019-02-25 17:13:16 -0500170 'url': '{chromium_git}/external/github.com/Tencent/rapidjson@7484e06c589873e1ed80382d262087e4fa80fb63',
171 },
172
Le Quyena5a04ac2019-10-29 22:57:55 +0800173 'third_party/spirv-cross/src': {
174 'url': '{chromium_git}/external/github.com/KhronosGroup/SPIRV-Cross@{spirv_cross_revision}',
175 'condition': 'not build_with_chromium',
176 },
177
Jamie Madill8ba50492019-10-10 17:46:54 -0400178 'third_party/spirv-headers/src': {
Jamie Madill0cb3b0f2019-01-28 09:55:20 -0500179 'url': '{chromium_git}/external/github.com/KhronosGroup/SPIRV-Headers@{spirv_headers_revision}',
Corentin Walleza883dd02018-08-03 18:11:46 +0200180 'condition': 'not build_with_chromium',
Edward Lemur8ae09b02018-06-01 14:18:28 -0400181 },
Jamie Madill37ee8a62016-12-13 15:18:58 -0500182
Jamie Madill8ba50492019-10-10 17:46:54 -0400183 'third_party/spirv-tools/src': {
Jamie Madill0cb3b0f2019-01-28 09:55:20 -0500184 'url': '{chromium_git}/external/github.com/KhronosGroup/SPIRV-Tools@{spirv_tools_revision}',
Corentin Walleza883dd02018-08-03 18:11:46 +0200185 'condition': 'not build_with_chromium',
Edward Lemur8ae09b02018-06-01 14:18:28 -0400186 },
Jamie Madill37ee8a62016-12-13 15:18:58 -0500187
Jamie Madill8ba50492019-10-10 17:46:54 -0400188 'third_party/SwiftShader': {
angle-autoroll2694e7e2020-04-22 07:01:24 +0000189 'url': '{swiftshader_git}/SwiftShader@ceb6258ae1016ebaffb7036561e0cba14c8cc2a7',
Jamie Madill8be7a4c2019-09-19 12:48:31 -0400190 'condition': 'not build_with_chromium',
191 },
192
Jamie Madill8ba50492019-10-10 17:46:54 -0400193 'third_party/vulkan-headers/src': {
Tobin Ehlisb971f492018-05-24 10:56:17 -0600194 'url': '{chromium_git}/external/github.com/KhronosGroup/Vulkan-Headers@{vulkan_headers_revision}',
195 },
196
Jamie Madill8ba50492019-10-10 17:46:54 -0400197 'third_party/vulkan-loader/src': {
Tobin Ehlisb971f492018-05-24 10:56:17 -0600198 'url': '{chromium_git}/external/github.com/KhronosGroup/Vulkan-Loader@{vulkan_loader_revision}',
199 },
200
Jamie Madill8ba50492019-10-10 17:46:54 -0400201 'third_party/vulkan-tools/src': {
Tobin Ehlisb971f492018-05-24 10:56:17 -0600202 'url': '{chromium_git}/external/github.com/KhronosGroup/Vulkan-Tools@{vulkan_tools_revision}',
203 },
204
Jamie Madill8ba50492019-10-10 17:46:54 -0400205 'third_party/vulkan-validation-layers/src': {
Tobin Ehlisb971f492018-05-24 10:56:17 -0600206 'url': '{chromium_git}/external/github.com/KhronosGroup/Vulkan-ValidationLayers@{vulkan_validation_revision}',
Edward Lemur8ae09b02018-06-01 14:18:28 -0400207 },
Jamie Madill3cd438d2015-03-17 11:25:27 -0400208
Jamie Madill8ba50492019-10-10 17:46:54 -0400209 'third_party/yasm': {
Michael Spang042fe722020-02-21 17:03:11 -0500210 'url': '{chromium_git}/chromium/src/third_party/yasm@8e4e548d0b199df58740336024c1b3baf7c0abd7',
Jamie Madill55959b02019-03-05 10:07:41 -0500211 'condition': 'not build_with_chromium',
212 },
213
Jamie Madill8ba50492019-10-10 17:46:54 -0400214 'third_party/zlib': {
Jamie Madilla8acd772020-03-16 22:28:50 -0400215 'url': '{chromium_git}/chromium/src/third_party/zlib@156be8c52f80cde343088b4a69a80579101b6e67',
Edward Lemur8ae09b02018-06-01 14:18:28 -0400216 'condition': 'not build_with_chromium',
217 },
Frank Henigmand0ef13a2017-08-28 22:53:24 -0400218
Jamie Madill8ba50492019-10-10 17:46:54 -0400219 'tools/clang': {
Jamie Madillf955fb42020-03-16 16:36:55 -0400220 'url': '{chromium_git}/chromium/src/tools/clang.git@d60a6a8084300eb8de99e56b559369dcde4cffa4',
Edward Lemur8ae09b02018-06-01 14:18:28 -0400221 'condition': 'not build_with_chromium',
222 },
Michael Spang229fc832019-01-21 18:09:15 -0500223
Le Hoang Quyencaeb2172019-11-20 22:30:17 +0800224 'tools/clang/dsymutil': {
225 'packages': [
226 {
227 'package': 'chromium/llvm-build-tools/dsymutil',
228 'version': 'M56jPzDv1620Rnm__jTMYS62Zi8rxHVq7yw0qeBFEgkC',
229 }
230 ],
231 'condition': 'checkout_mac and not build_with_chromium',
232 'dep_type': 'cipd',
233 },
234
Jamie Madill8ba50492019-10-10 17:46:54 -0400235 'tools/md_browser': {
Robert Iannuccida8dad12019-08-08 19:40:48 -0700236 'url': '{chromium_git}/chromium/src/tools/md_browser@0bfd826f8566a99923e64a782908faca72bc457c',
Jamie Madill9f958342019-04-08 09:40:40 -0400237 'condition': 'not build_with_chromium',
Michael Spang229fc832019-01-21 18:09:15 -0500238 },
Jamie Madilldf0ce012019-09-05 11:04:39 -0400239
Jamie Madill8ba50492019-10-10 17:46:54 -0400240 'tools/memory': {
Jamie Madilldf0ce012019-09-05 11:04:39 -0400241 'url': '{chromium_git}/chromium/src/tools/memory@89552acb6e60f528fe3c98eac7b445d4c34183ee',
242 'condition': 'not build_with_chromium',
243 },
Geoff Lang6e687af2019-10-17 14:36:41 -0400244
245 'third_party/catapult': {
246 'url': '{chromium_git}/catapult.git@{catapult_revision}',
247 'condition': 'not build_with_chromium',
248 },
249
250 'third_party/android_ndk': {
Jamie Madill1898c082019-11-21 06:37:39 -0500251 'url': '{chromium_git}/android_ndk.git@27c0a8d090c666a50e40fceb4ee5b40b1a2d3f87',
Geoff Lang6e687af2019-10-17 14:36:41 -0400252 'condition': 'not build_with_chromium',
253 },
alokp@chromium.org29d56fb2010-04-06 15:42:22 +0000254}
255
alokp@chromium.org29d56fb2010-04-06 15:42:22 +0000256hooks = [
Jamie Madill2fdd3da2015-07-20 10:14:54 -0400257 # Pull clang-format binaries using checked-in hashes.
258 {
259 'name': 'clang_format_win',
260 'pattern': '.',
Edward Lemur8ae09b02018-06-01 14:18:28 -0400261 'condition': 'host_os == "win" and not build_with_chromium',
Jamie Madill2fdd3da2015-07-20 10:14:54 -0400262 'action': [ 'download_from_google_storage',
263 '--no_resume',
264 '--platform=win32',
265 '--no_auth',
266 '--bucket', 'chromium-clang-format',
Jamie Madill8ba50492019-10-10 17:46:54 -0400267 '-s', 'buildtools/win/clang-format.exe.sha1',
Jamie Madill2fdd3da2015-07-20 10:14:54 -0400268 ],
269 },
270 {
271 'name': 'clang_format_mac',
272 'pattern': '.',
Edward Lemur8ae09b02018-06-01 14:18:28 -0400273 'condition': 'host_os == "mac" and not build_with_chromium',
Jamie Madill2fdd3da2015-07-20 10:14:54 -0400274 'action': [ 'download_from_google_storage',
275 '--no_resume',
276 '--platform=darwin',
277 '--no_auth',
278 '--bucket', 'chromium-clang-format',
Jamie Madill8ba50492019-10-10 17:46:54 -0400279 '-s', 'buildtools/mac/clang-format.sha1',
Jamie Madill2fdd3da2015-07-20 10:14:54 -0400280 ],
281 },
282 {
283 'name': 'clang_format_linux',
284 'pattern': '.',
Edward Lemur8ae09b02018-06-01 14:18:28 -0400285 'condition': 'host_os == "linux" and not build_with_chromium',
Jamie Madill2fdd3da2015-07-20 10:14:54 -0400286 'action': [ 'download_from_google_storage',
287 '--no_resume',
288 '--platform=linux*',
289 '--no_auth',
290 '--bucket', 'chromium-clang-format',
Jamie Madill8ba50492019-10-10 17:46:54 -0400291 '-s', 'buildtools/linux64/clang-format.sha1',
Jamie Madill2fdd3da2015-07-20 10:14:54 -0400292 ],
293 },
Tobin Ehlis9d4277b2018-05-21 16:22:22 -0600294 {
295 'name': 'sysroot_x86',
296 'pattern': '.',
Edward Lemur8ae09b02018-06-01 14:18:28 -0400297 'condition': 'checkout_linux and ((checkout_x86 or checkout_x64) and not build_with_chromium)',
Jamie Madill8ba50492019-10-10 17:46:54 -0400298 'action': ['python', 'build/linux/sysroot_scripts/install-sysroot.py',
Tobin Ehlis9d4277b2018-05-21 16:22:22 -0600299 '--arch=x86'],
300 },
301 {
302 'name': 'sysroot_x64',
303 'pattern': '.',
Edward Lemur8ae09b02018-06-01 14:18:28 -0400304 'condition': 'checkout_linux and (checkout_x64 and not build_with_chromium)',
Jamie Madill8ba50492019-10-10 17:46:54 -0400305 'action': ['python', 'build/linux/sysroot_scripts/install-sysroot.py',
Tobin Ehlis9d4277b2018-05-21 16:22:22 -0600306 '--arch=x64'],
307 },
Jamie Madill027717f2018-04-13 15:51:24 -0400308 {
309 # Update the Windows toolchain if necessary. Must run before 'clang' below.
310 'name': 'win_toolchain',
311 'pattern': '.',
Edward Lemur8ae09b02018-06-01 14:18:28 -0400312 'condition': 'checkout_win and not build_with_chromium',
Jamie Madill8ba50492019-10-10 17:46:54 -0400313 'action': ['python', 'build/vs_toolchain.py', 'update', '--force'],
Jamie Madill027717f2018-04-13 15:51:24 -0400314 },
Geoff Lang66ae5312019-04-01 16:35:53 -0400315 {
316 # Update the Mac toolchain if necessary.
317 'name': 'mac_toolchain',
318 'pattern': '.',
319 'condition': 'checkout_mac and not build_with_chromium',
Jamie Madill8ba50492019-10-10 17:46:54 -0400320 'action': ['python', 'build/mac_toolchain.py'],
Geoff Lang66ae5312019-04-01 16:35:53 -0400321 },
Jamie Madill027717f2018-04-13 15:51:24 -0400322
alokp@chromium.org29d56fb2010-04-06 15:42:22 +0000323 {
Frank Henigmand0ef13a2017-08-28 22:53:24 -0400324 # Note: On Win, this should run after win_toolchain, as it may use it.
325 'name': 'clang',
326 'pattern': '.',
Jamie Madill8ba50492019-10-10 17:46:54 -0400327 'action': ['python', 'tools/clang/scripts/update.py'],
Edward Lemur8ae09b02018-06-01 14:18:28 -0400328 'condition': 'not build_with_chromium',
Frank Henigmand0ef13a2017-08-28 22:53:24 -0400329 },
Jamie Madill940c48b2017-10-23 23:25:17 -0400330
Shahbaz Youssefi957e9b82018-10-05 11:00:50 -0400331 {
332 # Update LASTCHANGE.
333 'name': 'lastchange',
334 'pattern': '.',
335 'condition': 'not build_with_chromium',
Jamie Madill8ba50492019-10-10 17:46:54 -0400336 'action': ['python', 'build/util/lastchange.py',
337 '-o', 'build/util/LASTCHANGE'],
Shahbaz Youssefi957e9b82018-10-05 11:00:50 -0400338 },
339
Jamie Madill940c48b2017-10-23 23:25:17 -0400340 # Pull rc binaries using checked-in hashes.
341 {
342 'name': 'rc_win',
343 'pattern': '.',
Edward Lemur8ae09b02018-06-01 14:18:28 -0400344 'condition': 'checkout_win and (host_os == "win" and not build_with_chromium)',
Jamie Madill940c48b2017-10-23 23:25:17 -0400345 'action': [ 'download_from_google_storage',
346 '--no_resume',
347 '--no_auth',
348 '--bucket', 'chromium-browser-clang/rc',
Jamie Madill8ba50492019-10-10 17:46:54 -0400349 '-s', 'build/toolchain/win/rc/win/rc.exe.sha1',
Jamie Madill940c48b2017-10-23 23:25:17 -0400350 ],
351 },
Michael Spang229fc832019-01-21 18:09:15 -0500352
353 {
354 'name': 'fuchsia_sdk',
355 'pattern': '.',
356 'condition': 'checkout_fuchsia and not build_with_chromium',
357 'action': [
358 'python',
Jamie Madill8ba50492019-10-10 17:46:54 -0400359 'build/fuchsia/update_sdk.py',
Michael Spang229fc832019-01-21 18:09:15 -0500360 ],
361 },
Jamie Madilld5ff4fa2019-04-08 09:25:23 -0400362
Shahbaz Youssefi82418c82019-04-05 15:56:03 -0400363 # Download glslang validator binary for Linux.
364 {
365 'name': 'linux_glslang_validator',
366 'pattern': '.',
367 'condition': 'checkout_linux and not build_with_chromium',
368 'action': [ 'download_from_google_storage',
369 '--no_resume',
370 '--platform=linux*',
371 '--no_auth',
372 '--bucket', 'angle-glslang-validator',
Jamie Madill8ba50492019-10-10 17:46:54 -0400373 '-s', 'tools/glslang/glslang_validator.sha1',
Shahbaz Youssefi82418c82019-04-05 15:56:03 -0400374 ],
375 },
376
Jamie Madilld5ff4fa2019-04-08 09:25:23 -0400377 # Download glslang validator binary for Windows.
378 {
379 'name': 'win_glslang_validator',
380 'pattern': '.',
381 'condition': 'checkout_win and not build_with_chromium',
382 'action': [ 'download_from_google_storage',
383 '--no_resume',
384 '--platform=win32*',
385 '--no_auth',
386 '--bucket', 'angle-glslang-validator',
Jamie Madill8ba50492019-10-10 17:46:54 -0400387 '-s', 'tools/glslang/glslang_validator.exe.sha1',
Jamie Madilld5ff4fa2019-04-08 09:25:23 -0400388 ],
389 },
Shahbaz Youssefi5efb36b2019-11-25 16:14:55 -0500390
391 # Download flex/bison binaries for Linux.
392 {
393 'name': 'linux_flex_bison',
394 'pattern': '.',
395 'condition': 'checkout_linux and not build_with_chromium',
396 'action': [ 'download_from_google_storage',
397 '--no_resume',
398 '--platform=linux*',
399 '--no_auth',
400 '--bucket', 'angle-flex-bison',
401 '-d', 'tools/flex-bison/linux/',
402 ],
403 },
404
405 # Download flex/bison binaries for Windows.
406 {
407 'name': 'win_flex_bison',
408 'pattern': '.',
409 'condition': 'checkout_win and not build_with_chromium',
410 'action': [ 'download_from_google_storage',
411 '--no_resume',
412 '--platform=win32*',
413 '--no_auth',
414 '--bucket', 'angle-flex-bison',
415 '-d', 'tools/flex-bison/windows/',
416 ],
417 },
Cody Northrop080d7112020-01-08 13:04:44 -0700418
419 # Download internal captures for perf tests
420 {
421 'name': 'restricted_traces',
422 'pattern': '\\.sha1',
423 'condition': 'checkout_angle_internal',
424 'action': [ 'download_from_google_storage',
425 '--directory',
426 '--recursive',
427 '--extract',
428 '--bucket', 'chrome-angle-capture-binaries',
Jamie Madillee0498b2020-02-15 09:24:03 -0500429 'src/tests/perf_tests/restricted_traces',
Cody Northrop080d7112020-01-08 13:04:44 -0700430 ]
431 }
alokp@chromium.org29d56fb2010-04-06 15:42:22 +0000432]
Jamie Madill20789312016-10-28 14:05:26 -0400433
434recursedeps = [
435 # buildtools provides clang_format.
Jamie Madill8ba50492019-10-10 17:46:54 -0400436 'buildtools',
Jamie Madill07035682019-10-25 09:00:41 -0400437 'third_party/googletest',
Jamie Madille7c8e802019-10-26 08:16:12 -0400438 'third_party/jsoncpp',
439 'third_party/yasm',
Jamie Madill20789312016-10-28 14:05:26 -0400440]