blob: 57cab1f0a6a13ae80b8bedaf439b9d48b30e34c0 [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',
buildbot1cfa7762017-08-08 00:33:39 -07005 'chromium_revision': '034f09fb84756039a913e27ceba7556ad8ffb891',
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.
buildbot2f1d4ac2017-08-07 18:58:01 -070010 'swarming_revision': '42721e128da760b345ab60d7cf34e300269112d7',
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.
buildbot6f1f8e92017-08-02 01:27:32 -070018 'boringssl_revision': 'a4cb62f0ae6566068aef0742eb1cd46227d7dffd',
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.
buildbot1cfa7762017-08-08 00:33:39 -070026 'catapult_revision': 'f216fdb54fb040af4fa707af64bd0c8d345af121',
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':
buildbot1cfa7762017-08-08 00:33:39 -070036 Var('chromium_git') + '/chromium/src/base' + '@' + 'a3015b8d15c1b9d4ad7ea4f57d7404556a5c2617',
kjellander@webrtc.org177567c2016-12-22 10:40:28 +010037 'src/build':
buildbot1cfa7762017-08-08 00:33:39 -070038 Var('chromium_git') + '/chromium/src/build' + '@' + '0e747a989aafc5518e9efe7876f99e8a10dd8e06',
kjellander@webrtc.org177567c2016-12-22 10:40:28 +010039 'src/buildtools':
buildbot1b20dc42017-08-07 12:55:14 -070040 Var('chromium_git') + '/chromium/buildtools.git' + '@' + 'f4bcb07d88cdb7d748813c3d150e08bf88435fb9',
kjellander@webrtc.org177567c2016-12-22 10:40:28 +010041 'src/testing':
buildbot1cfa7762017-08-08 00:33:39 -070042 Var('chromium_git') + '/chromium/src/testing' + '@' + '2ac626fe1dab6b79e570338272f3748c30425365',
kjellander@webrtc.org177567c2016-12-22 10:40:28 +010043 'src/third_party':
buildbot1cfa7762017-08-08 00:33:39 -070044 Var('chromium_git') + '/chromium/src/third_party' + '@' + '2429fc588b9f6b329a9e86197700f2665c3ed99f',
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',
oprypin40e7ebd2017-07-27 01:40:18 -070051 'src/third_party/depot_tools':
52 Var('chromium_git') + '/chromium/tools/depot_tools.git' + '@' + '6d0d04458d9c345bc7d77681996d89d6e5fc742c',
kjellander@webrtc.org177567c2016-12-22 10:40:28 +010053 'src/third_party/ffmpeg':
buildbot1cfa7762017-08-08 00:33:39 -070054 Var('chromium_git') + '/chromium/third_party/ffmpeg.git' + '@' + 'dbbdb1680bd8e77ea72f8e5a79a09101bd7a9bdd',
kjellander3dae7052017-05-03 06:44:36 -070055 'src/third_party/googletest/src':
buildbot1c2378b2017-05-26 06:41:07 -070056 Var('chromium_git') + '/external/github.com/google/googletest.git' + '@' + '42bc671f47b122fad36db5eccbc06868afdf7862',
kjellander@webrtc.org177567c2016-12-22 10:40:28 +010057 'src/third_party/jsoncpp/source':
58 Var('chromium_git') + '/external/github.com/open-source-parsers/jsoncpp.git' + '@' + 'f572e8e42e22cfcf5ab0aea26574f408943edfa4', # from svn 248
kjellander@webrtc.org177567c2016-12-22 10:40:28 +010059 # Used for building libFuzzers (only supports Linux).
60 'src/third_party/libFuzzer/src':
61 Var('chromium_git') + '/chromium/llvm-project/llvm/lib/Fuzzer.git' + '@' + Var('libfuzzer_revision'),
kjellander@webrtc.org177567c2016-12-22 10:40:28 +010062 'src/third_party/libjpeg_turbo':
buildbot1c23e942017-04-20 09:30:13 -070063 Var('chromium_git') + '/chromium/deps/libjpeg_turbo.git' + '@' + 'a1750dbc79a8792dde3d3f7d7d8ac28ba01ac9dd',
kjellander@webrtc.org177567c2016-12-22 10:40:28 +010064 'src/third_party/libsrtp':
buildbotc9be3d52017-06-29 10:11:34 -070065 Var('chromium_git') + '/chromium/deps/libsrtp.git' + '@' + '1d45b8e599dc2db6ea3ae22dbc94a8c504652423',
kjellander@webrtc.org177567c2016-12-22 10:40:28 +010066 'src/third_party/libvpx/source/libvpx':
buildbot6f1f8e92017-08-02 01:27:32 -070067 Var('chromium_git') + '/webm/libvpx.git' + '@' + 'c22b17dcefe05981918e4b7d0b6527c27e9ceda8',
kjellander@webrtc.org177567c2016-12-22 10:40:28 +010068 'src/third_party/libyuv':
buildbot1b20dc42017-08-07 12:55:14 -070069 Var('chromium_git') + '/libyuv/libyuv.git' + '@' + '27036e33e86c9ce3b5087d55c18bf04964343c60',
kjellander@webrtc.org177567c2016-12-22 10:40:28 +010070 'src/third_party/openh264/src':
71 Var('chromium_git') + '/external/github.com/cisco/openh264' + '@' + '0fd88df93c5dcaf858c57eb7892bd27763f0f0ac',
72 'src/third_party/openmax_dl':
73 Var('chromium_git') + '/external/webrtc/deps/third_party/openmax.git' + '@' + Var('openmax_dl_revision'),
74 'src/third_party/usrsctp/usrsctplib':
buildbot1b20dc42017-08-07 12:55:14 -070075 Var('chromium_git') + '/external/github.com/sctplab/usrsctp' + '@' + 'f4819e1b177f7bfdd761c147f5a649b9f1a78c06',
kjellander@webrtc.org177567c2016-12-22 10:40:28 +010076 'src/third_party/yasm/source/patched-yasm':
77 Var('chromium_git') + '/chromium/deps/yasm/patched-yasm.git' + '@' + '7da28c6c7c6a1387217352ce02b31754deb54d2a',
78 'src/tools':
buildbot1cfa7762017-08-08 00:33:39 -070079 Var('chromium_git') + '/chromium/src/tools' + '@' + 'eb0ff3f229a686f3ab7c87c755638f2e3c74a4f6',
kjellander@webrtc.org177567c2016-12-22 10:40:28 +010080 'src/tools/gyp':
buildbot2f0803c2017-07-25 11:40:43 -070081 Var('chromium_git') + '/external/gyp.git' + '@' + 'd61a9397e668fa9843c4aa7da9e79460fe590bfb',
kjellander@webrtc.org177567c2016-12-22 10:40:28 +010082 'src/tools/swarming_client':
83 Var('chromium_git') + '/external/swarming.client.git' + '@' + Var('swarming_revision'),
kjellander@webrtc.org177567c2016-12-22 10:40:28 +010084 # WebRTC-only dependencies (not present in Chromium).
kjellander0012d182016-12-20 01:36:35 -080085 'src/third_party/gflags':
86 Var('chromium_git') + '/external/webrtc/deps/third_party/gflags' + '@' + '892576179b45861b53e04a112996a738309cf364',
kjellander@webrtc.org8e5c8142014-12-03 07:11:44 +000087 'src/third_party/gflags/src':
kjellander0012d182016-12-20 01:36:35 -080088 Var('chromium_git') + '/external/github.com/gflags/gflags' + '@' + '03bebcb065c83beff83d50ae025a55a4bf94dfca',
89 'src/third_party/gtest-parallel':
buildbot26152432017-07-12 19:02:25 -070090 Var('chromium_git') + '/external/github.com/google/gtest-parallel' + '@' + '6f65b6ce25e10f08c9553e825500232f4d585b56',
andrew@webrtc.org4ce52bb2012-07-31 21:54:13 +000091}
andrew@webrtc.org4ce52bb2012-07-31 21:54:13 +000092deps_os = {
kjellander@webrtc.org177567c2016-12-22 10:40:28 +010093 'android': {
94 'src/third_party/android_tools':
buildbot26b1f922017-06-29 04:32:17 -070095 Var('chromium_git') + '/android_tools.git' + '@' + 'e9d4018e149d50172ed462a7c21137aa915940ec',
kjellander@webrtc.org177567c2016-12-22 10:40:28 +010096 'src/third_party/ced/src':
buildbot10cf6842017-05-31 00:34:01 -070097 Var('chromium_git') + '/external/github.com/google/compact_enc_det.git' + '@' + '910cca22d881b02cbc8950fa02ccbcdcfb782456',
kjellander@webrtc.org177567c2016-12-22 10:40:28 +010098 'src/third_party/icu':
buildbot2f1d4ac2017-08-07 18:58:01 -070099 Var('chromium_git') + '/chromium/deps/icu.git' + '@' + '98218d1e92b919412ac4b27e5af8e37138d7e347',
kjellander@webrtc.org177567c2016-12-22 10:40:28 +0100100 'src/third_party/jsr-305/src':
101 Var('chromium_git') + '/external/jsr-305.git' + '@' + '642c508235471f7220af6d5df2d3210e3bfc0919',
102 'src/third_party/junit/src':
103 Var('chromium_git') + '/external/junit.git' + '@' + '64155f8a9babcfcf4263cf4d08253a1556e75481',
104 'src/third_party/lss':
105 Var('chromium_git') + '/linux-syscall-support.git' + '@' + Var('lss_revision'),
106 'src/third_party/mockito/src':
107 Var('chromium_git') + '/external/mockito/mockito.git' + '@' + 'de83ad4598ad4cf5ea53c69a8a8053780b04b850',
108 'src/third_party/requests/src':
109 Var('chromium_git') + '/external/github.com/kennethreitz/requests.git' + '@' + 'f172b30356d821d180fa4ecfa3e71c7274a32de4',
110 'src/third_party/robolectric/robolectric':
buildbot2f0803c2017-07-25 11:40:43 -0700111 Var('chromium_git') + '/external/robolectric.git' + '@' + '0ccaf33cf6a6d98cbef7d0f3604fda45b13cce54',
kjellander@webrtc.org177567c2016-12-22 10:40:28 +0100112 'src/third_party/ub-uiautomator/lib':
113 Var('chromium_git') + '/chromium/third_party/ub-uiautomator.git' + '@' + '00270549ce3161ae72ceb24712618ea28b4f9434',
sakal2e3574d2017-05-09 02:10:57 -0700114 # Gradle 3.5.0. Used for testing Android Studio project generation for WebRTC.
115 'src/webrtc/examples/androidtests/third_party/gradle':
116 Var('chromium_git') + '/external/github.com/gradle/gradle.git' + '@' +
sakal5e56d6a2017-05-11 02:41:40 -0700117 'b762622a185d59ce0cfc9cbc6ab5dd22469e18a6',
kjellander@webrtc.org177567c2016-12-22 10:40:28 +0100118 },
Henrik Kjellanderc3c82362017-01-26 16:42:28 +0100119 'ios': {
120 'src/ios':
buildbot1cfa7762017-08-08 00:33:39 -0700121 Var('chromium_git') + '/chromium/src/ios' + '@' + '396453255b1ab0bb06d82a346c3b3192dafb0920',
Henrik Kjellanderc3c82362017-01-26 16:42:28 +0100122 },
kjellander@webrtc.org177567c2016-12-22 10:40:28 +0100123 'unix': {
124 'src/third_party/lss':
125 Var('chromium_git') + '/linux-syscall-support.git' + '@' + Var('lss_revision'),
126 },
kjellander@webrtc.org8e5c8142014-12-03 07:11:44 +0000127 'win': {
kjellander@webrtc.org177567c2016-12-22 10:40:28 +0100128 # Dependencies used by libjpeg-turbo
129 'src/third_party/yasm/binaries':
130 Var('chromium_git') + '/chromium/deps/yasm/binaries.git' + '@' + '52f9b3f4b0aa06da24ef8b123058bb61ee468881',
kjellander@webrtc.org177567c2016-12-22 10:40:28 +0100131 # WebRTC-only dependency (not present in Chromium).
kjellander0012d182016-12-20 01:36:35 -0800132 'src/third_party/winsdk_samples':
kjellanderf70a5832017-02-26 18:12:04 -0800133 Var('chromium_git') + '/external/webrtc/deps/third_party/winsdk_samples_v71' + '@' + '2d31a1cbecc86359e6ec041fb9ff6c082babd073',
henrike@webrtc.org8d27a1c2013-07-23 18:15:11 +0000134 },
andrew@webrtc.org4ce52bb2012-07-31 21:54:13 +0000135}
kjellandere3b11aa2017-01-04 05:35:25 -0800136pre_deps_hooks = [
137 {
138 # Remove any symlinks from before 177567c518b121731e507e9b9c4049c4dc96e4c8.
139 # TODO(kjellander): Remove this in March 2017.
140 'name': 'cleanup_links',
141 'pattern': '.',
142 'action': ['python', 'src/cleanup_links.py'],
143 },
144]
andrew@webrtc.org4ce52bb2012-07-31 21:54:13 +0000145hooks = [
146 {
kjellander@webrtc.org0b0ac822014-10-09 09:11:27 +0000147 # Check for legacy named top-level dir (named 'trunk').
kjellander@webrtc.org8e5c8142014-12-03 07:11:44 +0000148 'name': 'check_root_dir_name',
149 'pattern': '.',
150 'action': ['python','-c',
151 ('import os,sys;'
152 'script = os.path.join("trunk","check_root_dir.py");'
153 '_ = os.system("%s %s" % (sys.executable,script)) '
154 'if os.path.exists(script) else 0')],
kjellander@webrtc.org0b0ac822014-10-09 09:11:27 +0000155 },
156 {
Henrik Kjellander27576e02015-10-15 14:24:09 +0200157 # This clobbers when necessary (based on get_landmines.py). It should be
158 # an early hook but it will need to be run after syncing Chromium and
159 # setting up the links, so the script actually exists.
160 'name': 'landmines',
161 'pattern': '.',
162 'action': [
163 'python',
164 'src/build/landmines.py',
165 '--landmine-scripts',
Henrik Kjellander90fd7d82017-05-09 08:30:10 +0200166 'src/tools_webrtc/get_landmines.py',
Henrik Kjellander27576e02015-10-15 14:24:09 +0200167 '--src-dir',
168 'src',
169 ],
170 },
oprypin40e7ebd2017-07-27 01:40:18 -0700171 {
172 # Ensure that the DEPS'd "depot_tools" has its self-update capability
173 # disabled.
174 'name': 'disable_depot_tools_selfupdate',
175 'pattern': '.',
176 'action': [
177 'python',
178 'src/third_party/depot_tools/update_depot_tools_toggle.py',
179 '--disable',
180 ],
181 },
kjellander24d812d2016-11-22 07:02:11 -0800182 # Android dependencies. Many are downloaded using Google Storage these days.
183 # They're copied from https://cs.chromium.org/chromium/src/DEPS for all
184 # such dependencies we share with Chromium.
185 {
kjellander@webrtc.org177567c2016-12-22 10:40:28 +0100186 # This downloads SDK extras and puts them in the
187 # third_party/android_tools/sdk/extras directory.
188 'name': 'sdkextras',
189 'pattern': '.',
190 # When adding a new sdk extras package to download, add the package
191 # directory and zip file to .gitignore in third_party/android_tools.
192 'action': ['python',
193 'src/build/android/play_services/update.py',
194 'download'
195 ],
196 },
197 {
kjellander24d812d2016-11-22 07:02:11 -0800198 'name': 'intellij',
199 'pattern': '.',
200 'action': ['python',
201 'src/build/android/update_deps/update_third_party_deps.py',
202 'download',
203 '-b', 'chromium-intellij',
204 '-l', 'third_party/intellij'
205 ],
206 },
207 {
208 'name': 'javax_inject',
209 'pattern': '.',
210 'action': ['python',
211 'src/build/android/update_deps/update_third_party_deps.py',
212 'download',
213 '-b', 'chromium-javax-inject',
214 '-l', 'third_party/javax_inject'
215 ],
216 },
217 {
218 'name': 'hamcrest',
219 'pattern': '.',
220 'action': ['python',
221 'src/build/android/update_deps/update_third_party_deps.py',
222 'download',
223 '-b', 'chromium-hamcrest',
224 '-l', 'third_party/hamcrest'
225 ],
226 },
227 {
228 'name': 'guava',
229 'pattern': '.',
230 'action': ['python',
231 'src/build/android/update_deps/update_third_party_deps.py',
232 'download',
233 '-b', 'chromium-guava',
234 '-l', 'third_party/guava'
235 ],
236 },
237 {
238 'name': 'android_support_test_runner',
239 'pattern': '.',
240 'action': ['python',
241 'src/build/android/update_deps/update_third_party_deps.py',
242 'download',
243 '-b', 'chromium-android-support-test-runner',
244 '-l', 'third_party/android_support_test_runner'
245 ],
246 },
247 {
248 'name': 'byte_buddy',
249 'pattern': '.',
250 'action': ['python',
251 'src/build/android/update_deps/update_third_party_deps.py',
252 'download',
253 '-b', 'chromium-byte-buddy',
254 '-l', 'third_party/byte_buddy'
255 ],
256 },
257 {
258 'name': 'espresso',
259 'pattern': '.',
260 'action': ['python',
261 'src/build/android/update_deps/update_third_party_deps.py',
262 'download',
263 '-b', 'chromium-espresso',
264 '-l', 'third_party/espresso'
265 ],
266 },
267 {
268 'name': 'robolectric_libs',
269 'pattern': '.',
270 'action': ['python',
271 'src/build/android/update_deps/update_third_party_deps.py',
272 'download',
273 '-b', 'chromium-robolectric',
274 '-l', 'third_party/robolectric'
275 ],
276 },
277 {
278 'name': 'apache_velocity',
279 'pattern': '.',
280 'action': ['python',
281 'src/build/android/update_deps/update_third_party_deps.py',
282 'download',
283 '-b', 'chromium-apache-velocity',
284 '-l', 'third_party/apache_velocity'
285 ],
286 },
287 {
288 'name': 'ow2_asm',
289 'pattern': '.',
290 'action': ['python',
291 'src/build/android/update_deps/update_third_party_deps.py',
292 'download',
293 '-b', 'chromium-ow2-asm',
294 '-l', 'third_party/ow2_asm'
295 ],
296 },
297 {
298 'name': 'icu4j',
299 'pattern': '.',
300 'action': ['python',
301 'src/build/android/update_deps/update_third_party_deps.py',
302 'download',
303 '-b', 'chromium-icu4j',
304 '-l', 'third_party/icu4j'
305 ],
306 },
307 {
308 'name': 'accessibility_test_framework',
309 'pattern': '.',
310 'action': ['python',
311 'src/build/android/update_deps/update_third_party_deps.py',
312 'download',
313 '-b', 'chromium-accessibility-test-framework',
314 '-l', 'third_party/accessibility_test_framework'
315 ],
316 },
317 {
318 'name': 'bouncycastle',
319 'pattern': '.',
320 'action': ['python',
321 'src/build/android/update_deps/update_third_party_deps.py',
322 'download',
323 '-b', 'chromium-bouncycastle',
324 '-l', 'third_party/bouncycastle'
325 ],
326 },
327 {
328 'name': 'sqlite4java',
329 'pattern': '.',
330 'action': ['python',
331 'src/build/android/update_deps/update_third_party_deps.py',
332 'download',
333 '-b', 'chromium-sqlite4java',
334 '-l', 'third_party/sqlite4java'
335 ],
336 },
337 {
kjellander90a11532017-03-21 04:12:51 -0700338 'name': 'xstream',
339 'pattern': '.',
340 'action': ['python',
341 'src/build/android/update_deps/update_third_party_deps.py',
342 'download',
343 '-b', 'chromium-robolectric',
344 '-l', 'third_party/xstream'
345 ],
346 },
347 {
kjellander24d812d2016-11-22 07:02:11 -0800348 'name': 'objenesis',
349 'pattern': '.',
350 'action': ['python',
351 'src/build/android/update_deps/update_third_party_deps.py',
352 'download',
353 '-b', 'chromium-objenesis',
354 '-l', 'third_party/objenesis'
355 ],
356 },
357 {
358 # Downloads the current stable linux sysroot to build/linux/ if needed.
359 # This sysroot updates at about the same rate that the chrome build deps
360 # change. This script is a no-op except for linux users who are doing
361 # official chrome builds or cross compiling.
362 'name': 'sysroot',
363 'pattern': '.',
364 'action': ['python', 'src/build/linux/sysroot_scripts/install-sysroot.py',
365 '--running-as-hook'],
366 },
367 {
368 # Update the Windows toolchain if necessary.
369 'name': 'win_toolchain',
370 'pattern': '.',
371 'action': ['python', 'src/build/vs_toolchain.py', 'update'],
372 },
373 # Pull binutils for linux, enabled debug fission for faster linking /
374 # debugging when used with clang on Ubuntu Precise.
375 # https://code.google.com/p/chromium/issues/detail?id=352046
376 {
377 'name': 'binutils',
378 'pattern': 'src/third_party/binutils',
379 'action': [
380 'python',
381 'src/third_party/binutils/download.py',
382 ],
383 },
384 {
385 # Pull clang if needed or requested via GYP_DEFINES.
386 # Note: On Win, this should run after win_toolchain, as it may use it.
387 'name': 'clang',
388 'pattern': '.',
389 'action': ['python', 'src/tools/clang/scripts/update.py', '--if-needed'],
390 },
ehmaldonado293bc2a2016-11-25 04:58:47 -0800391 {
392 # Update LASTCHANGE.
393 'name': 'lastchange',
394 'pattern': '.',
395 'action': ['python', 'src/build/util/lastchange.py',
396 '-o', 'src/build/util/LASTCHANGE'],
397 },
kjellander24d812d2016-11-22 07:02:11 -0800398 # Pull GN binaries.
399 {
400 'name': 'gn_win',
401 'pattern': '.',
402 'action': [ 'download_from_google_storage',
403 '--no_resume',
404 '--platform=win32',
405 '--no_auth',
406 '--bucket', 'chromium-gn',
407 '-s', 'src/buildtools/win/gn.exe.sha1',
408 ],
409 },
410 {
411 'name': 'gn_mac',
412 'pattern': '.',
413 'action': [ 'download_from_google_storage',
414 '--no_resume',
415 '--platform=darwin',
416 '--no_auth',
417 '--bucket', 'chromium-gn',
418 '-s', 'src/buildtools/mac/gn.sha1',
419 ],
420 },
421 {
422 'name': 'gn_linux64',
423 'pattern': '.',
424 'action': [ 'download_from_google_storage',
425 '--no_resume',
426 '--platform=linux*',
427 '--no_auth',
428 '--bucket', 'chromium-gn',
429 '-s', 'src/buildtools/linux64/gn.sha1',
430 ],
431 },
432 # Pull clang-format binaries using checked-in hashes.
433 {
434 'name': 'clang_format_win',
435 'pattern': '.',
436 'action': [ 'download_from_google_storage',
437 '--no_resume',
438 '--platform=win32',
439 '--no_auth',
440 '--bucket', 'chromium-clang-format',
441 '-s', 'src/buildtools/win/clang-format.exe.sha1',
442 ],
443 },
444 {
445 'name': 'clang_format_mac',
446 'pattern': '.',
447 'action': [ 'download_from_google_storage',
448 '--no_resume',
449 '--platform=darwin',
450 '--no_auth',
451 '--bucket', 'chromium-clang-format',
452 '-s', 'src/buildtools/mac/clang-format.sha1',
453 ],
454 },
455 {
456 'name': 'clang_format_linux',
457 'pattern': '.',
458 'action': [ 'download_from_google_storage',
459 '--no_resume',
460 '--platform=linux*',
461 '--no_auth',
462 '--bucket', 'chromium-clang-format',
463 '-s', 'src/buildtools/linux64/clang-format.sha1',
464 ],
465 },
466 # Pull luci-go binaries (isolate, swarming) using checked-in hashes.
467 {
468 'name': 'luci-go_win',
469 'pattern': '.',
470 'action': [ 'download_from_google_storage',
471 '--no_resume',
472 '--platform=win32',
473 '--no_auth',
474 '--bucket', 'chromium-luci',
475 '-d', 'src/tools/luci-go/win64',
476 ],
477 },
478 {
479 'name': 'luci-go_mac',
480 'pattern': '.',
481 'action': [ 'download_from_google_storage',
482 '--no_resume',
483 '--platform=darwin',
484 '--no_auth',
485 '--bucket', 'chromium-luci',
486 '-d', 'src/tools/luci-go/mac64',
487 ],
488 },
489 {
490 'name': 'luci-go_linux',
491 'pattern': '.',
492 'action': [ 'download_from_google_storage',
493 '--no_resume',
494 '--platform=linux*',
495 '--no_auth',
496 '--bucket', 'chromium-luci',
497 '-d', 'src/tools/luci-go/linux64',
498 ],
499 },
Henrik Kjellander55dad1b2017-05-11 12:00:53 +0200500 # Pull the Syzygy binaries, used for optimization and instrumentation.
501 {
502 'name': 'syzygy-binaries',
503 'pattern': '.',
504 'action': ['python',
505 'src/build/get_syzygy_binaries.py',
506 '--output-dir=src/third_party/syzygy/binaries',
507 '--revision=a8456d9248a126881dcfb8707ca7dcdae56e1ac7',
508 '--overwrite',
509 ],
510 },
kjellander24d812d2016-11-22 07:02:11 -0800511 {
512 # Pull sanitizer-instrumented third-party libraries if requested via
513 # GYP_DEFINES.
514 # See src/third_party/instrumented_libraries/scripts/download_binaries.py.
515 # TODO(kjellander): Update comment when GYP is completely cleaned up.
516 'name': 'instrumented_libraries',
517 'pattern': '\\.sha1',
518 'action': ['python', 'src/third_party/instrumented_libraries/scripts/download_binaries.py'],
519 },
520 {
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]
kjellander24d812d2016-11-22 07:02:11 -0800533recursedeps = [
534 # buildtools provides clang_format, libc++, and libc++abi.
535 'src/buildtools',
536 # android_tools manages the NDK.
537 'src/third_party/android_tools',
538]