Only checkout our own clang-tidy if in standalone builds

Chromium can also set checkout_clang_tidy, in which cause Dawn should
still not attempt to checkout its own.

Bug: chromium:1326292
Change-Id: I3c41ad49e5d72cc31ed44455a444c8caf3aefc43
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/90640
Commit-Queue: Ben Clayton <bclayton@google.com>
Commit-Queue: Corentin Wallez <cwallez@chromium.org>
Auto-Submit: Corentin Wallez <cwallez@chromium.org>
Reviewed-by: Ben Clayton <bclayton@google.com>
This commit is contained in:
Corentin Wallez 2022-05-17 08:21:02 +00:00 committed by Dawn LUCI CQ
parent 5880ed164a
commit c4051b1ad4
1 changed files with 1 additions and 1 deletions

2
DEPS
View File

@ -250,7 +250,7 @@ hooks = [
# above. LLVM ToT support isn't provided at the moment.
'name': 'clang_tidy',
'pattern': '.',
'condition': 'checkout_clang_tidy',
'condition': 'dawn_standalone and checkout_clang_tidy',
'action': ['python3', 'tools/clang/scripts/update.py',
'--package=clang-tidy'],
},