0
Files
src/buildtools
Alan Zhao a4fd88d183 Reland "Update clang-format binaries and scripts for all platforms."
This reverts commit e9590ca345.

Reason for revert: Fixed generation numbers. Tested by running gclient sync and verifying version.

Original change's description:
> Revert "Update clang-format binaries and scripts for all platforms."
>
> This reverts commit f796f05eb9.
>
> Reason for revert: Generation numbers do not match the GCS objects
>
> Original change's description:
> > Update clang-format binaries and scripts for all platforms.
> >
> > I followed these instructions:
> > https://chromium.googlesource.com/chromium/src/+/main/docs/updating_clang_format_binaries.md
> >
> > The binaries were built at clang revision
> > llvmorg-21-init-532-gfe8b323f-1.
> >
> > Diff on base/ from previous revision of clang-format to this version:
> > https://crrev.com/c/6227744/1..2
> >
> > Fixed: 347509735
> > Change-Id: I09e0e948a85e8d9e8acd6a69654505b6a8cc60b1
> > Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/6227230
> > Commit-Queue: Alan Zhao <ayzhao@google.com>
> > Reviewed-by: Nico Weber <thakis@chromium.org>
> > Cr-Commit-Position: refs/heads/main@{#1415681}
>
> Change-Id: Idc92276e496fb715f1f6255d4903344c897b908e
> No-Presubmit: true
> No-Tree-Checks: true
> No-Try: true
> Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/6228500
> Bot-Commit: Rubber Stamper <rubber-stamper@appspot.gserviceaccount.com>
> Commit-Queue: Brian Ryner <bryner@google.com>
> Reviewed-by: Nico Weber <thakis@chromium.org>
> Reviewed-by: Alan Zhao <ayzhao@google.com>
> Commit-Queue: Josip Sokcevic <sokcevic@chromium.org>
> Cr-Commit-Position: refs/heads/main@{#1415717}

Change-Id: Ia2ec5be5e74141489d5e146f1383a98e6928b8b6
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/6230331
Commit-Queue: Alan Zhao <ayzhao@google.com>
Reviewed-by: Nico Weber <thakis@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1416286}
2025-02-05 10:27:42 -08:00
..
2025-02-04 21:20:41 -08:00

This directory contains hashes of build tools used by Chromium and related
projects. The actual binaries are pulled from Google Storage, normally as part
of a gclient hook.

This directory also exists as a stand-alone git mirror at
https://chromium.googlesource.com/chromium/src/buildtools/.
That mirror exists so that the shared build tools can be shared between
the various Chromium-related projects without each one needing to maintain
their own versionining of each binary.

________________________
ADDING BINARIES MANUALLY

One uploads new versions of the tools using the 'gsutil' binary from the
Google Storage SDK:

  https://developers.google.com/storage/docs/gsutil

There is a checked-in version of gsutil as part of depot_tools.

To initialize gsutil's credentials:

  python ~/depot_tools/third_party/gsutil/gsutil config

  That will give a URL which you should log into with your web browser.

  Copy the code back to the command line util. Ignore the project ID (it's OK
  to just leave blank when prompted).