Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1235)

Unified Diff: third_party/clang_format/README.txt

Issue 111953007: Add clang-format binaries and scripts for all platforms (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix bug in DEPS Created 6 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: third_party/clang_format/README.txt
diff --git a/tools/gn/bin/README.txt b/third_party/clang_format/README.txt
similarity index 55%
copy from tools/gn/bin/README.txt
copy to third_party/clang_format/README.txt
index 99a7ef3d2201e788750d946028955479ff8293f0..b042487bb0087e16c35443fff5096bf862475cd5 100644
--- a/tools/gn/bin/README.txt
+++ b/third_party/clang_format/README.txt
@@ -1,23 +1,25 @@
-This folder contains GN binaries. They should be automatically downloaded from
-Google Storage by gclient runhooks for the current platform.
+This folder contains clang-format binaries. 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://code.google.com/p/chromium/wiki/UpdatingClangFormatBinaries
To upload a file:
- python ~/depot_tools/upload_to_google_storage.py -b chromium-gn <FILENAME>
+ python ~/depot_tools/upload_to_google_storage.py -b chromium-clang-format <FILENAME>
To download a file given a .sha1 file:
- python ~/depot_tools/download_from_google_storage.py -b chromium-gn -s <FILENAME>.sha1
+ 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-gn/
+ 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-gn" bucket
- (probably your @google.com address). Contact the build team for help getting
- access if necessary.
+ 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).

Powered by Google App Engine
This is Rietveld 408576698