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
|
@ -195,14 +195,20 @@ def get_buildtools_executable(name):
|
|||
else:
|
||||
raise Exception(f"Unsupported platform: {sys.platform}")
|
||||
|
||||
if name == 'clang-format':
|
||||
path = os.path.join(buildtools, chromium_platform, 'format', name)
|
||||
else:
|
||||
path = os.path.join(buildtools, chromium_platform, name)
|
||||
path = os.path.join(buildtools, chromium_platform, name)
|
||||
if sys.platform == 'win32':
|
||||
path += '.exe'
|
||||
return path
|
||||
|
||||
def get_depot_tools_executable(name):
|
||||
buildtools = os.path.realpath(
|
||||
os.path.join(ELECTRON_DIR, '..', 'third_party', 'depot_tools'))
|
||||
|
||||
path = os.path.join(buildtools, name)
|
||||
if sys.platform == 'win32':
|
||||
path += '.bat'
|
||||
return path
|
||||
|
||||
def get_linux_binaries():
|
||||
return [
|
||||
'chrome-sandbox',
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue