blob: 899fe7e52f5dabdc262823e400094c36e96c04c3 [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',
buildbot9ccc5aa2017-07-12 07:30:12 -07005 'chromium_revision': '474df01407e5d38c85364ae4d1709b8d9af16f16',
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.
buildbot26b1f922017-06-29 04:32:17 -070010 'swarming_revision': 'a56c2b39ca23bdf41458421a7f825ddbf3f43f28',
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.
buildbot9ccc5aa2017-07-12 07:30:12 -070018 'boringssl_revision': '52586f952ecb624f823eb9ee5ef2eb41e644e7f5',
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.
buildbot9ccc5aa2017-07-12 07:30:12 -070026 'catapult_revision': '08d8c9f0860202115b653dc31a06d366a5978623',
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}
andrew@webrtc.org4ce52bb2012-07-31 21:54:13 +000032deps = {
kjellander@webrtc.org177567c2016-12-22 10:40:28 +010033 # TODO(kjellander): Move this to be Android-only once the libevent dependency
34 # in base/third_party/libevent is solved.
35 'src/base':
buildbot9ccc5aa2017-07-12 07:30:12 -070036 Var('chromium_git') + '/chromium/src/base' + '@' + '0f8a813ad84eb2c5ad41360a6abc2a4547e1fb78',
kjellander@webrtc.org177567c2016-12-22 10:40:28 +010037 'src/build':
buildbot9ccc5aa2017-07-12 07:30:12 -070038 Var('chromium_git') + '/chromium/src/build' + '@' + '25149ff9e45c17621e0eb08f936daf8616bf0250',
kjellander@webrtc.org177567c2016-12-22 10:40:28 +010039 'src/buildtools':
buildbot9ccc5aa2017-07-12 07:30:12 -070040 Var('chromium_git') + '/chromium/buildtools.git' + '@' + '3d2d34dde457f07ca410d1c06f4f3b9063c28643',
kjellander@webrtc.org177567c2016-12-22 10:40:28 +010041 'src/testing':
buildbot9ccc5aa2017-07-12 07:30:12 -070042 Var('chromium_git') + '/chromium/src/testing' + '@' + '1df95874250cfdd4afb74a023a0f07651a2f0964',
kjellander@webrtc.org177567c2016-12-22 10:40:28 +010043 'src/third_party':
buildbot9ccc5aa2017-07-12 07:30:12 -070044 Var('chromium_git') + '/chromium/src/third_party' + '@' + '6134bbcf7768767b30737a446e4704358c0bc4e6',
kjellander@webrtc.org177567c2016-12-22 10:40:28 +010045 'src/third_party/boringssl/src':
46 Var('boringssl_git') + '/boringssl.git' + '@' + Var('boringssl_revision'),
47 'src/third_party/catapult':
48 Var('chromium_git') + '/external/github.com/catapult-project/catapult.git' + '@' + Var('catapult_revision'),
49 'src/third_party/colorama/src':
50 Var('chromium_git') + '/external/colorama.git' + '@' + '799604a1041e9b3bc5d2789ecbd7e8db2e18e6b8',
51 'src/third_party/ffmpeg':
buildbot9ccc5aa2017-07-12 07:30:12 -070052 Var('chromium_git') + '/chromium/third_party/ffmpeg.git' + '@' + 'f82eb1989c0cdd5ed179ee4979ffb18a8030c78a',
kjellander3dae7052017-05-03 06:44:36 -070053 'src/third_party/googletest/src':
buildbot1c2378b2017-05-26 06:41:07 -070054 Var('chromium_git') + '/external/github.com/google/googletest.git' + '@' + '42bc671f47b122fad36db5eccbc06868afdf7862',
kjellander@webrtc.org177567c2016-12-22 10:40:28 +010055 'src/third_party/jsoncpp/source':
56 Var('chromium_git') + '/external/github.com/open-source-parsers/jsoncpp.git' + '@' + 'f572e8e42e22cfcf5ab0aea26574f408943edfa4', # from svn 248
kjellander@webrtc.org177567c2016-12-22 10:40:28 +010057 # Used for building libFuzzers (only supports Linux).
58 'src/third_party/libFuzzer/src':
59 Var('chromium_git') + '/chromium/llvm-project/llvm/lib/Fuzzer.git' + '@' + Var('libfuzzer_revision'),
kjellander@webrtc.org177567c2016-12-22 10:40:28 +010060 'src/third_party/libjpeg_turbo':
buildbot1c23e942017-04-20 09:30:13 -070061 Var('chromium_git') + '/chromium/deps/libjpeg_turbo.git' + '@' + 'a1750dbc79a8792dde3d3f7d7d8ac28ba01ac9dd',
kjellander@webrtc.org177567c2016-12-22 10:40:28 +010062 'src/third_party/libsrtp':
buildbotc9be3d52017-06-29 10:11:34 -070063 Var('chromium_git') + '/chromium/deps/libsrtp.git' + '@' + '1d45b8e599dc2db6ea3ae22dbc94a8c504652423',
kjellander@webrtc.org177567c2016-12-22 10:40:28 +010064 'src/third_party/libvpx/source/libvpx':
buildbot2fbd7712017-07-11 08:02:31 -070065 Var('chromium_git') + '/webm/libvpx.git' + '@' + '4e16f7070354fa91c1a617ee18335e580a0b8c8c',
kjellander@webrtc.org177567c2016-12-22 10:40:28 +010066 'src/third_party/libyuv':
buildbote9077412017-06-02 15:33:43 -070067 Var('chromium_git') + '/libyuv/libyuv.git' + '@' + '7bffe5e1c54bc22daebd57003735e61693719ac6',
kjellander@webrtc.org177567c2016-12-22 10:40:28 +010068 'src/third_party/openh264/src':
69 Var('chromium_git') + '/external/github.com/cisco/openh264' + '@' + '0fd88df93c5dcaf858c57eb7892bd27763f0f0ac',
70 'src/third_party/openmax_dl':
71 Var('chromium_git') + '/external/webrtc/deps/third_party/openmax.git' + '@' + Var('openmax_dl_revision'),
72 'src/third_party/usrsctp/usrsctplib':
buildbot1517caa2017-04-26 15:28:11 -070073 Var('chromium_git') + '/external/github.com/sctplab/usrsctp' + '@' + '2f6478eb8d40f1766a96b5b033ed26c0c2244589',
kjellander@webrtc.org177567c2016-12-22 10:40:28 +010074 'src/third_party/yasm/source/patched-yasm':
75 Var('chromium_git') + '/chromium/deps/yasm/patched-yasm.git' + '@' + '7da28c6c7c6a1387217352ce02b31754deb54d2a',
76 'src/tools':
buildbot9ccc5aa2017-07-12 07:30:12 -070077 Var('chromium_git') + '/chromium/src/tools' + '@' + 'cf3d62e9c2c91aca14ea0730c81b5160dd17999c',
kjellander@webrtc.org177567c2016-12-22 10:40:28 +010078 'src/tools/gyp':
buildbotf6b453f2017-04-17 15:22:57 -070079 Var('chromium_git') + '/external/gyp.git' + '@' + 'eb296f67da078ec01f5e3a9ea9cdc6d26d680161',
kjellander@webrtc.org177567c2016-12-22 10:40:28 +010080 'src/tools/swarming_client':
81 Var('chromium_git') + '/external/swarming.client.git' + '@' + Var('swarming_revision'),
kjellander@webrtc.org177567c2016-12-22 10:40:28 +010082 # WebRTC-only dependencies (not present in Chromium).
kjellander0012d182016-12-20 01:36:35 -080083 'src/third_party/gflags':
84 Var('chromium_git') + '/external/webrtc/deps/third_party/gflags' + '@' + '892576179b45861b53e04a112996a738309cf364',
kjellander@webrtc.org8e5c8142014-12-03 07:11:44 +000085 'src/third_party/gflags/src':
kjellander0012d182016-12-20 01:36:35 -080086 Var('chromium_git') + '/external/github.com/gflags/gflags' + '@' + '03bebcb065c83beff83d50ae025a55a4bf94dfca',
87 'src/third_party/gtest-parallel':
buildbot0fc6d872017-07-04 08:00:54 -070088 Var('chromium_git') + '/external/github.com/google/gtest-parallel' + '@' + '2a45a8d381bf1aa14071615bc787daa524e35236',
andrew@webrtc.org4ce52bb2012-07-31 21:54:13 +000089}
andrew@webrtc.org4ce52bb2012-07-31 21:54:13 +000090deps_os = {
kjellander@webrtc.org177567c2016-12-22 10:40:28 +010091 'android': {
92 'src/third_party/android_tools':
buildbot26b1f922017-06-29 04:32:17 -070093 Var('chromium_git') + '/android_tools.git' + '@' + 'e9d4018e149d50172ed462a7c21137aa915940ec',
kjellander@webrtc.org177567c2016-12-22 10:40:28 +010094 'src/third_party/ced/src':
buildbot10cf6842017-05-31 00:34:01 -070095 Var('chromium_git') + '/external/github.com/google/compact_enc_det.git' + '@' + '910cca22d881b02cbc8950fa02ccbcdcfb782456',
kjellander@webrtc.org177567c2016-12-22 10:40:28 +010096 'src/third_party/icu':
buildbote9077412017-06-02 15:33:43 -070097 Var('chromium_git') + '/chromium/deps/icu.git' + '@' + 'dfa798fe694702b43a3debc3290761f22b1acaf8',
kjellander@webrtc.org177567c2016-12-22 10:40:28 +010098 'src/third_party/jsr-305/src':
99 Var('chromium_git') + '/external/jsr-305.git' + '@' + '642c508235471f7220af6d5df2d3210e3bfc0919',
100 'src/third_party/junit/src':
101 Var('chromium_git') + '/external/junit.git' + '@' + '64155f8a9babcfcf4263cf4d08253a1556e75481',
102 'src/third_party/lss':
103 Var('chromium_git') + '/linux-syscall-support.git' + '@' + Var('lss_revision'),
104 'src/third_party/mockito/src':
105 Var('chromium_git') + '/external/mockito/mockito.git' + '@' + 'de83ad4598ad4cf5ea53c69a8a8053780b04b850',
106 'src/third_party/requests/src':
107 Var('chromium_git') + '/external/github.com/kennethreitz/requests.git' + '@' + 'f172b30356d821d180fa4ecfa3e71c7274a32de4',
108 'src/third_party/robolectric/robolectric':
kjellander251eb272017-04-05 22:49:24 -0700109 Var('chromium_git') + '/external/robolectric.git' + '@' + '2a0b6ba221c14f3371813a676ce06143353e448d',
kjellander@webrtc.org177567c2016-12-22 10:40:28 +0100110 'src/third_party/ub-uiautomator/lib':
111 Var('chromium_git') + '/chromium/third_party/ub-uiautomator.git' + '@' + '00270549ce3161ae72ceb24712618ea28b4f9434',
sakal2e3574d2017-05-09 02:10:57 -0700112 # Gradle 3.5.0. Used for testing Android Studio project generation for WebRTC.
113 'src/webrtc/examples/androidtests/third_party/gradle':
114 Var('chromium_git') + '/external/github.com/gradle/gradle.git' + '@' +
sakal5e56d6a2017-05-11 02:41:40 -0700115 'b762622a185d59ce0cfc9cbc6ab5dd22469e18a6',
kjellander@webrtc.org177567c2016-12-22 10:40:28 +0100116 },
Henrik Kjellanderc3c82362017-01-26 16:42:28 +0100117 'ios': {
118 'src/ios':
buildbot9ccc5aa2017-07-12 07:30:12 -0700119 Var('chromium_git') + '/chromium/src/ios' + '@' + '215d708659804cd08481a56c39ac8c74f151b875',
Henrik Kjellanderc3c82362017-01-26 16:42:28 +0100120 },
kjellander@webrtc.org177567c2016-12-22 10:40:28 +0100121 'unix': {
122 'src/third_party/lss':
123 Var('chromium_git') + '/linux-syscall-support.git' + '@' + Var('lss_revision'),
124 },
kjellander@webrtc.org8e5c8142014-12-03 07:11:44 +0000125 'win': {
kjellander@webrtc.org177567c2016-12-22 10:40:28 +0100126 # Dependencies used by libjpeg-turbo
127 'src/third_party/yasm/binaries':
128 Var('chromium_git') + '/chromium/deps/yasm/binaries.git' + '@' + '52f9b3f4b0aa06da24ef8b123058bb61ee468881',
kjellander@webrtc.org177567c2016-12-22 10:40:28 +0100129 # WebRTC-only dependency (not present in Chromium).
kjellander0012d182016-12-20 01:36:35 -0800130 'src/third_party/winsdk_samples':
kjellanderf70a5832017-02-26 18:12:04 -0800131 Var('chromium_git') + '/external/webrtc/deps/third_party/winsdk_samples_v71' + '@' + '2d31a1cbecc86359e6ec041fb9ff6c082babd073',
henrike@webrtc.org8d27a1c2013-07-23 18:15:11 +0000132 },
andrew@webrtc.org4ce52bb2012-07-31 21:54:13 +0000133}
kjellandere3b11aa2017-01-04 05:35:25 -0800134pre_deps_hooks = [
135 {
136 # Remove any symlinks from before 177567c518b121731e507e9b9c4049c4dc96e4c8.
137 # TODO(kjellander): Remove this in March 2017.
138 'name': 'cleanup_links',
139 'pattern': '.',
140 'action': ['python', 'src/cleanup_links.py'],
141 },
142]
andrew@webrtc.org4ce52bb2012-07-31 21:54:13 +0000143hooks = [
144 {
kjellander@webrtc.org0b0ac822014-10-09 09:11:27 +0000145 # Check for legacy named top-level dir (named 'trunk').
kjellander@webrtc.org8e5c8142014-12-03 07:11:44 +0000146 'name': 'check_root_dir_name',
147 'pattern': '.',
148 'action': ['python','-c',
149 ('import os,sys;'
150 'script = os.path.join("trunk","check_root_dir.py");'
151 '_ = os.system("%s %s" % (sys.executable,script)) '
152 'if os.path.exists(script) else 0')],
kjellander@webrtc.org0b0ac822014-10-09 09:11:27 +0000153 },
154 {
Henrik Kjellander27576e02015-10-15 14:24:09 +0200155 # This clobbers when necessary (based on get_landmines.py). It should be
156 # an early hook but it will need to be run after syncing Chromium and
157 # setting up the links, so the script actually exists.
158 'name': 'landmines',
159 'pattern': '.',
160 'action': [
161 'python',
162 'src/build/landmines.py',
163 '--landmine-scripts',
Henrik Kjellander90fd7d82017-05-09 08:30:10 +0200164 'src/tools_webrtc/get_landmines.py',
Henrik Kjellander27576e02015-10-15 14:24:09 +0200165 '--src-dir',
166 'src',
167 ],
168 },
kjellander24d812d2016-11-22 07:02:11 -0800169 # Android dependencies. Many are downloaded using Google Storage these days.
170 # They're copied from https://cs.chromium.org/chromium/src/DEPS for all
171 # such dependencies we share with Chromium.
172 {
kjellander@webrtc.org177567c2016-12-22 10:40:28 +0100173 # This downloads SDK extras and puts them in the
174 # third_party/android_tools/sdk/extras directory.
175 'name': 'sdkextras',
176 'pattern': '.',
177 # When adding a new sdk extras package to download, add the package
178 # directory and zip file to .gitignore in third_party/android_tools.
179 'action': ['python',
180 'src/build/android/play_services/update.py',
181 'download'
182 ],
183 },
184 {
kjellander24d812d2016-11-22 07:02:11 -0800185 'name': 'intellij',
186 'pattern': '.',
187 'action': ['python',
188 'src/build/android/update_deps/update_third_party_deps.py',
189 'download',
190 '-b', 'chromium-intellij',
191 '-l', 'third_party/intellij'
192 ],
193 },
194 {
195 'name': 'javax_inject',
196 'pattern': '.',
197 'action': ['python',
198 'src/build/android/update_deps/update_third_party_deps.py',
199 'download',
200 '-b', 'chromium-javax-inject',
201 '-l', 'third_party/javax_inject'
202 ],
203 },
204 {
205 'name': 'hamcrest',
206 'pattern': '.',
207 'action': ['python',
208 'src/build/android/update_deps/update_third_party_deps.py',
209 'download',
210 '-b', 'chromium-hamcrest',
211 '-l', 'third_party/hamcrest'
212 ],
213 },
214 {
215 'name': 'guava',
216 'pattern': '.',
217 'action': ['python',
218 'src/build/android/update_deps/update_third_party_deps.py',
219 'download',
220 '-b', 'chromium-guava',
221 '-l', 'third_party/guava'
222 ],
223 },
224 {
225 'name': 'android_support_test_runner',
226 'pattern': '.',
227 'action': ['python',
228 'src/build/android/update_deps/update_third_party_deps.py',
229 'download',
230 '-b', 'chromium-android-support-test-runner',
231 '-l', 'third_party/android_support_test_runner'
232 ],
233 },
234 {
235 'name': 'byte_buddy',
236 'pattern': '.',
237 'action': ['python',
238 'src/build/android/update_deps/update_third_party_deps.py',
239 'download',
240 '-b', 'chromium-byte-buddy',
241 '-l', 'third_party/byte_buddy'
242 ],
243 },
244 {
245 'name': 'espresso',
246 'pattern': '.',
247 'action': ['python',
248 'src/build/android/update_deps/update_third_party_deps.py',
249 'download',
250 '-b', 'chromium-espresso',
251 '-l', 'third_party/espresso'
252 ],
253 },
254 {
255 'name': 'robolectric_libs',
256 'pattern': '.',
257 'action': ['python',
258 'src/build/android/update_deps/update_third_party_deps.py',
259 'download',
260 '-b', 'chromium-robolectric',
261 '-l', 'third_party/robolectric'
262 ],
263 },
264 {
265 'name': 'apache_velocity',
266 'pattern': '.',
267 'action': ['python',
268 'src/build/android/update_deps/update_third_party_deps.py',
269 'download',
270 '-b', 'chromium-apache-velocity',
271 '-l', 'third_party/apache_velocity'
272 ],
273 },
274 {
275 'name': 'ow2_asm',
276 'pattern': '.',
277 'action': ['python',
278 'src/build/android/update_deps/update_third_party_deps.py',
279 'download',
280 '-b', 'chromium-ow2-asm',
281 '-l', 'third_party/ow2_asm'
282 ],
283 },
284 {
285 'name': 'icu4j',
286 'pattern': '.',
287 'action': ['python',
288 'src/build/android/update_deps/update_third_party_deps.py',
289 'download',
290 '-b', 'chromium-icu4j',
291 '-l', 'third_party/icu4j'
292 ],
293 },
294 {
295 'name': 'accessibility_test_framework',
296 'pattern': '.',
297 'action': ['python',
298 'src/build/android/update_deps/update_third_party_deps.py',
299 'download',
300 '-b', 'chromium-accessibility-test-framework',
301 '-l', 'third_party/accessibility_test_framework'
302 ],
303 },
304 {
305 'name': 'bouncycastle',
306 'pattern': '.',
307 'action': ['python',
308 'src/build/android/update_deps/update_third_party_deps.py',
309 'download',
310 '-b', 'chromium-bouncycastle',
311 '-l', 'third_party/bouncycastle'
312 ],
313 },
314 {
315 'name': 'sqlite4java',
316 'pattern': '.',
317 'action': ['python',
318 'src/build/android/update_deps/update_third_party_deps.py',
319 'download',
320 '-b', 'chromium-sqlite4java',
321 '-l', 'third_party/sqlite4java'
322 ],
323 },
324 {
kjellander90a11532017-03-21 04:12:51 -0700325 'name': 'xstream',
326 'pattern': '.',
327 'action': ['python',
328 'src/build/android/update_deps/update_third_party_deps.py',
329 'download',
330 '-b', 'chromium-robolectric',
331 '-l', 'third_party/xstream'
332 ],
333 },
334 {
kjellander24d812d2016-11-22 07:02:11 -0800335 'name': 'objenesis',
336 'pattern': '.',
337 'action': ['python',
338 'src/build/android/update_deps/update_third_party_deps.py',
339 'download',
340 '-b', 'chromium-objenesis',
341 '-l', 'third_party/objenesis'
342 ],
343 },
344 {
345 # Downloads the current stable linux sysroot to build/linux/ if needed.
346 # This sysroot updates at about the same rate that the chrome build deps
347 # change. This script is a no-op except for linux users who are doing
348 # official chrome builds or cross compiling.
349 'name': 'sysroot',
350 'pattern': '.',
351 'action': ['python', 'src/build/linux/sysroot_scripts/install-sysroot.py',
352 '--running-as-hook'],
353 },
354 {
355 # Update the Windows toolchain if necessary.
356 'name': 'win_toolchain',
357 'pattern': '.',
358 'action': ['python', 'src/build/vs_toolchain.py', 'update'],
359 },
360 # Pull binutils for linux, enabled debug fission for faster linking /
361 # debugging when used with clang on Ubuntu Precise.
362 # https://code.google.com/p/chromium/issues/detail?id=352046
363 {
364 'name': 'binutils',
365 'pattern': 'src/third_party/binutils',
366 'action': [
367 'python',
368 'src/third_party/binutils/download.py',
369 ],
370 },
371 {
372 # Pull clang if needed or requested via GYP_DEFINES.
373 # Note: On Win, this should run after win_toolchain, as it may use it.
374 'name': 'clang',
375 'pattern': '.',
376 'action': ['python', 'src/tools/clang/scripts/update.py', '--if-needed'],
377 },
ehmaldonado293bc2a2016-11-25 04:58:47 -0800378 {
379 # Update LASTCHANGE.
380 'name': 'lastchange',
381 'pattern': '.',
382 'action': ['python', 'src/build/util/lastchange.py',
383 '-o', 'src/build/util/LASTCHANGE'],
384 },
kjellander24d812d2016-11-22 07:02:11 -0800385 # Pull GN binaries.
386 {
387 'name': 'gn_win',
388 'pattern': '.',
389 'action': [ 'download_from_google_storage',
390 '--no_resume',
391 '--platform=win32',
392 '--no_auth',
393 '--bucket', 'chromium-gn',
394 '-s', 'src/buildtools/win/gn.exe.sha1',
395 ],
396 },
397 {
398 'name': 'gn_mac',
399 'pattern': '.',
400 'action': [ 'download_from_google_storage',
401 '--no_resume',
402 '--platform=darwin',
403 '--no_auth',
404 '--bucket', 'chromium-gn',
405 '-s', 'src/buildtools/mac/gn.sha1',
406 ],
407 },
408 {
409 'name': 'gn_linux64',
410 'pattern': '.',
411 'action': [ 'download_from_google_storage',
412 '--no_resume',
413 '--platform=linux*',
414 '--no_auth',
415 '--bucket', 'chromium-gn',
416 '-s', 'src/buildtools/linux64/gn.sha1',
417 ],
418 },
419 # Pull clang-format binaries using checked-in hashes.
420 {
421 'name': 'clang_format_win',
422 'pattern': '.',
423 'action': [ 'download_from_google_storage',
424 '--no_resume',
425 '--platform=win32',
426 '--no_auth',
427 '--bucket', 'chromium-clang-format',
428 '-s', 'src/buildtools/win/clang-format.exe.sha1',
429 ],
430 },
431 {
432 'name': 'clang_format_mac',
433 'pattern': '.',
434 'action': [ 'download_from_google_storage',
435 '--no_resume',
436 '--platform=darwin',
437 '--no_auth',
438 '--bucket', 'chromium-clang-format',
439 '-s', 'src/buildtools/mac/clang-format.sha1',
440 ],
441 },
442 {
443 'name': 'clang_format_linux',
444 'pattern': '.',
445 'action': [ 'download_from_google_storage',
446 '--no_resume',
447 '--platform=linux*',
448 '--no_auth',
449 '--bucket', 'chromium-clang-format',
450 '-s', 'src/buildtools/linux64/clang-format.sha1',
451 ],
452 },
453 # Pull luci-go binaries (isolate, swarming) using checked-in hashes.
454 {
455 'name': 'luci-go_win',
456 'pattern': '.',
457 'action': [ 'download_from_google_storage',
458 '--no_resume',
459 '--platform=win32',
460 '--no_auth',
461 '--bucket', 'chromium-luci',
462 '-d', 'src/tools/luci-go/win64',
463 ],
464 },
465 {
466 'name': 'luci-go_mac',
467 'pattern': '.',
468 'action': [ 'download_from_google_storage',
469 '--no_resume',
470 '--platform=darwin',
471 '--no_auth',
472 '--bucket', 'chromium-luci',
473 '-d', 'src/tools/luci-go/mac64',
474 ],
475 },
476 {
477 'name': 'luci-go_linux',
478 'pattern': '.',
479 'action': [ 'download_from_google_storage',
480 '--no_resume',
481 '--platform=linux*',
482 '--no_auth',
483 '--bucket', 'chromium-luci',
484 '-d', 'src/tools/luci-go/linux64',
485 ],
486 },
Henrik Kjellander55dad1b2017-05-11 12:00:53 +0200487 # Pull the Syzygy binaries, used for optimization and instrumentation.
488 {
489 'name': 'syzygy-binaries',
490 'pattern': '.',
491 'action': ['python',
492 'src/build/get_syzygy_binaries.py',
493 '--output-dir=src/third_party/syzygy/binaries',
494 '--revision=a8456d9248a126881dcfb8707ca7dcdae56e1ac7',
495 '--overwrite',
496 ],
497 },
kjellander24d812d2016-11-22 07:02:11 -0800498 {
499 # Pull sanitizer-instrumented third-party libraries if requested via
500 # GYP_DEFINES.
501 # See src/third_party/instrumented_libraries/scripts/download_binaries.py.
502 # TODO(kjellander): Update comment when GYP is completely cleaned up.
503 'name': 'instrumented_libraries',
504 'pattern': '\\.sha1',
505 'action': ['python', 'src/third_party/instrumented_libraries/scripts/download_binaries.py'],
506 },
507 {
kjellander@webrtc.org80174582013-11-04 12:07:57 +0000508 # Download test resources, i.e. video and audio files from Google Storage.
kjellander@webrtc.org8e5c8142014-12-03 07:11:44 +0000509 'pattern': '.',
510 'action': ['download_from_google_storage',
511 '--directory',
512 '--recursive',
513 '--num_threads=10',
514 '--no_auth',
kjellander4ff818e2015-12-18 12:29:28 -0800515 '--quiet',
kjellander@webrtc.org8e5c8142014-12-03 07:11:44 +0000516 '--bucket', 'chromium-webrtc-resources',
517 'src/resources'],
andrew@webrtc.org4ce52bb2012-07-31 21:54:13 +0000518 },
andrew@webrtc.org4ce52bb2012-07-31 21:54:13 +0000519]
kjellander24d812d2016-11-22 07:02:11 -0800520recursedeps = [
521 # buildtools provides clang_format, libc++, and libc++abi.
522 'src/buildtools',
523 # android_tools manages the NDK.
524 'src/third_party/android_tools',
525]