diff --git a/DEPS b/DEPS index 6bef982328..07aba881f4 100644 --- a/DEPS +++ b/DEPS @@ -17,6 +17,9 @@ vars = { # the gn arg 'use_clang_coverage'). 'checkout_clang_coverage_tools': False, + # Fetch clangd into the same bin/ directory as our clang binary. + 'checkout_clangd': False, + 'chromium_git': 'https://chromium.googlesource.com', # Keep the Chromium default of generating location tags. @@ -2425,6 +2428,15 @@ hooks = [ 'action': ['python3', 'src/tools/clang/scripts/update.py', '--package=coverage_tools'], }, + { + # This is also supposed to support the same set of platforms as 'clang' + # above. LLVM ToT support isn't provided at the moment. + 'name': 'clangd', + 'pattern': '.', + 'condition': 'checkout_clangd', + 'action': ['vpython3', 'src/tools/clang/scripts/update.py', + '--package=clangd'], + }, { # Update LASTCHANGE. 'name': 'lastchange',