0
Files
Jordan b3c6a43e3e LSC updating license IDs
I couldn't find a license file for these dependencies so I had to guess
a valid license based on the values provided. I think they are all
unambiguous.

Bug: 358504615
Change-Id: I45234d94afa11004ea805c7c662e6731b1b3e7a3
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/6186274
Owners-Override: Jordan Brown <rop@google.com>
Reviewed-by: Jiewei Qian <qjw@chromium.org>
Reviewed-by: Rachael Newitt <renewitt@google.com>
Commit-Queue: Jordan Brown <rop@google.com>
Cr-Commit-Position: refs/heads/main@{#1415989}
NOKEYCHECK=True
GitOrigin-RevId: 3550d8f8b207790644def40e34d62f9d78ccd3dc
2025-02-04 21:23:58 -08:00
..
2019-02-06 01:38:04 +00:00
2025-02-04 21:23:58 -08:00

This folder contains clang-format scripts. The binaries will be automatically
downloaded from Google Storage by gclient runhooks for the current platform.

For a walkthrough on how to maintain these binaries:
  https://chromium.googlesource.com/chromium/src/+/main/docs/updating_clang_format_binaries.md

To upload a file:
  python ~/depot_tools/upload_to_google_storage.py -b chromium-clang-format <FILENAME>

On Linux and Mac, check that clang-format has its +x bit set before you run this
upload command. Don't upload Linux and Mac binaries from Windows, since
upload_to_google_storage.py will not set the +x bit on google storage when it's
run from Windows.

To download a file given a .sha1 file:
  python ~/depot_tools/download_from_google_storage.py -b chromium-clang-format -s <FILENAME>.sha1

List the contents of GN's Google Storage bucket:
  python ~/depot_tools/third_party/gsutil/gsutil ls gs://chromium-clang-format/

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. The
  username should be the one that is on the ACL for the "chromium-clang-format"
  bucket (probably your @google.com address). Contact the build team for help
  getting access if necessary.

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

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