blob: 3ff2c9c6d835655ee221ad66c04e42c48b415cbf [file] [log] [blame]
kjellander@webrtc.org177567c2016-12-22 10:40:28 +01001# This file contains dependencies for WebRTC.
kjellander@webrtc.org89256622014-08-20 12:10:11 +00002
andrew@webrtc.org4ce52bb2012-07-31 21:54:13 +00003vars = {
kjellander@webrtc.org8e5c8142014-12-03 07:11:44 +00004 'chromium_git': 'https://chromium.googlesource.com',
buildbotbfa2bba2017-04-26 12:12:07 -07005 'chromium_revision': '1fbce15166ac6fdbd967a1249375afdbd711de8e',
kjellander@webrtc.org177567c2016-12-22 10:40:28 +01006 'boringssl_git': 'https://boringssl.googlesource.com',
7 # Three lines of non-changing comments so that
8 # the commit queue can handle CLs rolling swarming_client
9 # and whatever else without interference from each other.
buildbotd5f2b6f2017-02-17 12:26:24 -080010 'swarming_revision': '11e31afa5d330756ff87aa12064bb5d032896cb5',
kjellander@webrtc.org177567c2016-12-22 10:40:28 +010011 # Three lines of non-changing comments so that
12 # the commit queue can handle CLs rolling openmax_dl
13 # and whatever else without interference from each other.
14 'openmax_dl_revision': '7acede9c039ea5d14cf326f44aad1245b9e674a7',
15 # Three lines of non-changing comments so that
16 # the commit queue can handle CLs rolling BoringSSL
17 # and whatever else without interference from each other.
buildbot2b97e472017-04-19 15:25:16 -070018 'boringssl_revision': '777fdd6443d5f01420b67137118febdf56a1c8e4',
kjellander@webrtc.org177567c2016-12-22 10:40:28 +010019 # Three lines of non-changing comments so that
kjellander@webrtc.org177567c2016-12-22 10:40:28 +010020 # the commit queue can handle CLs rolling lss
21 # and whatever else without interference from each other.
kjellander251eb272017-04-05 22:49:24 -070022 'lss_revision': '63f24c8221a229f677d26ebe8f3d1528a9d787ac',
kjellander@webrtc.org177567c2016-12-22 10:40:28 +010023 # Three lines of non-changing comments so that
24 # the commit queue can handle CLs rolling catapult
25 # and whatever else without interference from each other.
buildbot59993c32017-04-25 18:17:14 -070026 'catapult_revision': '380124f4ad9d972449c81462ec99a4c916fcd2d8',
kjellander@webrtc.org177567c2016-12-22 10:40:28 +010027 # Three lines of non-changing comments so that
28 # the commit queue can handle CLs rolling libFuzzer
29 # and whatever else without interference from each other.
kjellander251eb272017-04-05 22:49:24 -070030 'libfuzzer_revision': '16f5f743c188c836d32cdaf349d5d3effb8a3518',
andrew@webrtc.org4ce52bb2012-07-31 21:54:13 +000031}
32
andrew@webrtc.org4ce52bb2012-07-31 21:54:13 +000033deps = {
kjellander@webrtc.org177567c2016-12-22 10:40:28 +010034 # TODO(kjellander): Move this to be Android-only once the libevent dependency
35 # in base/third_party/libevent is solved.
36 'src/base':
buildbotbfa2bba2017-04-26 12:12:07 -070037 Var('chromium_git') + '/chromium/src/base' + '@' + '8bebb39d14107f68b086ec94440e43fdc5f547e0',
kjellander@webrtc.org177567c2016-12-22 10:40:28 +010038 'src/build':
buildbotbfa2bba2017-04-26 12:12:07 -070039 Var('chromium_git') + '/chromium/src/build' + '@' + '676165048933dcc18509389ce8d59febd796c848',
kjellander@webrtc.org177567c2016-12-22 10:40:28 +010040 'src/buildtools':
buildbot2b97e472017-04-19 15:25:16 -070041 Var('chromium_git') + '/chromium/buildtools.git' + '@' + '98f00fa10dbad2cdbb2e297a66c3d6d5bc3994f3',
kjellander@webrtc.org177567c2016-12-22 10:40:28 +010042 'src/testing':
buildbotbfa2bba2017-04-26 12:12:07 -070043 Var('chromium_git') + '/chromium/src/testing' + '@' + 'd8d2a6bbeec020419bd6fd3a9eb6f4ca5ac916fb',
kjellander@webrtc.org177567c2016-12-22 10:40:28 +010044 'src/testing/gtest':
45 Var('chromium_git') + '/external/github.com/google/googletest.git' + '@' + '6f8a66431cb592dad629028a50b3dd418a408c87',
46 'src/testing/gmock':
47 Var('chromium_git') + '/external/googlemock.git' + '@' + '0421b6f358139f02e102c9c332ce19a33faf75be', # from svn revision 566
48 'src/third_party':
buildbotbfa2bba2017-04-26 12:12:07 -070049 Var('chromium_git') + '/chromium/src/third_party' + '@' + '01531e9c8088605b91b8118b1bf59798e344d9b6',
kjellander@webrtc.org177567c2016-12-22 10:40:28 +010050 'src/third_party/boringssl/src':
51 Var('boringssl_git') + '/boringssl.git' + '@' + Var('boringssl_revision'),
52 'src/third_party/catapult':
53 Var('chromium_git') + '/external/github.com/catapult-project/catapult.git' + '@' + Var('catapult_revision'),
54 'src/third_party/colorama/src':
55 Var('chromium_git') + '/external/colorama.git' + '@' + '799604a1041e9b3bc5d2789ecbd7e8db2e18e6b8',
56 'src/third_party/ffmpeg':
buildbot0efdf3e2017-04-11 21:15:49 -070057 Var('chromium_git') + '/chromium/third_party/ffmpeg.git' + '@' + '28a5cdde5c32bcf66715343c10f74e85713f7aaf',
kjellander@webrtc.org177567c2016-12-22 10:40:28 +010058 'src/third_party/jsoncpp/source':
59 Var('chromium_git') + '/external/github.com/open-source-parsers/jsoncpp.git' + '@' + 'f572e8e42e22cfcf5ab0aea26574f408943edfa4', # from svn 248
60
61 # Used for building libFuzzers (only supports Linux).
62 'src/third_party/libFuzzer/src':
63 Var('chromium_git') + '/chromium/llvm-project/llvm/lib/Fuzzer.git' + '@' + Var('libfuzzer_revision'),
64
65 'src/third_party/libjpeg_turbo':
buildbot1c23e942017-04-20 09:30:13 -070066 Var('chromium_git') + '/chromium/deps/libjpeg_turbo.git' + '@' + 'a1750dbc79a8792dde3d3f7d7d8ac28ba01ac9dd',
kjellander@webrtc.org177567c2016-12-22 10:40:28 +010067 'src/third_party/libsrtp':
kjellander251eb272017-04-05 22:49:24 -070068 Var('chromium_git') + '/chromium/deps/libsrtp.git' + '@' + 'ccf84786f8ef803cb9c75e919e5a3976b9f5a672',
kjellander@webrtc.org177567c2016-12-22 10:40:28 +010069 'src/third_party/libvpx/source/libvpx':
buildbot2784b692017-04-24 15:16:56 -070070 Var('chromium_git') + '/webm/libvpx.git' + '@' + 'b35f64241f0628987db592b5936dde58ca30b0db',
kjellander@webrtc.org177567c2016-12-22 10:40:28 +010071 'src/third_party/libyuv':
buildbotf6b453f2017-04-17 15:22:57 -070072 Var('chromium_git') + '/libyuv/libyuv.git' + '@' + 'fc02cc3806a394a6b887979ba74aa49955f3199b',
kjellander@webrtc.org177567c2016-12-22 10:40:28 +010073 'src/third_party/openh264/src':
74 Var('chromium_git') + '/external/github.com/cisco/openh264' + '@' + '0fd88df93c5dcaf858c57eb7892bd27763f0f0ac',
75 'src/third_party/openmax_dl':
76 Var('chromium_git') + '/external/webrtc/deps/third_party/openmax.git' + '@' + Var('openmax_dl_revision'),
77 'src/third_party/usrsctp/usrsctplib':
buildbot6969c562017-01-10 03:36:00 -080078 Var('chromium_git') + '/external/github.com/sctplab/usrsctp' + '@' + '8679f2b0bf063ac894dc473debefd61dbbebf622',
kjellander@webrtc.org177567c2016-12-22 10:40:28 +010079 'src/third_party/yasm/source/patched-yasm':
80 Var('chromium_git') + '/chromium/deps/yasm/patched-yasm.git' + '@' + '7da28c6c7c6a1387217352ce02b31754deb54d2a',
81 'src/tools':
buildbotbfa2bba2017-04-26 12:12:07 -070082 Var('chromium_git') + '/chromium/src/tools' + '@' + '57cbb986db2fc123a449a3db5e76d03877310a17',
kjellander@webrtc.org177567c2016-12-22 10:40:28 +010083 'src/tools/gyp':
buildbotf6b453f2017-04-17 15:22:57 -070084 Var('chromium_git') + '/external/gyp.git' + '@' + 'eb296f67da078ec01f5e3a9ea9cdc6d26d680161',
kjellander@webrtc.org177567c2016-12-22 10:40:28 +010085 'src/tools/swarming_client':
86 Var('chromium_git') + '/external/swarming.client.git' + '@' + Var('swarming_revision'),
87
88 # WebRTC-only dependencies (not present in Chromium).
kjellander0012d182016-12-20 01:36:35 -080089 'src/third_party/gflags':
90 Var('chromium_git') + '/external/webrtc/deps/third_party/gflags' + '@' + '892576179b45861b53e04a112996a738309cf364',
kjellander@webrtc.org8e5c8142014-12-03 07:11:44 +000091 'src/third_party/gflags/src':
kjellander0012d182016-12-20 01:36:35 -080092 Var('chromium_git') + '/external/github.com/gflags/gflags' + '@' + '03bebcb065c83beff83d50ae025a55a4bf94dfca',
93 'src/third_party/gtest-parallel':
buildbot828a6e12017-04-24 03:09:36 -070094 Var('chromium_git') + '/external/github.com/google/gtest-parallel' + '@' + '1da215f21b56c69f71ec4c7c77fbe097372c5667',
andrew@webrtc.org4ce52bb2012-07-31 21:54:13 +000095}
96
97deps_os = {
kjellander@webrtc.org177567c2016-12-22 10:40:28 +010098 'android': {
99 'src/third_party/android_tools':
kjellander251eb272017-04-05 22:49:24 -0700100 Var('chromium_git') + '/android_tools.git' + '@' + 'b65c4776dac2cf1b80e969b3b2d4e081b9c84f29',
kjellander@webrtc.org177567c2016-12-22 10:40:28 +0100101 'src/third_party/ced/src':
buildbot873abbd2017-03-09 00:01:25 -0800102 Var('chromium_git') + '/external/github.com/google/compact_enc_det.git' + '@' + 'e21eb6aed10b9f6e2727f136c52420033214d458',
kjellander@webrtc.org177567c2016-12-22 10:40:28 +0100103 'src/third_party/icu':
buildbot0efdf3e2017-04-11 21:15:49 -0700104 Var('chromium_git') + '/chromium/deps/icu.git' + '@' + 'b34251f8b762f8e2112a89c587855ca4297fed96',
kjellander@webrtc.org177567c2016-12-22 10:40:28 +0100105 'src/third_party/jsr-305/src':
106 Var('chromium_git') + '/external/jsr-305.git' + '@' + '642c508235471f7220af6d5df2d3210e3bfc0919',
107 'src/third_party/junit/src':
108 Var('chromium_git') + '/external/junit.git' + '@' + '64155f8a9babcfcf4263cf4d08253a1556e75481',
109 'src/third_party/lss':
110 Var('chromium_git') + '/linux-syscall-support.git' + '@' + Var('lss_revision'),
111 'src/third_party/mockito/src':
112 Var('chromium_git') + '/external/mockito/mockito.git' + '@' + 'de83ad4598ad4cf5ea53c69a8a8053780b04b850',
113 'src/third_party/requests/src':
114 Var('chromium_git') + '/external/github.com/kennethreitz/requests.git' + '@' + 'f172b30356d821d180fa4ecfa3e71c7274a32de4',
115 'src/third_party/robolectric/robolectric':
kjellander251eb272017-04-05 22:49:24 -0700116 Var('chromium_git') + '/external/robolectric.git' + '@' + '2a0b6ba221c14f3371813a676ce06143353e448d',
kjellander@webrtc.org177567c2016-12-22 10:40:28 +0100117 'src/third_party/ub-uiautomator/lib':
118 Var('chromium_git') + '/chromium/third_party/ub-uiautomator.git' + '@' + '00270549ce3161ae72ceb24712618ea28b4f9434',
119 },
Henrik Kjellanderc3c82362017-01-26 16:42:28 +0100120 'ios': {
121 'src/ios':
buildbotbfa2bba2017-04-26 12:12:07 -0700122 Var('chromium_git') + '/chromium/src/ios' + '@' + '1717d5b461fbca601665533d79f4c37f1cc938d4',
Henrik Kjellanderc3c82362017-01-26 16:42:28 +0100123 },
kjellander@webrtc.org177567c2016-12-22 10:40:28 +0100124 'unix': {
125 'src/third_party/lss':
126 Var('chromium_git') + '/linux-syscall-support.git' + '@' + Var('lss_revision'),
127 },
kjellander@webrtc.org8e5c8142014-12-03 07:11:44 +0000128 'win': {
kjellander@webrtc.org177567c2016-12-22 10:40:28 +0100129 # Dependencies used by libjpeg-turbo
130 'src/third_party/yasm/binaries':
131 Var('chromium_git') + '/chromium/deps/yasm/binaries.git' + '@' + '52f9b3f4b0aa06da24ef8b123058bb61ee468881',
132
133 # WebRTC-only dependency (not present in Chromium).
kjellander0012d182016-12-20 01:36:35 -0800134 'src/third_party/winsdk_samples':
kjellanderf70a5832017-02-26 18:12:04 -0800135 Var('chromium_git') + '/external/webrtc/deps/third_party/winsdk_samples_v71' + '@' + '2d31a1cbecc86359e6ec041fb9ff6c082babd073',
henrike@webrtc.org8d27a1c2013-07-23 18:15:11 +0000136 },
andrew@webrtc.org4ce52bb2012-07-31 21:54:13 +0000137}
138
kjellandere3b11aa2017-01-04 05:35:25 -0800139pre_deps_hooks = [
140 {
141 # Remove any symlinks from before 177567c518b121731e507e9b9c4049c4dc96e4c8.
142 # TODO(kjellander): Remove this in March 2017.
143 'name': 'cleanup_links',
144 'pattern': '.',
145 'action': ['python', 'src/cleanup_links.py'],
146 },
147]
148
andrew@webrtc.org4ce52bb2012-07-31 21:54:13 +0000149hooks = [
150 {
kjellander@webrtc.org0b0ac822014-10-09 09:11:27 +0000151 # Check for legacy named top-level dir (named 'trunk').
kjellander@webrtc.org8e5c8142014-12-03 07:11:44 +0000152 'name': 'check_root_dir_name',
153 'pattern': '.',
154 'action': ['python','-c',
155 ('import os,sys;'
156 'script = os.path.join("trunk","check_root_dir.py");'
157 '_ = os.system("%s %s" % (sys.executable,script)) '
158 'if os.path.exists(script) else 0')],
kjellander@webrtc.org0b0ac822014-10-09 09:11:27 +0000159 },
160 {
Henrik Kjellander27576e02015-10-15 14:24:09 +0200161 # This clobbers when necessary (based on get_landmines.py). It should be
162 # an early hook but it will need to be run after syncing Chromium and
163 # setting up the links, so the script actually exists.
164 'name': 'landmines',
165 'pattern': '.',
166 'action': [
167 'python',
168 'src/build/landmines.py',
169 '--landmine-scripts',
mbonadeiad452282017-01-24 00:01:49 -0800170 'src/tools-webrtc/get_landmines.py',
Henrik Kjellander27576e02015-10-15 14:24:09 +0200171 '--src-dir',
172 'src',
173 ],
174 },
kjellander24d812d2016-11-22 07:02:11 -0800175 # Android dependencies. Many are downloaded using Google Storage these days.
176 # They're copied from https://cs.chromium.org/chromium/src/DEPS for all
177 # such dependencies we share with Chromium.
178 {
kjellander@webrtc.org177567c2016-12-22 10:40:28 +0100179 # This downloads SDK extras and puts them in the
180 # third_party/android_tools/sdk/extras directory.
181 'name': 'sdkextras',
182 'pattern': '.',
183 # When adding a new sdk extras package to download, add the package
184 # directory and zip file to .gitignore in third_party/android_tools.
185 'action': ['python',
186 'src/build/android/play_services/update.py',
187 'download'
188 ],
189 },
190 {
kjellander24d812d2016-11-22 07:02:11 -0800191 'name': 'intellij',
192 'pattern': '.',
193 'action': ['python',
194 'src/build/android/update_deps/update_third_party_deps.py',
195 'download',
196 '-b', 'chromium-intellij',
197 '-l', 'third_party/intellij'
198 ],
199 },
200 {
201 'name': 'javax_inject',
202 'pattern': '.',
203 'action': ['python',
204 'src/build/android/update_deps/update_third_party_deps.py',
205 'download',
206 '-b', 'chromium-javax-inject',
207 '-l', 'third_party/javax_inject'
208 ],
209 },
210 {
211 'name': 'hamcrest',
212 'pattern': '.',
213 'action': ['python',
214 'src/build/android/update_deps/update_third_party_deps.py',
215 'download',
216 '-b', 'chromium-hamcrest',
217 '-l', 'third_party/hamcrest'
218 ],
219 },
220 {
221 'name': 'guava',
222 'pattern': '.',
223 'action': ['python',
224 'src/build/android/update_deps/update_third_party_deps.py',
225 'download',
226 '-b', 'chromium-guava',
227 '-l', 'third_party/guava'
228 ],
229 },
230 {
231 'name': 'android_support_test_runner',
232 'pattern': '.',
233 'action': ['python',
234 'src/build/android/update_deps/update_third_party_deps.py',
235 'download',
236 '-b', 'chromium-android-support-test-runner',
237 '-l', 'third_party/android_support_test_runner'
238 ],
239 },
240 {
241 'name': 'byte_buddy',
242 'pattern': '.',
243 'action': ['python',
244 'src/build/android/update_deps/update_third_party_deps.py',
245 'download',
246 '-b', 'chromium-byte-buddy',
247 '-l', 'third_party/byte_buddy'
248 ],
249 },
250 {
251 'name': 'espresso',
252 'pattern': '.',
253 'action': ['python',
254 'src/build/android/update_deps/update_third_party_deps.py',
255 'download',
256 '-b', 'chromium-espresso',
257 '-l', 'third_party/espresso'
258 ],
259 },
260 {
261 'name': 'robolectric_libs',
262 'pattern': '.',
263 'action': ['python',
264 'src/build/android/update_deps/update_third_party_deps.py',
265 'download',
266 '-b', 'chromium-robolectric',
267 '-l', 'third_party/robolectric'
268 ],
269 },
270 {
271 'name': 'apache_velocity',
272 'pattern': '.',
273 'action': ['python',
274 'src/build/android/update_deps/update_third_party_deps.py',
275 'download',
276 '-b', 'chromium-apache-velocity',
277 '-l', 'third_party/apache_velocity'
278 ],
279 },
280 {
281 'name': 'ow2_asm',
282 'pattern': '.',
283 'action': ['python',
284 'src/build/android/update_deps/update_third_party_deps.py',
285 'download',
286 '-b', 'chromium-ow2-asm',
287 '-l', 'third_party/ow2_asm'
288 ],
289 },
290 {
291 'name': 'icu4j',
292 'pattern': '.',
293 'action': ['python',
294 'src/build/android/update_deps/update_third_party_deps.py',
295 'download',
296 '-b', 'chromium-icu4j',
297 '-l', 'third_party/icu4j'
298 ],
299 },
300 {
301 'name': 'accessibility_test_framework',
302 'pattern': '.',
303 'action': ['python',
304 'src/build/android/update_deps/update_third_party_deps.py',
305 'download',
306 '-b', 'chromium-accessibility-test-framework',
307 '-l', 'third_party/accessibility_test_framework'
308 ],
309 },
310 {
311 'name': 'bouncycastle',
312 'pattern': '.',
313 'action': ['python',
314 'src/build/android/update_deps/update_third_party_deps.py',
315 'download',
316 '-b', 'chromium-bouncycastle',
317 '-l', 'third_party/bouncycastle'
318 ],
319 },
320 {
321 'name': 'sqlite4java',
322 'pattern': '.',
323 'action': ['python',
324 'src/build/android/update_deps/update_third_party_deps.py',
325 'download',
326 '-b', 'chromium-sqlite4java',
327 '-l', 'third_party/sqlite4java'
328 ],
329 },
330 {
kjellander90a11532017-03-21 04:12:51 -0700331 'name': 'xstream',
332 'pattern': '.',
333 'action': ['python',
334 'src/build/android/update_deps/update_third_party_deps.py',
335 'download',
336 '-b', 'chromium-robolectric',
337 '-l', 'third_party/xstream'
338 ],
339 },
340 {
kjellander24d812d2016-11-22 07:02:11 -0800341 'name': 'objenesis',
342 'pattern': '.',
343 'action': ['python',
344 'src/build/android/update_deps/update_third_party_deps.py',
345 'download',
346 '-b', 'chromium-objenesis',
347 '-l', 'third_party/objenesis'
348 ],
349 },
350 {
351 # Downloads the current stable linux sysroot to build/linux/ if needed.
352 # This sysroot updates at about the same rate that the chrome build deps
353 # change. This script is a no-op except for linux users who are doing
354 # official chrome builds or cross compiling.
355 'name': 'sysroot',
356 'pattern': '.',
357 'action': ['python', 'src/build/linux/sysroot_scripts/install-sysroot.py',
358 '--running-as-hook'],
359 },
360 {
361 # Update the Windows toolchain if necessary.
362 'name': 'win_toolchain',
363 'pattern': '.',
364 'action': ['python', 'src/build/vs_toolchain.py', 'update'],
365 },
366 # Pull binutils for linux, enabled debug fission for faster linking /
367 # debugging when used with clang on Ubuntu Precise.
368 # https://code.google.com/p/chromium/issues/detail?id=352046
369 {
370 'name': 'binutils',
371 'pattern': 'src/third_party/binutils',
372 'action': [
373 'python',
374 'src/third_party/binutils/download.py',
375 ],
376 },
377 {
378 # Pull clang if needed or requested via GYP_DEFINES.
379 # Note: On Win, this should run after win_toolchain, as it may use it.
380 'name': 'clang',
381 'pattern': '.',
382 'action': ['python', 'src/tools/clang/scripts/update.py', '--if-needed'],
383 },
ehmaldonado293bc2a2016-11-25 04:58:47 -0800384 {
385 # Update LASTCHANGE.
386 'name': 'lastchange',
387 'pattern': '.',
388 'action': ['python', 'src/build/util/lastchange.py',
389 '-o', 'src/build/util/LASTCHANGE'],
390 },
kjellander24d812d2016-11-22 07:02:11 -0800391 # Pull GN binaries.
392 {
393 'name': 'gn_win',
394 'pattern': '.',
395 'action': [ 'download_from_google_storage',
396 '--no_resume',
397 '--platform=win32',
398 '--no_auth',
399 '--bucket', 'chromium-gn',
400 '-s', 'src/buildtools/win/gn.exe.sha1',
401 ],
402 },
403 {
404 'name': 'gn_mac',
405 'pattern': '.',
406 'action': [ 'download_from_google_storage',
407 '--no_resume',
408 '--platform=darwin',
409 '--no_auth',
410 '--bucket', 'chromium-gn',
411 '-s', 'src/buildtools/mac/gn.sha1',
412 ],
413 },
414 {
415 'name': 'gn_linux64',
416 'pattern': '.',
417 'action': [ 'download_from_google_storage',
418 '--no_resume',
419 '--platform=linux*',
420 '--no_auth',
421 '--bucket', 'chromium-gn',
422 '-s', 'src/buildtools/linux64/gn.sha1',
423 ],
424 },
425 # Pull clang-format binaries using checked-in hashes.
426 {
427 'name': 'clang_format_win',
428 'pattern': '.',
429 'action': [ 'download_from_google_storage',
430 '--no_resume',
431 '--platform=win32',
432 '--no_auth',
433 '--bucket', 'chromium-clang-format',
434 '-s', 'src/buildtools/win/clang-format.exe.sha1',
435 ],
436 },
437 {
438 'name': 'clang_format_mac',
439 'pattern': '.',
440 'action': [ 'download_from_google_storage',
441 '--no_resume',
442 '--platform=darwin',
443 '--no_auth',
444 '--bucket', 'chromium-clang-format',
445 '-s', 'src/buildtools/mac/clang-format.sha1',
446 ],
447 },
448 {
449 'name': 'clang_format_linux',
450 'pattern': '.',
451 'action': [ 'download_from_google_storage',
452 '--no_resume',
453 '--platform=linux*',
454 '--no_auth',
455 '--bucket', 'chromium-clang-format',
456 '-s', 'src/buildtools/linux64/clang-format.sha1',
457 ],
458 },
459 # Pull luci-go binaries (isolate, swarming) using checked-in hashes.
460 {
461 'name': 'luci-go_win',
462 'pattern': '.',
463 'action': [ 'download_from_google_storage',
464 '--no_resume',
465 '--platform=win32',
466 '--no_auth',
467 '--bucket', 'chromium-luci',
468 '-d', 'src/tools/luci-go/win64',
469 ],
470 },
471 {
472 'name': 'luci-go_mac',
473 'pattern': '.',
474 'action': [ 'download_from_google_storage',
475 '--no_resume',
476 '--platform=darwin',
477 '--no_auth',
478 '--bucket', 'chromium-luci',
479 '-d', 'src/tools/luci-go/mac64',
480 ],
481 },
482 {
483 'name': 'luci-go_linux',
484 'pattern': '.',
485 'action': [ 'download_from_google_storage',
486 '--no_resume',
487 '--platform=linux*',
488 '--no_auth',
489 '--bucket', 'chromium-luci',
490 '-d', 'src/tools/luci-go/linux64',
491 ],
492 },
493 # Pull the Syzygy binaries, used for optimization and instrumentation.
494 {
495 'name': 'syzygy-binaries',
496 'pattern': '.',
497 'action': ['python',
498 'src/build/get_syzygy_binaries.py',
499 '--output-dir=src/third_party/syzygy/binaries',
500 '--revision=a8456d9248a126881dcfb8707ca7dcdae56e1ac7',
501 '--overwrite',
502 ],
503 },
504 {
505 # Pull sanitizer-instrumented third-party libraries if requested via
506 # GYP_DEFINES.
507 # See src/third_party/instrumented_libraries/scripts/download_binaries.py.
508 # TODO(kjellander): Update comment when GYP is completely cleaned up.
509 'name': 'instrumented_libraries',
510 'pattern': '\\.sha1',
511 'action': ['python', 'src/third_party/instrumented_libraries/scripts/download_binaries.py'],
512 },
513 {
514 'name': 'clang_format_merge_driver',
515 'pattern': '.',
516 'action': [ 'python',
517 'src/tools/clang_format_merge_driver/install_git_hook.py',
518 ],
519 },
Henrik Kjellandera49f5152015-03-25 13:48:55 +0100520 {
kjellander@webrtc.org80174582013-11-04 12:07:57 +0000521 # Download test resources, i.e. video and audio files from Google Storage.
kjellander@webrtc.org8e5c8142014-12-03 07:11:44 +0000522 'pattern': '.',
523 'action': ['download_from_google_storage',
524 '--directory',
525 '--recursive',
526 '--num_threads=10',
527 '--no_auth',
kjellander4ff818e2015-12-18 12:29:28 -0800528 '--quiet',
kjellander@webrtc.org8e5c8142014-12-03 07:11:44 +0000529 '--bucket', 'chromium-webrtc-resources',
530 'src/resources'],
andrew@webrtc.org4ce52bb2012-07-31 21:54:13 +0000531 },
andrew@webrtc.org4ce52bb2012-07-31 21:54:13 +0000532]
533
kjellander24d812d2016-11-22 07:02:11 -0800534recursedeps = [
535 # buildtools provides clang_format, libc++, and libc++abi.
536 'src/buildtools',
537 # android_tools manages the NDK.
538 'src/third_party/android_tools',
539]
540