Skip clang-format on Windows

PRESUBMIT.py calls into a shell script which we can't do on Windows.
Disabling this for now until we can find a way to lint on Windows.

Bug: dawn:486
Change-Id: Ica525a4a8b01ffde6a3b6170bd58cb4edc9c442d
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/24784
Reviewed-by: Austin Eng <enga@chromium.org>
Commit-Queue: Kai Ninomiya <kainino@chromium.org>
This commit is contained in:
Kai Ninomiya 2020-07-14 17:59:35 +00:00 committed by Commit Bot service account
parent 4e2d7cff8f
commit 97e434f5b9
1 changed files with 0 additions and 2 deletions

View File

@ -21,8 +21,6 @@ def _DoClangFormat(input_api, output_api):
clang_format_path = 'buildtools/linux64/clang-format'
elif platform.system() == 'Darwin':
clang_format_path = 'buildtools/mac/clang-format'
elif platform.system() == 'Windows':
clang_format_path = 'buildtools/win/clang-format.exe'
else:
return [output_api.PresubmitNotifyResult('Skipping clang-format')]