blob: 3dee33f60212254478ab818d2ba8980ae3918753 [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.
19 # We overload Chromium's 'src-internal' for simplicity.
20 # TOOD(ynovikov): Use checkout_angle_internal custom variable instead.
Jamie Madill4237e532019-06-28 11:14:31 -040021 'checkout_src_internal': False,
22
Edward Lemur8ae09b02018-06-01 14:18:28 -040023 # Current revision of dEQP.
Jamie Madill159c4b02019-06-28 13:58:50 -040024 'deqp_revision': 'd3eef28e67ce6795ba3a2124aaa977819729d45f',
Edward Lemur8ae09b02018-06-01 14:18:28 -040025
26 # Current revision of glslang, the Khronos SPIRV compiler.
angle-autoroll23d6a0e2019-10-07 07:01:14 +000027 'glslang_revision': '4b97a1108114107a8082a55e9e0721a40f9536d3',
Edward Lemur8ae09b02018-06-01 14:18:28 -040028
29 # Current revision fo the SPIRV-Headers Vulkan support library.
angle-autorollceac3322019-09-30 07:01:54 +000030 'spirv_headers_revision': '842ec90674627ed2ffef609e3cd79d1562eded01',
Edward Lemur8ae09b02018-06-01 14:18:28 -040031
32 # Current revision of SPIRV-Tools for Vulkan.
angle-autorollad5f7162019-10-10 07:01:22 +000033 'spirv_tools_revision': '82f84c4b8f19a3a59647e851a5b3921d63b7b8e4',
Edward Lemur8ae09b02018-06-01 14:18:28 -040034
Tobin Ehlisb971f492018-05-24 10:56:17 -060035 # Current revision of Khronos Vulkan-Headers.
Tobin Ehlisf22f16d2019-07-18 15:10:49 -060036 'vulkan_headers_revision': '5b44df19e040fca0048ab30c553a8c2d2cb9623e',
Tobin Ehlisb971f492018-05-24 10:56:17 -060037
38 # Current revision of Khronos Vulkan-Loader.
Tobin Ehlisf22f16d2019-07-18 15:10:49 -060039 'vulkan_loader_revision': 'b5a0995324fa9fb2a6152197b442400e7d7be5b6',
Tobin Ehlisb971f492018-05-24 10:56:17 -060040
41 # Current revision of Khronos Vulkan-Tools.
Tobin Ehlisf22f16d2019-07-18 15:10:49 -060042 'vulkan_tools_revision': '40cd2166a44647a4283517e31af4589410c654eb',
Tobin Ehlisb971f492018-05-24 10:56:17 -060043
44 # Current revision of Khronos Vulkan-ValidationLayers.
Tobin Ehlisf22f16d2019-07-18 15:10:49 -060045 'vulkan_validation_revision': '9fba37afae13a11bd49ae942bf82e5bf1098e381',
Jamie Madill2fdd3da2015-07-20 10:14:54 -040046}
47
alokp@chromium.org29d56fb2010-04-06 15:42:22 +000048deps = {
alokp@chromium.org416fcd32012-04-11 16:23:44 +000049
Jamie Madill8ba50492019-10-10 17:46:54 -040050 'build': {
Jamie Madill9c2df982019-10-09 16:45:13 -040051 'url': '{chromium_git}/chromium/src/build.git@fd0d28db8039e2aaf9fa35e53e3af6dc9ead8055',
Edward Lemur8ae09b02018-06-01 14:18:28 -040052 'condition': 'not build_with_chromium',
53 },
Frank Henigmand0ef13a2017-08-28 22:53:24 -040054
Jamie Madill8ba50492019-10-10 17:46:54 -040055 'buildtools': {
Jamie Madill9c2df982019-10-09 16:45:13 -040056 'url': '{chromium_git}/chromium/src/buildtools.git@cf454b247c611167388742c7a31ef138a6031172',
Edward Lemur8ae09b02018-06-01 14:18:28 -040057 'condition': 'not build_with_chromium',
58 },
Frank Henigmand0ef13a2017-08-28 22:53:24 -040059
Jamie Madill8ba50492019-10-10 17:46:54 -040060 'testing': {
Jamie Madill9c2df982019-10-09 16:45:13 -040061 'url': '{chromium_git}/chromium/src/testing@9d2d0dad367ac7e98e64cc6881044c482e1c7eb8',
Edward Lemur8ae09b02018-06-01 14:18:28 -040062 'condition': 'not build_with_chromium',
63 },
alokp@chromium.org5cd9c602012-05-16 23:37:50 +000064
Jamie Madill9e76f562015-10-02 08:57:14 -040065 # Cherry is a dEQP management GUI written in Go. We use it for viewing test results.
Jamie Madill8ba50492019-10-10 17:46:54 -040066 'third_party/cherry': {
Edward Lemur8ae09b02018-06-01 14:18:28 -040067 'url': '{android_git}/platform/external/cherry@4f8fb08d33ca5ff05a1c638f04c85bbb8d8b52cc',
68 'condition': 'not build_with_chromium',
69 },
Jamie Madill9e76f562015-10-02 08:57:14 -040070
Jamie Madill8ba50492019-10-10 17:46:54 -040071 'third_party/deqp/src': {
Jamie Madill915d4062019-01-28 18:15:43 -050072 'url': '{chromium_git}/external/deqp@{deqp_revision}',
Edward Lemur8ae09b02018-06-01 14:18:28 -040073 },
Jamie Madill37ee8a62016-12-13 15:18:58 -050074
Jamie Madill8ba50492019-10-10 17:46:54 -040075 'third_party/fuchsia-sdk': {
Robert Iannuccida8dad12019-08-08 19:40:48 -070076 'url': '{chromium_git}/chromium/src/third_party/fuchsia-sdk.git@5fd29151cf35c0813c33cc368a7c78389e3f5caa',
Jamie Madill9f958342019-04-08 09:40:40 -040077 'condition': 'checkout_fuchsia and not build_with_chromium',
78 },
79
Jamie Madill67a017f2019-10-10 15:27:27 -040080 # Closed-source OpenGL ES 1.1 Conformance tests.
Jamie Madill8ba50492019-10-10 17:46:54 -040081 'third_party/gles1_conform': {
Jamie Madill67a017f2019-10-10 15:27:27 -040082 'url': '{chrome_internal_git}/angle/es-cts.git@dc9f502f709c9cd88d7f8d3974f1c77aa246958e',
83 'condition': 'checkout_src_internal',
84 },
85
Jamie Madill55959b02019-03-05 10:07:41 -050086 # glmark2 is a GPL3-licensed OpenGL ES 2.0 benchmark. We use it for testing.
Jamie Madill8ba50492019-10-10 17:46:54 -040087 'third_party/glmark2/src': {
Jamie Madill2971fd32019-08-12 16:53:21 -040088 'url': '{chromium_git}/external/github.com/glmark2/glmark2@9e01aef1a786b28aca73135a5b00f85c357e8f5e',
Jamie Madill55959b02019-03-05 10:07:41 -050089 },
90
Jamie Madill8ba50492019-10-10 17:46:54 -040091 'third_party/glslang/src': {
Tobin Ehlis317a9eb2018-11-29 12:51:46 -070092 'url': '{chromium_git}/external/github.com/KhronosGroup/glslang@{glslang_revision}',
Jamie Madill0cb3b0f2019-01-28 09:55:20 -050093 'condition': 'not build_with_chromium',
Jamie Madill55959b02019-03-05 10:07:41 -050094 },
Jamie Madill37ee8a62016-12-13 15:18:58 -050095
Jamie Madill8ba50492019-10-10 17:46:54 -040096 'third_party/googletest': {
Robert Iannuccida8dad12019-08-08 19:40:48 -070097 'url': '{chromium_git}/chromium/src/third_party/googletest@c721b68ddecc18bbc6b763b2fe8ab802c22f228a',
Jamie Madillcf9b2852019-02-13 09:15:26 -050098 'condition': 'not build_with_chromium',
99 },
100
Jamie Madill8ba50492019-10-10 17:46:54 -0400101 'third_party/googletest/src': {
Jamie Madill9c2df982019-10-09 16:45:13 -0400102 'url': '{chromium_git}/external/github.com/google/googletest.git@cd17fa2abda2a2e4111cdabd62a87aea16835014',
Edward Lemur8ae09b02018-06-01 14:18:28 -0400103 'condition': 'not build_with_chromium',
104 },
Frank Henigman6b076a02017-10-11 13:28:22 -0400105
Jamie Madill55959b02019-03-05 10:07:41 -0500106 # libjpeg_turbo is used by glmark2.
Jamie Madill8ba50492019-10-10 17:46:54 -0400107 'third_party/libjpeg_turbo': {
Jamie Madill55959b02019-03-05 10:07:41 -0500108 'url': '{chromium_git}/chromium/deps/libjpeg_turbo@6dcdade8828297e306cabfdae80f3510f3f3eea2',
109 'condition': 'not build_with_chromium',
110 },
111
Jamie Madill8ba50492019-10-10 17:46:54 -0400112 'third_party/libpng/src': {
Edward Lemur8ae09b02018-06-01 14:18:28 -0400113 'url': '{android_git}/platform/external/libpng@094e181e79a3d6c23fd005679025058b7df1ad6c',
114 'condition': 'not build_with_chromium',
115 },
Jamie Madill37ee8a62016-12-13 15:18:58 -0500116
Jamie Madill8ba50492019-10-10 17:46:54 -0400117 'third_party/jsoncpp': {
Robert Iannuccida8dad12019-08-08 19:40:48 -0700118 'url': '{chromium_git}/chromium/src/third_party/jsoncpp@48246a099549ab325c01f69f24a34fc72e5c42e4',
Jamie Madill0cb3b0f2019-01-28 09:55:20 -0500119 'condition': 'not build_with_chromium',
120 },
Jamie Madill7ada46c2018-09-06 10:58:26 -0400121
Jamie Madill8ba50492019-10-10 17:46:54 -0400122 'third_party/jsoncpp/source': {
Robert Iannuccida8dad12019-08-08 19:40:48 -0700123 'url' : '{chromium_git}/external/github.com/open-source-parsers/jsoncpp@645250b6690785be60ab6780ce4b58698d884d11',
Jamie Madill0cb3b0f2019-01-28 09:55:20 -0500124 'condition': 'not build_with_chromium',
125 },
Tobin Ehlis5fdc38c2018-08-28 09:20:57 -0600126
Jamie Madill8ba50492019-10-10 17:46:54 -0400127 'third_party/Python-Markdown': {
Robert Iannuccida8dad12019-08-08 19:40:48 -0700128 'url': '{chromium_git}/chromium/src/third_party/Python-Markdown@36657c103ce5964733bbbb29377085e9cc1a9472',
Jamie Madill9f958342019-04-08 09:40:40 -0400129 'condition': 'not build_with_chromium',
130 },
131
Jamie Madill8ba50492019-10-10 17:46:54 -0400132 'third_party/qemu-linux-x64': {
Michael Spang229fc832019-01-21 18:09:15 -0500133 'packages': [
134 {
135 'package': 'fuchsia/qemu/linux-amd64',
136 'version': '9cc486c5b18a0be515c39a280ca9a309c54cf994'
137 },
138 ],
139 'condition': 'not build_with_chromium and (host_os == "linux" and checkout_fuchsia)',
140 'dep_type': 'cipd',
141 },
142
Jamie Madill8ba50492019-10-10 17:46:54 -0400143 'third_party/qemu-mac-x64': {
Michael Spang229fc832019-01-21 18:09:15 -0500144 'packages': [
145 {
146 'package': 'fuchsia/qemu/mac-amd64',
147 'version': '2d3358ae9a569b2d4a474f498b32b202a152134f'
148 },
149 ],
150 'condition': 'not build_with_chromium and (host_os == "mac" and checkout_fuchsia)',
151 'dep_type': 'cipd',
152 },
153
Jamie Madill8ba50492019-10-10 17:46:54 -0400154 'third_party/rapidjson/src': {
Jamie Madill46d32e02019-02-25 17:13:16 -0500155 'url': '{chromium_git}/external/github.com/Tencent/rapidjson@7484e06c589873e1ed80382d262087e4fa80fb63',
156 },
157
Jamie Madill8ba50492019-10-10 17:46:54 -0400158 'third_party/spirv-headers/src': {
Jamie Madill0cb3b0f2019-01-28 09:55:20 -0500159 'url': '{chromium_git}/external/github.com/KhronosGroup/SPIRV-Headers@{spirv_headers_revision}',
Corentin Walleza883dd02018-08-03 18:11:46 +0200160 'condition': 'not build_with_chromium',
Edward Lemur8ae09b02018-06-01 14:18:28 -0400161 },
Jamie Madill37ee8a62016-12-13 15:18:58 -0500162
Jamie Madill8ba50492019-10-10 17:46:54 -0400163 'third_party/spirv-tools/src': {
Jamie Madill0cb3b0f2019-01-28 09:55:20 -0500164 'url': '{chromium_git}/external/github.com/KhronosGroup/SPIRV-Tools@{spirv_tools_revision}',
Corentin Walleza883dd02018-08-03 18:11:46 +0200165 'condition': 'not build_with_chromium',
Edward Lemur8ae09b02018-06-01 14:18:28 -0400166 },
Jamie Madill37ee8a62016-12-13 15:18:58 -0500167
Jamie Madill8ba50492019-10-10 17:46:54 -0400168 'third_party/SwiftShader': {
Jamie Madill5e9d4ee2019-10-05 09:49:36 -0400169 'url': '{swiftshader_git}/SwiftShader@036463457e5f11a9257553fadb5e8c193bec6f7e',
Jamie Madill8be7a4c2019-09-19 12:48:31 -0400170 'condition': 'not build_with_chromium',
171 },
172
Jamie Madill8ba50492019-10-10 17:46:54 -0400173 'third_party/vulkan-headers/src': {
Tobin Ehlisb971f492018-05-24 10:56:17 -0600174 'url': '{chromium_git}/external/github.com/KhronosGroup/Vulkan-Headers@{vulkan_headers_revision}',
175 },
176
Jamie Madill8ba50492019-10-10 17:46:54 -0400177 'third_party/vulkan-loader/src': {
Tobin Ehlisb971f492018-05-24 10:56:17 -0600178 'url': '{chromium_git}/external/github.com/KhronosGroup/Vulkan-Loader@{vulkan_loader_revision}',
179 },
180
Jamie Madill8ba50492019-10-10 17:46:54 -0400181 'third_party/vulkan-tools/src': {
Tobin Ehlisb971f492018-05-24 10:56:17 -0600182 'url': '{chromium_git}/external/github.com/KhronosGroup/Vulkan-Tools@{vulkan_tools_revision}',
183 },
184
Jamie Madill8ba50492019-10-10 17:46:54 -0400185 'third_party/vulkan-validation-layers/src': {
Tobin Ehlisb971f492018-05-24 10:56:17 -0600186 'url': '{chromium_git}/external/github.com/KhronosGroup/Vulkan-ValidationLayers@{vulkan_validation_revision}',
Edward Lemur8ae09b02018-06-01 14:18:28 -0400187 },
Jamie Madill3cd438d2015-03-17 11:25:27 -0400188
Jamie Madill8ba50492019-10-10 17:46:54 -0400189 'third_party/yasm': {
Jamie Madill9c2df982019-10-09 16:45:13 -0400190 'url': '{chromium_git}/chromium/src/third_party/yasm@cc10bc0f1d96a4bae0e775f2ac2b6ac5b08078c6',
Jamie Madill55959b02019-03-05 10:07:41 -0500191 'condition': 'not build_with_chromium',
192 },
193
Jamie Madill8ba50492019-10-10 17:46:54 -0400194 'third_party/yasm/source/patched-yasm': {
Jamie Madill55959b02019-03-05 10:07:41 -0500195 'url': '{chromium_git}/chromium/deps/yasm/patched-yasm.git@720b70524a4424b15fc57e82263568c8ba0496ad',
196 'condition': 'not build_with_chromium',
197 },
198
Jamie Madill8ba50492019-10-10 17:46:54 -0400199 'third_party/zlib': {
Jamie Madill9c2df982019-10-09 16:45:13 -0400200 'url': '{chromium_git}/chromium/src/third_party/zlib@ddebad26cfadeb4ecdfe3da8beb396a85cf90c91',
Edward Lemur8ae09b02018-06-01 14:18:28 -0400201 'condition': 'not build_with_chromium',
202 },
Frank Henigmand0ef13a2017-08-28 22:53:24 -0400203
Jamie Madill8ba50492019-10-10 17:46:54 -0400204 'tools/clang': {
Jamie Madill9c2df982019-10-09 16:45:13 -0400205 'url': '{chromium_git}/chromium/src/tools/clang.git@6bc727d9d80f2c3a97587676bb38c5472afe7e60',
Edward Lemur8ae09b02018-06-01 14:18:28 -0400206 'condition': 'not build_with_chromium',
207 },
Michael Spang229fc832019-01-21 18:09:15 -0500208
Jamie Madill8ba50492019-10-10 17:46:54 -0400209 'tools/md_browser': {
Robert Iannuccida8dad12019-08-08 19:40:48 -0700210 'url': '{chromium_git}/chromium/src/tools/md_browser@0bfd826f8566a99923e64a782908faca72bc457c',
Jamie Madill9f958342019-04-08 09:40:40 -0400211 'condition': 'not build_with_chromium',
Michael Spang229fc832019-01-21 18:09:15 -0500212 },
Jamie Madilldf0ce012019-09-05 11:04:39 -0400213
Jamie Madill8ba50492019-10-10 17:46:54 -0400214 'tools/memory': {
Jamie Madilldf0ce012019-09-05 11:04:39 -0400215 'url': '{chromium_git}/chromium/src/tools/memory@89552acb6e60f528fe3c98eac7b445d4c34183ee',
216 'condition': 'not build_with_chromium',
217 },
alokp@chromium.org29d56fb2010-04-06 15:42:22 +0000218}
219
alokp@chromium.org29d56fb2010-04-06 15:42:22 +0000220hooks = [
Jamie Madill2fdd3da2015-07-20 10:14:54 -0400221 # Pull clang-format binaries using checked-in hashes.
222 {
223 'name': 'clang_format_win',
224 'pattern': '.',
Edward Lemur8ae09b02018-06-01 14:18:28 -0400225 'condition': 'host_os == "win" and not build_with_chromium',
Jamie Madill2fdd3da2015-07-20 10:14:54 -0400226 'action': [ 'download_from_google_storage',
227 '--no_resume',
228 '--platform=win32',
229 '--no_auth',
230 '--bucket', 'chromium-clang-format',
Jamie Madill8ba50492019-10-10 17:46:54 -0400231 '-s', 'buildtools/win/clang-format.exe.sha1',
Jamie Madill2fdd3da2015-07-20 10:14:54 -0400232 ],
233 },
234 {
235 'name': 'clang_format_mac',
236 'pattern': '.',
Edward Lemur8ae09b02018-06-01 14:18:28 -0400237 'condition': 'host_os == "mac" and not build_with_chromium',
Jamie Madill2fdd3da2015-07-20 10:14:54 -0400238 'action': [ 'download_from_google_storage',
239 '--no_resume',
240 '--platform=darwin',
241 '--no_auth',
242 '--bucket', 'chromium-clang-format',
Jamie Madill8ba50492019-10-10 17:46:54 -0400243 '-s', 'buildtools/mac/clang-format.sha1',
Jamie Madill2fdd3da2015-07-20 10:14:54 -0400244 ],
245 },
246 {
247 'name': 'clang_format_linux',
248 'pattern': '.',
Edward Lemur8ae09b02018-06-01 14:18:28 -0400249 'condition': 'host_os == "linux" and not build_with_chromium',
Jamie Madill2fdd3da2015-07-20 10:14:54 -0400250 'action': [ 'download_from_google_storage',
251 '--no_resume',
252 '--platform=linux*',
253 '--no_auth',
254 '--bucket', 'chromium-clang-format',
Jamie Madill8ba50492019-10-10 17:46:54 -0400255 '-s', 'buildtools/linux64/clang-format.sha1',
Jamie Madill2fdd3da2015-07-20 10:14:54 -0400256 ],
257 },
Tobin Ehlis9d4277b2018-05-21 16:22:22 -0600258 {
259 'name': 'sysroot_x86',
260 'pattern': '.',
Edward Lemur8ae09b02018-06-01 14:18:28 -0400261 'condition': 'checkout_linux and ((checkout_x86 or checkout_x64) and not build_with_chromium)',
Jamie Madill8ba50492019-10-10 17:46:54 -0400262 'action': ['python', 'build/linux/sysroot_scripts/install-sysroot.py',
Tobin Ehlis9d4277b2018-05-21 16:22:22 -0600263 '--arch=x86'],
264 },
265 {
266 'name': 'sysroot_x64',
267 'pattern': '.',
Edward Lemur8ae09b02018-06-01 14:18:28 -0400268 'condition': 'checkout_linux and (checkout_x64 and not build_with_chromium)',
Jamie Madill8ba50492019-10-10 17:46:54 -0400269 'action': ['python', 'build/linux/sysroot_scripts/install-sysroot.py',
Tobin Ehlis9d4277b2018-05-21 16:22:22 -0600270 '--arch=x64'],
271 },
Jamie Madill027717f2018-04-13 15:51:24 -0400272 {
273 # Update the Windows toolchain if necessary. Must run before 'clang' below.
274 'name': 'win_toolchain',
275 'pattern': '.',
Edward Lemur8ae09b02018-06-01 14:18:28 -0400276 'condition': 'checkout_win and not build_with_chromium',
Jamie Madill8ba50492019-10-10 17:46:54 -0400277 'action': ['python', 'build/vs_toolchain.py', 'update', '--force'],
Jamie Madill027717f2018-04-13 15:51:24 -0400278 },
Geoff Lang66ae5312019-04-01 16:35:53 -0400279 {
280 # Update the Mac toolchain if necessary.
281 'name': 'mac_toolchain',
282 'pattern': '.',
283 'condition': 'checkout_mac and not build_with_chromium',
Jamie Madill8ba50492019-10-10 17:46:54 -0400284 'action': ['python', 'build/mac_toolchain.py'],
Geoff Lang66ae5312019-04-01 16:35:53 -0400285 },
Jamie Madill027717f2018-04-13 15:51:24 -0400286
alokp@chromium.org29d56fb2010-04-06 15:42:22 +0000287 {
Frank Henigmand0ef13a2017-08-28 22:53:24 -0400288 # Note: On Win, this should run after win_toolchain, as it may use it.
289 'name': 'clang',
290 'pattern': '.',
Jamie Madill8ba50492019-10-10 17:46:54 -0400291 'action': ['python', 'tools/clang/scripts/update.py'],
Edward Lemur8ae09b02018-06-01 14:18:28 -0400292 'condition': 'not build_with_chromium',
Frank Henigmand0ef13a2017-08-28 22:53:24 -0400293 },
Jamie Madill940c48b2017-10-23 23:25:17 -0400294
Shahbaz Youssefi957e9b82018-10-05 11:00:50 -0400295 {
296 # Update LASTCHANGE.
297 'name': 'lastchange',
298 'pattern': '.',
299 'condition': 'not build_with_chromium',
Jamie Madill8ba50492019-10-10 17:46:54 -0400300 'action': ['python', 'build/util/lastchange.py',
301 '-o', 'build/util/LASTCHANGE'],
Shahbaz Youssefi957e9b82018-10-05 11:00:50 -0400302 },
303
Jamie Madill940c48b2017-10-23 23:25:17 -0400304 # Pull rc binaries using checked-in hashes.
305 {
306 'name': 'rc_win',
307 'pattern': '.',
Edward Lemur8ae09b02018-06-01 14:18:28 -0400308 'condition': 'checkout_win and (host_os == "win" and not build_with_chromium)',
Jamie Madill940c48b2017-10-23 23:25:17 -0400309 'action': [ 'download_from_google_storage',
310 '--no_resume',
311 '--no_auth',
312 '--bucket', 'chromium-browser-clang/rc',
Jamie Madill8ba50492019-10-10 17:46:54 -0400313 '-s', 'build/toolchain/win/rc/win/rc.exe.sha1',
Jamie Madill940c48b2017-10-23 23:25:17 -0400314 ],
315 },
Michael Spang229fc832019-01-21 18:09:15 -0500316
317 {
318 'name': 'fuchsia_sdk',
319 'pattern': '.',
320 'condition': 'checkout_fuchsia and not build_with_chromium',
321 'action': [
322 'python',
Jamie Madill8ba50492019-10-10 17:46:54 -0400323 'build/fuchsia/update_sdk.py',
Michael Spang229fc832019-01-21 18:09:15 -0500324 ],
325 },
Jamie Madilld5ff4fa2019-04-08 09:25:23 -0400326
Shahbaz Youssefi82418c82019-04-05 15:56:03 -0400327 # Download glslang validator binary for Linux.
328 {
329 'name': 'linux_glslang_validator',
330 'pattern': '.',
331 'condition': 'checkout_linux and not build_with_chromium',
332 'action': [ 'download_from_google_storage',
333 '--no_resume',
334 '--platform=linux*',
335 '--no_auth',
336 '--bucket', 'angle-glslang-validator',
Jamie Madill8ba50492019-10-10 17:46:54 -0400337 '-s', 'tools/glslang/glslang_validator.sha1',
Shahbaz Youssefi82418c82019-04-05 15:56:03 -0400338 ],
339 },
340
Jamie Madilld5ff4fa2019-04-08 09:25:23 -0400341 # Download glslang validator binary for Windows.
342 {
343 'name': 'win_glslang_validator',
344 'pattern': '.',
345 'condition': 'checkout_win and not build_with_chromium',
346 'action': [ 'download_from_google_storage',
347 '--no_resume',
348 '--platform=win32*',
349 '--no_auth',
350 '--bucket', 'angle-glslang-validator',
Jamie Madill8ba50492019-10-10 17:46:54 -0400351 '-s', 'tools/glslang/glslang_validator.exe.sha1',
Jamie Madilld5ff4fa2019-04-08 09:25:23 -0400352 ],
353 },
alokp@chromium.org29d56fb2010-04-06 15:42:22 +0000354]
Jamie Madill20789312016-10-28 14:05:26 -0400355
356recursedeps = [
357 # buildtools provides clang_format.
Jamie Madill8ba50492019-10-10 17:46:54 -0400358 'buildtools',
Jamie Madill20789312016-10-28 14:05:26 -0400359]