mirror of
https://chromium.googlesource.com/chromium/tools/depot_tools.git
synced 2026-01-11 18:51:29 +00:00
Depot tools: use the clang-format binaries that are now included
as part of the Chromium checkout. This follows the approach used by gn. Changes include: - in-the-PATH clang-format trampoline scripts - clang_format.py, which finds clang-format binaries inside of Chrome - Hook 'git cl format' to the new binaries and scripts - Rearrange some code, for reuse between clang_format.py and gn.py BUG=240309 TEST=presubmits (one failure on mac, but it fails on a clean checkout too) Review URL: https://codereview.chromium.org/134313007 git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@245074 0039d316-1c4b-4281-b951-d872f2087c98
This commit is contained in:
@@ -31,15 +31,17 @@ class GclientUtilsUnittest(GclientUtilBase):
|
||||
'Annotated', 'AutoFlush', 'CheckCallAndFilter', 'CommandToStr',
|
||||
'CheckCallAndFilterAndHeader', 'Error', 'ExecutionQueue', 'FileRead',
|
||||
'FileWrite', 'FindFileUpwards', 'FindGclientRoot',
|
||||
'GetGClientRootAndEntries', 'GetEditor', 'IsDateRevision',
|
||||
'MakeDateRevision', 'MakeFileAutoFlush', 'MakeFileAnnotated',
|
||||
'PathDifference', 'ParseCodereviewSettingsContent', 'NumLocalCpus',
|
||||
'PrintableObject', 'RETRY_INITIAL_SLEEP', 'RETRY_MAX', 'RunEditor',
|
||||
'GCLIENT_CHILDREN', 'GCLIENT_CHILDREN_LOCK', 'GClientChildren',
|
||||
'SplitUrlRevision', 'SyntaxErrorToError', 'UpgradeToHttps', 'Wrapper',
|
||||
'WorkItem', 'codecs', 'lockedmethod', 'logging', 'os', 'pipes', 'Queue',
|
||||
're', 'rmtree', 'safe_makedirs', 'safe_rename', 'stat', 'subprocess',
|
||||
'GetGClientRootAndEntries', 'GetEditor', 'GetExeSuffix',
|
||||
'GetMacWinOrLinux', 'IsDateRevision', 'MakeDateRevision',
|
||||
'MakeFileAutoFlush', 'MakeFileAnnotated', 'PathDifference',
|
||||
'ParseCodereviewSettingsContent', 'NumLocalCpus', 'PrintableObject',
|
||||
'RETRY_INITIAL_SLEEP', 'RETRY_MAX', 'RunEditor', 'GCLIENT_CHILDREN',
|
||||
'GCLIENT_CHILDREN_LOCK', 'GClientChildren', 'SplitUrlRevision',
|
||||
'SyntaxErrorToError', 'UpgradeToHttps', 'Wrapper', 'WorkItem',
|
||||
'codecs', 'lockedmethod', 'logging', 'os', 'pipes', 'Queue', 're',
|
||||
'rmtree', 'safe_makedirs', 'safe_rename', 'stat', 'subprocess',
|
||||
'subprocess2', 'sys', 'tempfile', 'threading', 'time', 'urlparse',
|
||||
|
||||
]
|
||||
# If this test fails, you should add the relevant test.
|
||||
self.compareMembers(gclient_utils, members)
|
||||
|
||||
Reference in New Issue
Block a user