Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(28)

Side by Side Diff: DEPS

Issue 2997123002: DEPS: Remove migration scripts and use hooks_os. (Closed)
Patch Set: Created 3 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « no previous file | check_root_dir.py » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # This file contains dependencies for WebRTC. 1 # This file contains dependencies for WebRTC.
2 2
3 vars = { 3 vars = {
4 'chromium_git': 'https://chromium.googlesource.com', 4 'chromium_git': 'https://chromium.googlesource.com',
5 'chromium_revision': 'd323a482ee55624809476267e6c7160c2c2bbcdd', 5 'chromium_revision': 'd323a482ee55624809476267e6c7160c2c2bbcdd',
6 'boringssl_git': 'https://boringssl.googlesource.com', 6 'boringssl_git': 'https://boringssl.googlesource.com',
7 # Three lines of non-changing comments so that 7 # Three lines of non-changing comments so that
8 # the commit queue can handle CLs rolling swarming_client 8 # the commit queue can handle CLs rolling swarming_client
9 # and whatever else without interference from each other. 9 # and whatever else without interference from each other.
10 'swarming_revision': '42721e128da760b345ab60d7cf34e300269112d7', 10 'swarming_revision': '42721e128da760b345ab60d7cf34e300269112d7',
(...skipping 115 matching lines...) Expand 10 before | Expand all | Expand 10 after
126 }, 126 },
127 'win': { 127 'win': {
128 # Dependencies used by libjpeg-turbo 128 # Dependencies used by libjpeg-turbo
129 'src/third_party/yasm/binaries': 129 'src/third_party/yasm/binaries':
130 Var('chromium_git') + '/chromium/deps/yasm/binaries.git' + '@' + '52f9b3f4 b0aa06da24ef8b123058bb61ee468881', 130 Var('chromium_git') + '/chromium/deps/yasm/binaries.git' + '@' + '52f9b3f4 b0aa06da24ef8b123058bb61ee468881',
131 # WebRTC-only dependency (not present in Chromium). 131 # WebRTC-only dependency (not present in Chromium).
132 'src/third_party/winsdk_samples': 132 'src/third_party/winsdk_samples':
133 Var('chromium_git') + '/external/webrtc/deps/third_party/winsdk_samples_v7 1' + '@' + '2d31a1cbecc86359e6ec041fb9ff6c082babd073', 133 Var('chromium_git') + '/external/webrtc/deps/third_party/winsdk_samples_v7 1' + '@' + '2d31a1cbecc86359e6ec041fb9ff6c082babd073',
134 }, 134 },
135 } 135 }
136 pre_deps_hooks = [ 136
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 ]
145 hooks = [ 137 hooks = [
146 { 138 {
147 # Check for legacy named top-level dir (named 'trunk').
148 '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')],
155 },
156 {
157 # This clobbers when necessary (based on get_landmines.py). It should be 139 # 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 140 # an early hook but it will need to be run after syncing Chromium and
159 # setting up the links, so the script actually exists. 141 # setting up the links, so the script actually exists.
160 'name': 'landmines', 142 'name': 'landmines',
161 'pattern': '.', 143 'pattern': '.',
162 'action': [ 144 'action': [
163 'python', 145 'python',
164 'src/build/landmines.py', 146 'src/build/landmines.py',
165 '--landmine-scripts', 147 '--landmine-scripts',
166 'src/tools_webrtc/get_landmines.py', 148 'src/tools_webrtc/get_landmines.py',
167 '--src-dir', 149 '--src-dir',
168 'src', 150 'src',
169 ], 151 ],
170 }, 152 },
171 { 153 {
172 # Ensure that the DEPS'd "depot_tools" has its self-update capability 154 # Ensure that the DEPS'd "depot_tools" has its self-update capability
173 # disabled. 155 # disabled.
174 'name': 'disable_depot_tools_selfupdate', 156 'name': 'disable_depot_tools_selfupdate',
175 'pattern': '.', 157 'pattern': '.',
176 'action': [ 158 'action': [
177 'python', 159 'python',
178 'src/third_party/depot_tools/update_depot_tools_toggle.py', 160 'src/third_party/depot_tools/update_depot_tools_toggle.py',
179 '--disable', 161 '--disable',
180 ], 162 ],
181 }, 163 },
182 # 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 {
186 # 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 {
198 '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 {
338 '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 {
348 '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 { 164 {
358 # Downloads the current stable linux sysroot to build/linux/ if needed. 165 # 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 166 # 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 167 # change. This script is a no-op except for linux users who are doing
361 # official chrome builds or cross compiling. 168 # official chrome builds or cross compiling.
362 'name': 'sysroot', 169 'name': 'sysroot',
363 'pattern': '.', 170 'pattern': '.',
364 'action': ['python', 'src/build/linux/sysroot_scripts/install-sysroot.py', 171 'action': ['python', 'src/build/linux/sysroot_scripts/install-sysroot.py',
365 '--running-as-hook'], 172 '--running-as-hook'],
366 }, 173 },
(...skipping 156 matching lines...) Expand 10 before | Expand all | Expand 10 after
523 'action': ['download_from_google_storage', 330 'action': ['download_from_google_storage',
524 '--directory', 331 '--directory',
525 '--recursive', 332 '--recursive',
526 '--num_threads=10', 333 '--num_threads=10',
527 '--no_auth', 334 '--no_auth',
528 '--quiet', 335 '--quiet',
529 '--bucket', 'chromium-webrtc-resources', 336 '--bucket', 'chromium-webrtc-resources',
530 'src/resources'], 337 'src/resources'],
531 }, 338 },
532 ] 339 ]
340
341 # Note: These are keyed off target os, not host os. So don't move things here
342 # that depend on the target os.
533 hooks_os = { 343 hooks_os = {
534 'android': [ 344 'android': [
345 # Android dependencies. Many are downloaded using Google Storage these days.
346 # They're copied from https://cs.chromium.org/chromium/src/DEPS for all
347 # such dependencies we share with Chromium.
348 {
349 # This downloads SDK extras and puts them in the
350 # third_party/android_tools/sdk/extras directory.
351 'name': 'sdkextras',
352 'pattern': '.',
353 # When adding a new sdk extras package to download, add the package
354 # directory and zip file to .gitignore in third_party/android_tools.
355 'action': ['python',
356 'src/build/android/play_services/update.py',
357 'download'
358 ],
359 },
360 {
361 'name': 'intellij',
362 'pattern': '.',
363 'action': ['python',
364 'src/build/android/update_deps/update_third_party_deps.py',
365 'download',
366 '-b', 'chromium-intellij',
367 '-l', 'third_party/intellij'
368 ],
369 },
370 {
371 'name': 'javax_inject',
372 'pattern': '.',
373 'action': ['python',
374 'src/build/android/update_deps/update_third_party_deps.py',
375 'download',
376 '-b', 'chromium-javax-inject',
377 '-l', 'third_party/javax_inject'
378 ],
379 },
380 {
381 'name': 'hamcrest',
382 'pattern': '.',
383 'action': ['python',
384 'src/build/android/update_deps/update_third_party_deps.py',
385 'download',
386 '-b', 'chromium-hamcrest',
387 '-l', 'third_party/hamcrest'
388 ],
389 },
390 {
391 'name': 'guava',
392 'pattern': '.',
393 'action': ['python',
394 'src/build/android/update_deps/update_third_party_deps.py',
395 'download',
396 '-b', 'chromium-guava',
397 '-l', 'third_party/guava'
398 ],
399 },
400 {
401 'name': 'android_support_test_runner',
402 'pattern': '.',
403 'action': ['python',
404 'src/build/android/update_deps/update_third_party_deps.py',
405 'download',
406 '-b', 'chromium-android-support-test-runner',
407 '-l', 'third_party/android_support_test_runner'
408 ],
409 },
410 {
411 'name': 'byte_buddy',
412 'pattern': '.',
413 'action': ['python',
414 'src/build/android/update_deps/update_third_party_deps.py',
415 'download',
416 '-b', 'chromium-byte-buddy',
417 '-l', 'third_party/byte_buddy'
418 ],
419 },
420 {
421 'name': 'espresso',
422 'pattern': '.',
423 'action': ['python',
424 'src/build/android/update_deps/update_third_party_deps.py',
425 'download',
426 '-b', 'chromium-espresso',
427 '-l', 'third_party/espresso'
428 ],
429 },
430 {
431 'name': 'robolectric_libs',
432 'pattern': '.',
433 'action': ['python',
434 'src/build/android/update_deps/update_third_party_deps.py',
435 'download',
436 '-b', 'chromium-robolectric',
437 '-l', 'third_party/robolectric'
438 ],
439 },
440 {
441 'name': 'apache_velocity',
442 'pattern': '.',
443 'action': ['python',
444 'src/build/android/update_deps/update_third_party_deps.py',
445 'download',
446 '-b', 'chromium-apache-velocity',
447 '-l', 'third_party/apache_velocity'
448 ],
449 },
450 {
451 'name': 'ow2_asm',
452 'pattern': '.',
453 'action': ['python',
454 'src/build/android/update_deps/update_third_party_deps.py',
455 'download',
456 '-b', 'chromium-ow2-asm',
457 '-l', 'third_party/ow2_asm'
458 ],
459 },
535 { 460 {
536 'name': 'desugar', 461 'name': 'desugar',
537 'pattern': '.', 462 'pattern': '.',
538 'action': ['python', 463 'action': ['python',
539 'src/build/android/update_deps/update_third_party_deps.py', 464 'src/build/android/update_deps/update_third_party_deps.py',
540 'download', 465 'download',
541 '-b', 'chromium-android-tools/bazel/desugar', 466 '-b', 'chromium-android-tools/bazel/desugar',
542 '-l', 'third_party/bazel/desugar' 467 '-l', 'third_party/bazel/desugar'
543 ], 468 ],
544 }, 469 },
470 {
471 'name': 'icu4j',
472 'pattern': '.',
473 'action': ['python',
474 'src/build/android/update_deps/update_third_party_deps.py',
475 'download',
476 '-b', 'chromium-icu4j',
477 '-l', 'third_party/icu4j'
478 ],
479 },
480 {
481 'name': 'accessibility_test_framework',
482 'pattern': '.',
483 'action': ['python',
484 'src/build/android/update_deps/update_third_party_deps.py',
485 'download',
486 '-b', 'chromium-accessibility-test-framework',
487 '-l', 'third_party/accessibility_test_framework'
488 ],
489 },
490 {
491 'name': 'bouncycastle',
492 'pattern': '.',
493 'action': ['python',
494 'src/build/android/update_deps/update_third_party_deps.py',
495 'download',
496 '-b', 'chromium-bouncycastle',
497 '-l', 'third_party/bouncycastle'
498 ],
499 },
500 {
501 'name': 'sqlite4java',
502 'pattern': '.',
503 'action': ['python',
504 'src/build/android/update_deps/update_third_party_deps.py',
505 'download',
506 '-b', 'chromium-sqlite4java',
507 '-l', 'third_party/sqlite4java'
508 ],
509 },
510 {
511 'name': 'xstream',
512 'pattern': '.',
513 'action': ['python',
514 'src/build/android/update_deps/update_third_party_deps.py',
515 'download',
516 '-b', 'chromium-robolectric',
517 '-l', 'third_party/xstream'
518 ],
519 },
520 {
521 'name': 'objenesis',
522 'pattern': '.',
523 'action': ['python',
524 'src/build/android/update_deps/update_third_party_deps.py',
525 'download',
526 '-b', 'chromium-objenesis',
527 '-l', 'third_party/objenesis'
528 ],
529 },
545 ], 530 ],
546 } 531 }
547 recursedeps = [ 532 recursedeps = [
548 # buildtools provides clang_format, libc++, and libc++abi. 533 # buildtools provides clang_format, libc++, and libc++abi.
549 'src/buildtools', 534 'src/buildtools',
550 # android_tools manages the NDK. 535 # android_tools manages the NDK.
551 'src/third_party/android_tools', 536 'src/third_party/android_tools',
552 ] 537 ]
OLDNEW
« no previous file with comments | « no previous file | check_root_dir.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698