DescriptionDepot 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)
Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=245074
Patch Set 1 #Patch Set 2 : Fix up some error messages and docstrings. #Patch Set 3 : Some more cleanup. #Patch Set 4 : chmod +x gn.py clang-format clang_format.py. #Patch Set 5 : sync to TOT #Patch Set 6 : Upload with --no-find-copies #
Total comments: 2
Patch Set 7 : Add back the -i option. #
Total comments: 1
Patch Set 8 : Apply iannucci's fix #Patch Set 9 : Fixed gclient_utils_test.py #
Messages
Total messages: 21 (0 generated)
|