build: fix clang format location helper (again) (#42911)

This commit is contained in:
Calvin 2024-07-16 08:21:18 -07:00 committed by GitHub
parent f575e52586
commit 81351dd1a9
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 5 additions and 2 deletions

View file

@ -194,6 +194,9 @@ def get_buildtools_executable(name):
chromium_platform = 'linux64'
else:
raise Exception(f"Unsupported platform: {sys.platform}")
if name == 'clang-format':
chromium_platform += '-format'
path = os.path.join(buildtools, chromium_platform, name)
if sys.platform == 'win32':