Commit 0d9eb105 authored by Ng Zhi An's avatar Ng Zhi An Committed by Commit Bot

Allow clang-tidy to be checked out via DEPS

Similar to chromium side change: https://crrev.com/c/1961070.
When checkout_clang_tidy is set, we will check out clang-tidy via
clang/scripts/update.py.

The goal is to be able to run clang-tidy using Tricium.

Bug: chromium:1087565,v8:10488
Change-Id: I14ebaaca33ca20d59d9cc5e537826829608a1e6f
Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/2242257Reviewed-by: 's avatarMichael Achenbach <machenbach@chromium.org>
Commit-Queue: Zhi An Ng <zhin@chromium.org>
Cr-Commit-Position: refs/heads/master@{#68418}
parent 7c232b8f
......@@ -24,6 +24,8 @@ vars = {
'checkout_instrumented_libraries': False,
'checkout_ittapi': False,
# Fetch clang-tidy into the same bin/ directory as our clang binary.
'checkout_clang_tidy': False,
'chromium_url': 'https://chromium.googlesource.com',
'android_url': 'https://android.googlesource.com',
'download_gcmole': False,
......@@ -485,6 +487,13 @@ hooks = [
'condition': 'host_os != "aix"',
'action': ['python', 'v8/tools/clang/scripts/update.py'],
},
{
'name': 'clang_tidy',
'pattern': '.',
'condition': 'checkout_clang_tidy',
'action': ['python', 'v8/tools/clang/scripts/update.py',
'--package=clang-tidy'],
},
{
# Update LASTCHANGE.
'name': 'lastchange',
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment