blob: 590cae32c624eb233e8933d6935ed236c03e0d62 [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.
Yuly Novikov7d38b0b2020-08-19 17:33:31 -040044 'googletest_revision': '4fe018038f87675c083d0cfb6a6b57c274fb1753',
45
46 # Current revision of Chrome's third_party googletest directory. This
47 # repository is mirrored as a separate repository, with separate git hashes
48 # that don't match the external googletest repository or Chrome. Mirrored
49 # patches will have a different git hash associated with them.
50 # To roll, first get the new hash for chromium_googletest_revision from the
51 # mirror of third_party/googletest located here:
52 # https://chromium.googlesource.com/chromium/src/third_party/googletest/
53 # Then get the new hash for googletest_revision from the root Chrome DEPS
54 # file: https://source.chromium.org/chromium/chromium/src/+/master:DEPS
55 'chromium_googletest_revision': 'c20c5a3085ab4d90fdb403e3ac98e7991317dd27',
Jamie Madill07035682019-10-25 09:00:41 -040056
Jamie Madille7c8e802019-10-26 08:16:12 -040057 # Current revision of jsoncpp.
58 # Note: this dep cannot be auto-rolled b/c of nesting.
59 'jsoncpp_revision': '645250b6690785be60ab6780ce4b58698d884d11',
60
Jordan Bayles1265dbe2020-06-24 15:12:17 -070061 # Current revision of Chrome's third_party jsoncpp directory. This repository
62 # is mirrored as a separate repository, with separate git hashes that
63 # don't match the external JsonCpp repository or Chrome. Mirrored patches
64 # will have a different git hash associated with them.
65 # To roll, first get the new hash for chromium_jsoncpp_revision from the
66 # mirror of third_party/jsoncpp located here:
67 # https://chromium.googlesource.com/chromium/src/third_party/jsoncpp/
68 # Then get the new hash for jsoncpp_revision from the root Chrome DEPS file:
69 # https://source.chromium.org/chromium/chromium/src/+/master:DEPS
Yuly Novikov7d38b0b2020-08-19 17:33:31 -040070 'chromium_jsoncpp_revision': '30a6ac108e24dabac7c2e0df4d33d55032af4ee7',
Jordan Bayles1265dbe2020-06-24 15:12:17 -070071
Jamie Madille7c8e802019-10-26 08:16:12 -040072 # Current revision of patched-yasm.
73 # Note: this dep cannot be auto-rolled b/c of nesting.
74 'patched_yasm_revision': '720b70524a4424b15fc57e82263568c8ba0496ad',
75
Le Quyena5a04ac2019-10-29 22:57:55 +080076 # Current revision of spirv-cross, the Khronos SPIRV cross compiler.
Le Hoang Quyenbcf99572020-05-11 00:50:00 +080077 'spirv_cross_revision': 'f38cbeb814c73510b85697adbe5e894f9eac978f',
Le Quyena5a04ac2019-10-29 22:57:55 +080078
Edward Lemur8ae09b02018-06-01 14:18:28 -040079 # Current revision fo the SPIRV-Headers Vulkan support library.
angle-autorolld57f0432020-08-11 07:01:30 +000080 'spirv_headers_revision': '3fdabd0da2932c276b25b9b4a988ba134eba1aa6',
Edward Lemur8ae09b02018-06-01 14:18:28 -040081
82 # Current revision of SPIRV-Tools for Vulkan.
angle-autoroll9e17cab2020-08-19 07:01:53 +000083 'spirv_tools_revision': '3434cb0b006d973b18f5abcdbf3ff17488c6a825',
Edward Lemur8ae09b02018-06-01 14:18:28 -040084
Tobin Ehlisb971f492018-05-24 10:56:17 -060085 # Current revision of Khronos Vulkan-Headers.
angle-autoroll0d421b62020-08-18 07:01:50 +000086 'vulkan_headers_revision': '834673eaa34a04669eedea764e88d881338243a2',
Tobin Ehlisb971f492018-05-24 10:56:17 -060087
88 # Current revision of Khronos Vulkan-Loader.
angle-autoroll4bf2e252020-08-18 07:01:09 +000089 'vulkan_loader_revision': '30b3f3857835cadb16d4f893de35caf313cf6947',
Tobin Ehlisb971f492018-05-24 10:56:17 -060090
91 # Current revision of Khronos Vulkan-Tools.
angle-autoroll6133bb42020-08-19 07:01:25 +000092 'vulkan_tools_revision': 'eceb318c06a291e678d1eef96c6bfd6f2710df21',
Tobin Ehlisb971f492018-05-24 10:56:17 -060093
94 # Current revision of Khronos Vulkan-ValidationLayers.
angle-autorolle16e2cf2020-08-19 07:01:36 +000095 'vulkan_validation_revision': 'c97acd1d3e07757d0269e59f7610670169728c5f',
Geoff Lang6e687af2019-10-17 14:36:41 -040096
97 # Three lines of non-changing comments so that
98 # the commit queue can handle CLs rolling catapult
99 # and whatever else without interference from each other.
100 'catapult_revision': '1b3fb455bf1849f1e6187e1eaeaef32b9f30d3c5',
Jamie Madill2fdd3da2015-07-20 10:14:54 -0400101}
102
alokp@chromium.org29d56fb2010-04-06 15:42:22 +0000103deps = {
alokp@chromium.org416fcd32012-04-11 16:23:44 +0000104
Jamie Madill8ba50492019-10-10 17:46:54 -0400105 'build': {
Yuly Novikov23335ac2020-08-10 22:27:41 -0400106 'url': '{chromium_git}/chromium/src/build.git@113076662015f18c72ca5cb5b03517fdf2e7d2a6',
Edward Lemur8ae09b02018-06-01 14:18:28 -0400107 'condition': 'not build_with_chromium',
108 },
Frank Henigmand0ef13a2017-08-28 22:53:24 -0400109
Jamie Madill8ba50492019-10-10 17:46:54 -0400110 'buildtools': {
Yuly Novikov23335ac2020-08-10 22:27:41 -0400111 'url': '{chromium_git}/chromium/src/buildtools.git@b00ad0af636401e5eb4b5d0ab01b65164dca1914',
Edward Lemur8ae09b02018-06-01 14:18:28 -0400112 'condition': 'not build_with_chromium',
113 },
Frank Henigmand0ef13a2017-08-28 22:53:24 -0400114
Jamie Madill8ba50492019-10-10 17:46:54 -0400115 'testing': {
Yuly Novikov23335ac2020-08-10 22:27:41 -0400116 'url': '{chromium_git}/chromium/src/testing@e227df9cd519af4dcd720c3fb8341060408fdbf4',
Edward Lemur8ae09b02018-06-01 14:18:28 -0400117 'condition': 'not build_with_chromium',
118 },
alokp@chromium.org5cd9c602012-05-16 23:37:50 +0000119
Jamie Madill23211582020-07-21 10:08:03 -0400120 'third_party/android_ndk': {
121 'url': '{chromium_git}/android_ndk.git@27c0a8d090c666a50e40fceb4ee5b40b1a2d3f87',
122 'condition': 'checkout_android and not build_with_chromium',
123 },
124
125 'third_party/catapult': {
126 'url': '{chromium_git}/catapult.git@{catapult_revision}',
127 'condition': 'checkout_android and not build_with_chromium',
128 },
129
Courtney Goeltzenleuchterfebdcf52019-10-28 10:54:03 -0600130 # 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 -0400131 'third_party/cherry': {
Edward Lemur8ae09b02018-06-01 14:18:28 -0400132 'url': '{android_git}/platform/external/cherry@4f8fb08d33ca5ff05a1c638f04c85bbb8d8b52cc',
133 'condition': 'not build_with_chromium',
134 },
Jamie Madill9e76f562015-10-02 08:57:14 -0400135
Yuly Novikov6a652f12020-08-12 21:12:47 -0400136 # We never want to checkout chromium,
137 # but need a dummy DEPS entry for the autoroller
138 'third_party/dummy_chromium': {
139 'url': '{chromium_git}/chromium/src.git@{chromium_revision}',
140 'condition': 'dummy_checkout_chromium',
141 },
142
Jamie Madill20e631f2020-05-05 12:19:58 -0400143 'third_party/vulkan_memory_allocator': {
Jamie Madillb22ecc62020-06-04 10:51:10 -0400144 'url': '{chromium_git}/external/github.com/GPUOpen-LibrariesAndSDKs/VulkanMemoryAllocator@431d6e57284aeb08118ff428dfbd51c94342faa1',
Jamie Madillca50ad42020-05-01 16:37:00 -0400145 'condition': 'not build_with_chromium',
Jamie Madill76d52be2020-04-07 09:14:29 -0400146 },
147
Courtney Goeltzenleuchterfebdcf52019-10-28 10:54:03 -0600148 'third_party/VK-GL-CTS/src': {
149 'url': '{chromium_git}/external/github.com/KhronosGroup/VK-GL-CTS@{vk_gl_cts_revision}',
Edward Lemur8ae09b02018-06-01 14:18:28 -0400150 },
Jamie Madill37ee8a62016-12-13 15:18:58 -0500151
Jamie Madill8ba50492019-10-10 17:46:54 -0400152 'third_party/fuchsia-sdk': {
Jamie Madill130fdbc2019-10-10 19:13:07 -0400153 'url': '{chromium_git}/chromium/src/third_party/fuchsia-sdk.git@1785f0ac8e1fe81cb25e260acbe7de8f62fa3e44',
Jamie Madill9f958342019-04-08 09:40:40 -0400154 'condition': 'checkout_fuchsia and not build_with_chromium',
155 },
156
Jamie Madill67a017f2019-10-10 15:27:27 -0400157 # Closed-source OpenGL ES 1.1 Conformance tests.
Jamie Madill8ba50492019-10-10 17:46:54 -0400158 'third_party/gles1_conform': {
Jamie Madill67a017f2019-10-10 15:27:27 -0400159 'url': '{chrome_internal_git}/angle/es-cts.git@dc9f502f709c9cd88d7f8d3974f1c77aa246958e',
Cody Northrop84f45f12019-12-18 14:34:29 -0700160 'condition': 'checkout_angle_internal',
Jamie Madill67a017f2019-10-10 15:27:27 -0400161 },
162
Jamie Madill55959b02019-03-05 10:07:41 -0500163 # glmark2 is a GPL3-licensed OpenGL ES 2.0 benchmark. We use it for testing.
Jamie Madill8ba50492019-10-10 17:46:54 -0400164 'third_party/glmark2/src': {
Jamie Madill2971fd32019-08-12 16:53:21 -0400165 'url': '{chromium_git}/external/github.com/glmark2/glmark2@9e01aef1a786b28aca73135a5b00f85c357e8f5e',
Jamie Madill55959b02019-03-05 10:07:41 -0500166 },
167
Jamie Madill8ba50492019-10-10 17:46:54 -0400168 'third_party/glslang/src': {
Tobin Ehlis317a9eb2018-11-29 12:51:46 -0700169 'url': '{chromium_git}/external/github.com/KhronosGroup/glslang@{glslang_revision}',
Jamie Madill0cb3b0f2019-01-28 09:55:20 -0500170 'condition': 'not build_with_chromium',
Jamie Madill55959b02019-03-05 10:07:41 -0500171 },
Jamie Madill37ee8a62016-12-13 15:18:58 -0500172
Jamie Madill8ba50492019-10-10 17:46:54 -0400173 'third_party/googletest': {
Yuly Novikov7d38b0b2020-08-19 17:33:31 -0400174 'url': '{chromium_git}/chromium/src/third_party/googletest@{chromium_googletest_revision}',
Jamie Madillcf9b2852019-02-13 09:15:26 -0500175 'condition': 'not build_with_chromium',
176 },
177
Jamie Madill55959b02019-03-05 10:07:41 -0500178 # libjpeg_turbo is used by glmark2.
Jamie Madill8ba50492019-10-10 17:46:54 -0400179 'third_party/libjpeg_turbo': {
Tim Van Pattenfa105682020-08-04 22:43:43 -0600180 'url': '{chromium_git}/chromium/deps/libjpeg_turbo.git@0241a1304fd183ee24fbdfe6891f18fdedea38f9',
Jamie Madill55959b02019-03-05 10:07:41 -0500181 'condition': 'not build_with_chromium',
182 },
183
Jamie Madill8ba50492019-10-10 17:46:54 -0400184 'third_party/libpng/src': {
Edward Lemur8ae09b02018-06-01 14:18:28 -0400185 'url': '{android_git}/platform/external/libpng@094e181e79a3d6c23fd005679025058b7df1ad6c',
186 'condition': 'not build_with_chromium',
187 },
Jamie Madill37ee8a62016-12-13 15:18:58 -0500188
Jamie Madill8ba50492019-10-10 17:46:54 -0400189 'third_party/jsoncpp': {
Jordan Bayles1265dbe2020-06-24 15:12:17 -0700190 'url': '{chromium_git}/chromium/src/third_party/jsoncpp@{chromium_jsoncpp_revision}',
Jamie Madill0cb3b0f2019-01-28 09:55:20 -0500191 'condition': 'not build_with_chromium',
192 },
Tobin Ehlis5fdc38c2018-08-28 09:20:57 -0600193
Jamie Madill43951702020-04-27 16:57:46 -0400194 'third_party/nasm': {
Jamie Madill23211582020-07-21 10:08:03 -0400195 'url': '{chromium_git}/chromium/deps/nasm.git@19f3fad68da99277b2882939d3b2fa4c4b8d51d9',
Jamie Madill43951702020-04-27 16:57:46 -0400196 'condition': 'not build_with_chromium',
197 },
198
Jamie Madill8ba50492019-10-10 17:46:54 -0400199 'third_party/Python-Markdown': {
Tim Van Pattenfa105682020-08-04 22:43:43 -0600200 'url': '{chromium_git}/chromium/src/third_party/Python-Markdown@31ac00b010877151f9440d5ffc7f1437e74169ef',
Jamie Madill9f958342019-04-08 09:40:40 -0400201 'condition': 'not build_with_chromium',
202 },
203
Jamie Madill8ba50492019-10-10 17:46:54 -0400204 'third_party/qemu-linux-x64': {
Michael Spang229fc832019-01-21 18:09:15 -0500205 'packages': [
206 {
207 'package': 'fuchsia/qemu/linux-amd64',
208 'version': '9cc486c5b18a0be515c39a280ca9a309c54cf994'
209 },
210 ],
211 'condition': 'not build_with_chromium and (host_os == "linux" and checkout_fuchsia)',
212 'dep_type': 'cipd',
213 },
214
Jamie Madill8ba50492019-10-10 17:46:54 -0400215 'third_party/qemu-mac-x64': {
Michael Spang229fc832019-01-21 18:09:15 -0500216 'packages': [
217 {
218 'package': 'fuchsia/qemu/mac-amd64',
219 'version': '2d3358ae9a569b2d4a474f498b32b202a152134f'
220 },
221 ],
222 'condition': 'not build_with_chromium and (host_os == "mac" and checkout_fuchsia)',
223 'dep_type': 'cipd',
224 },
225
Jamie Madill8ba50492019-10-10 17:46:54 -0400226 'third_party/rapidjson/src': {
Jamie Madill46d32e02019-02-25 17:13:16 -0500227 'url': '{chromium_git}/external/github.com/Tencent/rapidjson@7484e06c589873e1ed80382d262087e4fa80fb63',
228 },
229
Le Quyena5a04ac2019-10-29 22:57:55 +0800230 'third_party/spirv-cross/src': {
231 'url': '{chromium_git}/external/github.com/KhronosGroup/SPIRV-Cross@{spirv_cross_revision}',
232 'condition': 'not build_with_chromium',
233 },
234
Jamie Madill8ba50492019-10-10 17:46:54 -0400235 'third_party/spirv-headers/src': {
Jamie Madill0cb3b0f2019-01-28 09:55:20 -0500236 'url': '{chromium_git}/external/github.com/KhronosGroup/SPIRV-Headers@{spirv_headers_revision}',
Corentin Walleza883dd02018-08-03 18:11:46 +0200237 'condition': 'not build_with_chromium',
Edward Lemur8ae09b02018-06-01 14:18:28 -0400238 },
Jamie Madill37ee8a62016-12-13 15:18:58 -0500239
Jamie Madill8ba50492019-10-10 17:46:54 -0400240 'third_party/spirv-tools/src': {
Jamie Madill0cb3b0f2019-01-28 09:55:20 -0500241 'url': '{chromium_git}/external/github.com/KhronosGroup/SPIRV-Tools@{spirv_tools_revision}',
Corentin Walleza883dd02018-08-03 18:11:46 +0200242 'condition': 'not build_with_chromium',
Edward Lemur8ae09b02018-06-01 14:18:28 -0400243 },
Jamie Madill37ee8a62016-12-13 15:18:58 -0500244
Jamie Madill8ba50492019-10-10 17:46:54 -0400245 'third_party/SwiftShader': {
angle-autoroll330eb732020-08-19 07:01:13 +0000246 'url': '{swiftshader_git}/SwiftShader@cbfd396756c6530ee31268d88e5e742ba761fc57',
Jamie Madill8be7a4c2019-09-19 12:48:31 -0400247 'condition': 'not build_with_chromium',
248 },
249
Jamie Madill8ba50492019-10-10 17:46:54 -0400250 'third_party/vulkan-headers/src': {
Tobin Ehlisb971f492018-05-24 10:56:17 -0600251 'url': '{chromium_git}/external/github.com/KhronosGroup/Vulkan-Headers@{vulkan_headers_revision}',
252 },
253
Jamie Madill8ba50492019-10-10 17:46:54 -0400254 'third_party/vulkan-loader/src': {
Tobin Ehlisb971f492018-05-24 10:56:17 -0600255 'url': '{chromium_git}/external/github.com/KhronosGroup/Vulkan-Loader@{vulkan_loader_revision}',
256 },
257
Jamie Madill8ba50492019-10-10 17:46:54 -0400258 'third_party/vulkan-tools/src': {
Tobin Ehlisb971f492018-05-24 10:56:17 -0600259 'url': '{chromium_git}/external/github.com/KhronosGroup/Vulkan-Tools@{vulkan_tools_revision}',
260 },
261
Jamie Madill8ba50492019-10-10 17:46:54 -0400262 'third_party/vulkan-validation-layers/src': {
Tobin Ehlisb971f492018-05-24 10:56:17 -0600263 'url': '{chromium_git}/external/github.com/KhronosGroup/Vulkan-ValidationLayers@{vulkan_validation_revision}',
Edward Lemur8ae09b02018-06-01 14:18:28 -0400264 },
Jamie Madill3cd438d2015-03-17 11:25:27 -0400265
Jamie Madill8ba50492019-10-10 17:46:54 -0400266 'third_party/zlib': {
Tim Van Pattenfa105682020-08-04 22:43:43 -0600267 'url': '{chromium_git}/chromium/src/third_party/zlib@7492de9a52f656b070f41968e39a6efa603590d5',
Edward Lemur8ae09b02018-06-01 14:18:28 -0400268 'condition': 'not build_with_chromium',
269 },
Frank Henigmand0ef13a2017-08-28 22:53:24 -0400270
Jamie Madill8ba50492019-10-10 17:46:54 -0400271 'tools/clang': {
Yuly Novikov23335ac2020-08-10 22:27:41 -0400272 'url': '{chromium_git}/chromium/src/tools/clang.git@faabb9a8ea407bb38928800b04a529971d228473',
Edward Lemur8ae09b02018-06-01 14:18:28 -0400273 'condition': 'not build_with_chromium',
274 },
Michael Spang229fc832019-01-21 18:09:15 -0500275
Le Hoang Quyencaeb2172019-11-20 22:30:17 +0800276 'tools/clang/dsymutil': {
277 'packages': [
278 {
279 'package': 'chromium/llvm-build-tools/dsymutil',
280 'version': 'M56jPzDv1620Rnm__jTMYS62Zi8rxHVq7yw0qeBFEgkC',
281 }
282 ],
283 'condition': 'checkout_mac and not build_with_chromium',
284 'dep_type': 'cipd',
285 },
286
Jamie Madill8ba50492019-10-10 17:46:54 -0400287 'tools/md_browser': {
Tim Van Pattenfa105682020-08-04 22:43:43 -0600288 'url': '{chromium_git}/chromium/src/tools/md_browser@7e75775447051d4ecb6ab0ca597eda6d809a2963',
Jamie Madill9f958342019-04-08 09:40:40 -0400289 'condition': 'not build_with_chromium',
Michael Spang229fc832019-01-21 18:09:15 -0500290 },
Jamie Madilldf0ce012019-09-05 11:04:39 -0400291
Jamie Madill8ba50492019-10-10 17:46:54 -0400292 'tools/memory': {
Jamie Madilldf0ce012019-09-05 11:04:39 -0400293 'url': '{chromium_git}/chromium/src/tools/memory@89552acb6e60f528fe3c98eac7b445d4c34183ee',
294 'condition': 'not build_with_chromium',
295 },
alokp@chromium.org29d56fb2010-04-06 15:42:22 +0000296}
297
alokp@chromium.org29d56fb2010-04-06 15:42:22 +0000298hooks = [
Jamie Madill2fdd3da2015-07-20 10:14:54 -0400299 # Pull clang-format binaries using checked-in hashes.
300 {
301 'name': 'clang_format_win',
302 'pattern': '.',
Edward Lemur8ae09b02018-06-01 14:18:28 -0400303 'condition': 'host_os == "win" and not build_with_chromium',
Jamie Madill2fdd3da2015-07-20 10:14:54 -0400304 'action': [ 'download_from_google_storage',
305 '--no_resume',
306 '--platform=win32',
307 '--no_auth',
308 '--bucket', 'chromium-clang-format',
Jamie Madill8ba50492019-10-10 17:46:54 -0400309 '-s', 'buildtools/win/clang-format.exe.sha1',
Jamie Madill2fdd3da2015-07-20 10:14:54 -0400310 ],
311 },
312 {
313 'name': 'clang_format_mac',
314 'pattern': '.',
Edward Lemur8ae09b02018-06-01 14:18:28 -0400315 'condition': 'host_os == "mac" and not build_with_chromium',
Jamie Madill2fdd3da2015-07-20 10:14:54 -0400316 'action': [ 'download_from_google_storage',
317 '--no_resume',
318 '--platform=darwin',
319 '--no_auth',
320 '--bucket', 'chromium-clang-format',
Jamie Madill8ba50492019-10-10 17:46:54 -0400321 '-s', 'buildtools/mac/clang-format.sha1',
Jamie Madill2fdd3da2015-07-20 10:14:54 -0400322 ],
323 },
324 {
325 'name': 'clang_format_linux',
326 'pattern': '.',
Edward Lemur8ae09b02018-06-01 14:18:28 -0400327 'condition': 'host_os == "linux" and not build_with_chromium',
Jamie Madill2fdd3da2015-07-20 10:14:54 -0400328 'action': [ 'download_from_google_storage',
329 '--no_resume',
330 '--platform=linux*',
331 '--no_auth',
332 '--bucket', 'chromium-clang-format',
Jamie Madill8ba50492019-10-10 17:46:54 -0400333 '-s', 'buildtools/linux64/clang-format.sha1',
Jamie Madill2fdd3da2015-07-20 10:14:54 -0400334 ],
335 },
Tobin Ehlis9d4277b2018-05-21 16:22:22 -0600336 {
337 'name': 'sysroot_x86',
338 'pattern': '.',
Edward Lemur8ae09b02018-06-01 14:18:28 -0400339 'condition': 'checkout_linux and ((checkout_x86 or checkout_x64) and not build_with_chromium)',
Jamie Madill8ba50492019-10-10 17:46:54 -0400340 'action': ['python', 'build/linux/sysroot_scripts/install-sysroot.py',
Tobin Ehlis9d4277b2018-05-21 16:22:22 -0600341 '--arch=x86'],
342 },
343 {
344 'name': 'sysroot_x64',
345 'pattern': '.',
Edward Lemur8ae09b02018-06-01 14:18:28 -0400346 'condition': 'checkout_linux and (checkout_x64 and not build_with_chromium)',
Jamie Madill8ba50492019-10-10 17:46:54 -0400347 'action': ['python', 'build/linux/sysroot_scripts/install-sysroot.py',
Tobin Ehlis9d4277b2018-05-21 16:22:22 -0600348 '--arch=x64'],
349 },
Jamie Madill027717f2018-04-13 15:51:24 -0400350 {
351 # Update the Windows toolchain if necessary. Must run before 'clang' below.
352 'name': 'win_toolchain',
353 'pattern': '.',
Edward Lemur8ae09b02018-06-01 14:18:28 -0400354 'condition': 'checkout_win and not build_with_chromium',
Jamie Madill8ba50492019-10-10 17:46:54 -0400355 'action': ['python', 'build/vs_toolchain.py', 'update', '--force'],
Jamie Madill027717f2018-04-13 15:51:24 -0400356 },
Geoff Lang66ae5312019-04-01 16:35:53 -0400357 {
358 # Update the Mac toolchain if necessary.
359 'name': 'mac_toolchain',
360 'pattern': '.',
361 'condition': 'checkout_mac and not build_with_chromium',
Jamie Madill8ba50492019-10-10 17:46:54 -0400362 'action': ['python', 'build/mac_toolchain.py'],
Geoff Lang66ae5312019-04-01 16:35:53 -0400363 },
Jamie Madill027717f2018-04-13 15:51:24 -0400364
alokp@chromium.org29d56fb2010-04-06 15:42:22 +0000365 {
Frank Henigmand0ef13a2017-08-28 22:53:24 -0400366 # Note: On Win, this should run after win_toolchain, as it may use it.
367 'name': 'clang',
368 'pattern': '.',
Jamie Madill8ba50492019-10-10 17:46:54 -0400369 'action': ['python', 'tools/clang/scripts/update.py'],
Edward Lemur8ae09b02018-06-01 14:18:28 -0400370 'condition': 'not build_with_chromium',
Frank Henigmand0ef13a2017-08-28 22:53:24 -0400371 },
Jamie Madill940c48b2017-10-23 23:25:17 -0400372
Shahbaz Youssefi957e9b82018-10-05 11:00:50 -0400373 {
374 # Update LASTCHANGE.
375 'name': 'lastchange',
376 'pattern': '.',
377 'condition': 'not build_with_chromium',
Jamie Madill8ba50492019-10-10 17:46:54 -0400378 'action': ['python', 'build/util/lastchange.py',
379 '-o', 'build/util/LASTCHANGE'],
Shahbaz Youssefi957e9b82018-10-05 11:00:50 -0400380 },
381
Jamie Madill940c48b2017-10-23 23:25:17 -0400382 # Pull rc binaries using checked-in hashes.
383 {
384 'name': 'rc_win',
385 'pattern': '.',
Edward Lemur8ae09b02018-06-01 14:18:28 -0400386 'condition': 'checkout_win and (host_os == "win" and not build_with_chromium)',
Jamie Madill940c48b2017-10-23 23:25:17 -0400387 'action': [ 'download_from_google_storage',
388 '--no_resume',
389 '--no_auth',
390 '--bucket', 'chromium-browser-clang/rc',
Jamie Madill8ba50492019-10-10 17:46:54 -0400391 '-s', 'build/toolchain/win/rc/win/rc.exe.sha1',
Jamie Madill940c48b2017-10-23 23:25:17 -0400392 ],
393 },
Michael Spang229fc832019-01-21 18:09:15 -0500394
395 {
396 'name': 'fuchsia_sdk',
397 'pattern': '.',
398 'condition': 'checkout_fuchsia and not build_with_chromium',
399 'action': [
400 'python',
Jamie Madill8ba50492019-10-10 17:46:54 -0400401 'build/fuchsia/update_sdk.py',
Michael Spang229fc832019-01-21 18:09:15 -0500402 ],
403 },
Jamie Madilld5ff4fa2019-04-08 09:25:23 -0400404
Shahbaz Youssefi82418c82019-04-05 15:56:03 -0400405 # Download glslang validator binary for Linux.
406 {
407 'name': 'linux_glslang_validator',
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-glslang-validator',
Jamie Madill8ba50492019-10-10 17:46:54 -0400415 '-s', 'tools/glslang/glslang_validator.sha1',
Shahbaz Youssefi82418c82019-04-05 15:56:03 -0400416 ],
417 },
418
Jamie Madilld5ff4fa2019-04-08 09:25:23 -0400419 # Download glslang validator binary for Windows.
420 {
421 'name': 'win_glslang_validator',
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-glslang-validator',
Jamie Madill8ba50492019-10-10 17:46:54 -0400429 '-s', 'tools/glslang/glslang_validator.exe.sha1',
Jamie Madilld5ff4fa2019-04-08 09:25:23 -0400430 ],
431 },
Shahbaz Youssefi5efb36b2019-11-25 16:14:55 -0500432
433 # Download flex/bison binaries for Linux.
434 {
435 'name': 'linux_flex_bison',
436 'pattern': '.',
437 'condition': 'checkout_linux and not build_with_chromium',
438 'action': [ 'download_from_google_storage',
439 '--no_resume',
440 '--platform=linux*',
441 '--no_auth',
442 '--bucket', 'angle-flex-bison',
443 '-d', 'tools/flex-bison/linux/',
444 ],
445 },
446
447 # Download flex/bison binaries for Windows.
448 {
449 'name': 'win_flex_bison',
450 'pattern': '.',
451 'condition': 'checkout_win and not build_with_chromium',
452 'action': [ 'download_from_google_storage',
453 '--no_resume',
454 '--platform=win32*',
455 '--no_auth',
456 '--bucket', 'angle-flex-bison',
457 '-d', 'tools/flex-bison/windows/',
458 ],
459 },
Cody Northrop080d7112020-01-08 13:04:44 -0700460
461 # Download internal captures for perf tests
462 {
463 'name': 'restricted_traces',
464 'pattern': '\\.sha1',
465 'condition': 'checkout_angle_internal',
Courtney Goeltzenleuchtere474cc92020-06-18 16:03:30 -0600466 'action': [ 'python',
467 'src/tests/perf_tests/restricted_traces/download_restricted_traces.py',
Jamie Madillee0498b2020-02-15 09:24:03 -0500468 'src/tests/perf_tests/restricted_traces',
Cody Northrop080d7112020-01-08 13:04:44 -0700469 ]
470 }
alokp@chromium.org29d56fb2010-04-06 15:42:22 +0000471]
Jamie Madill20789312016-10-28 14:05:26 -0400472
473recursedeps = [
474 # buildtools provides clang_format.
Jamie Madill8ba50492019-10-10 17:46:54 -0400475 'buildtools',
Jamie Madill07035682019-10-25 09:00:41 -0400476 'third_party/googletest',
Jamie Madille7c8e802019-10-26 08:16:12 -0400477 'third_party/jsoncpp',
Jamie Madill20789312016-10-28 14:05:26 -0400478]