Add Clangd package to DEPS file
This allows for a clangd version to be downloaded that matches the clang release used by the build system. Bug: webrtc:15874 Change-Id: Iced12b2e6b4a1a91bb1a97e0a6a2bb9d35cc51c6 Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/347741 Reviewed-by: Harald Alvestrand <hta@webrtc.org> Commit-Queue: Florent Castelli <orphis@webrtc.org> Cr-Commit-Position: refs/heads/main@{#42089}
This commit is contained in:
parent
de7e4ad1b1
commit
655c89088f
12
DEPS
12
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',
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user