1vars = { 2 'chromium_git': 'https://chromium.googlesource.com', 3} 4 5deps = { 6 7 'build': { 8 'url': '{chromium_git}/chromium/src/build.git@45ab3c89af6fc3126b0ca5a7836f0db85ad1ba0e', 9 }, 10 11 'buildtools': { 12 'url': '{chromium_git}/chromium/src/buildtools.git@204a35a2a64f7179f8b76d7a0385653690839e21', 13 }, 14 15 'testing': { 16 'url': '{chromium_git}/chromium/src/testing@3993ef1f527b206d8d3bf3f9824f4fe0e4bbdb0e', 17 }, 18 19 'tools/clang': { 20 'url': '{chromium_git}/chromium/src/tools/clang.git@04b99e7bf9160d551c3a5562f583014b6afc90f9', 21 }, 22 23} 24 25hooks = [ 26 # Pull clang-format binaries using checked-in hashes. 27 { 28 'name': 'clang_format_linux', 29 'pattern': '.', 30 'condition': 'host_os == "linux"', 31 'action': [ 'download_from_google_storage', 32 '--no_resume', 33 '--platform=linux*', 34 '--no_auth', 35 '--bucket', 'chromium-clang-format', 36 '-s', 'buildtools/linux64/clang-format.sha1', 37 ], 38 }, 39 { 40 'name': 'sysroot_x64', 41 'pattern': '.', 42 'condition': 'checkout_linux and checkout_x64', 43 'action': ['python', 'build/linux/sysroot_scripts/install-sysroot.py', 44 '--arch=x64'], 45 }, 46 { 47 # Note: On Win, this should run after win_toolchain, as it may use it. 48 'name': 'clang', 49 'pattern': '.', 50 'action': ['python', 'tools/clang/scripts/update.py'], 51 }, 52] 53 54recursedeps = [ 55 # buildtools provides clang_format. 56 'buildtools', 57] 58