Never try to populate the LASTCHANGE file in non-standalone checkout

Since the build/ directory is checked out behind 'dawn_standalone', the
'lastchange' hook depending on that should be guarded by the same
condition.

Bug: dawn:437
Change-Id: If6d1f5ee505eab5bc5519ec6d29b2efe5d69d9aa
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/24123
Reviewed-by: Corentin Wallez <cwallez@chromium.org>
Reviewed-by: Austin Eng <enga@chromium.org>
Commit-Queue: Jiajie Hu <jiajie.hu@intel.com>
This commit is contained in:
Jiajie Hu 2020-07-01 05:08:36 +00:00 committed by Commit Bot service account
parent 268fe254ec
commit 2ffc55ab38
1 changed files with 1 additions and 0 deletions

1
DEPS
View File

@ -222,6 +222,7 @@ hooks = [
{
'name': 'lastchange',
'pattern': '.',
'condition': 'dawn_standalone',
'action': ['python', 'build/util/lastchange.py',
'-o', 'build/util/LASTCHANGE'],
},