build: fix clang format/lint (#42715)
* build: fix clang format path
* fix: use gclient sync instead of gclient runhooks
Refs 5659261
* fix: use gclient sync instead of gclient runhooks in GHA
---------
Co-authored-by: David Sanders <dsanders11@ucsbalum.com>
This commit is contained in:
parent
398dde9dfb
commit
3ac57e17d5
5 changed files with 16 additions and 10 deletions
|
@ -23,7 +23,7 @@ import traceback
|
|||
import tempfile
|
||||
|
||||
from functools import partial
|
||||
from lib.util import get_buildtools_executable
|
||||
from lib.util import get_depot_tools_executable
|
||||
|
||||
DEFAULT_EXTENSIONS = 'c,h,C,H,cpp,hpp,cc,hh,c++,h++,cxx,hxx,mm'
|
||||
DEFAULT_CLANG_FORMAT_IGNORE = '.clang-format-ignore'
|
||||
|
@ -205,7 +205,7 @@ def main():
|
|||
'--clang-format-executable',
|
||||
metavar='EXECUTABLE',
|
||||
help='path to the clang-format executable',
|
||||
default=get_buildtools_executable('clang-format'))
|
||||
default=get_depot_tools_executable('clang-format'))
|
||||
parser.add_argument(
|
||||
'--extensions',
|
||||
help='comma-separated list of file extensions'
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue