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:
parent
4e2d7cff8f
commit
97e434f5b9
|
@ -21,8 +21,6 @@ def _DoClangFormat(input_api, output_api):
|
||||||
clang_format_path = 'buildtools/linux64/clang-format'
|
clang_format_path = 'buildtools/linux64/clang-format'
|
||||||
elif platform.system() == 'Darwin':
|
elif platform.system() == 'Darwin':
|
||||||
clang_format_path = 'buildtools/mac/clang-format'
|
clang_format_path = 'buildtools/mac/clang-format'
|
||||||
elif platform.system() == 'Windows':
|
|
||||||
clang_format_path = 'buildtools/win/clang-format.exe'
|
|
||||||
else:
|
else:
|
||||||
return [output_api.PresubmitNotifyResult('Skipping clang-format')]
|
return [output_api.PresubmitNotifyResult('Skipping clang-format')]
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue