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

Side by Side Diff: trunk/src/third_party/clang_format/README.txt

Issue 135793002: Revert 244398 "Revert of https://codereview.chromium.org/111953007/" (Closed) Base URL: svn://svn.chromium.org/chrome/
Patch Set: 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 This folder contains clang-format binaries. The binaries will be automatically 1 This folder contains clang-format binaries. The binaries will be automatically
2 downloaded from Google Storage by gclient runhooks for the current platform. 2 downloaded from Google Storage by gclient runhooks for the current platform.
3 3
4 For a walkthrough on how to maintain these binaries: 4 For a walkthrough on how to maintain these binaries:
5 https://code.google.com/p/chromium/wiki/UpdatingClangFormatBinaries 5 https://code.google.com/p/chromium/wiki/UpdatingClangFormatBinaries
6 6
7 To upload a file: 7 To upload a file:
8 python ~/depot_tools/upload_to_google_storage.py -b chromium-clang-format <FIL ENAME> 8 python ~/depot_tools/upload_to_google_storage.py -b chromium-clang-format <FIL ENAME>
9 9
10 To download a file given a .sha1 file: 10 To download a file given a .sha1 file:
11 python ~/depot_tools/download_from_google_storage.py -b chromium-clang-format -s <FILENAME>.sha1 11 python ~/depot_tools/download_from_google_storage.py -b chromium-clang-format -s <FILENAME>.sha1
12 12
13 List the contents of GN's Google Storage bucket: 13 List the contents of GN's Google Storage bucket:
14 python ~/depot_tools/third_party/gsutil/gsutil ls gs://chromium-clang-format/ 14 python ~/depot_tools/third_party/gsutil/gsutil ls gs://chromium-clang-format/
15 15
16 To initialize gsutil's credentials: 16 To initialize gsutil's credentials:
17 python ~/depot_tools/third_party/gsutil/gsutil config 17 python ~/depot_tools/third_party/gsutil/gsutil config
18 18
19 That will give a URL which you should log into with your web browser. The 19 That will give a URL which you should log into with your web browser. The
20 username should be the one that is on the ACL for the "chromium-clang-format" 20 username should be the one that is on the ACL for the "chromium-clang-format"
21 bucket (probably your @google.com address). Contact the build team for help 21 bucket (probably your @google.com address). Contact the build team for help
22 getting access if necessary. 22 getting access if necessary.
23 23
24 Copy the code back to the command line util. Ignore the project ID (it's OK 24 Copy the code back to the command line util. Ignore the project ID (it's OK
25 to just leave blank when prompted). 25 to just leave blank when prompted).
26 26
27 gsutil documentation: 27 gsutil documentation:
28 https://developers.google.com/storage/docs/gsutil 28 https://developers.google.com/storage/docs/gsutil
OLDNEW
« no previous file with comments | « trunk/src/third_party/clang_format/README.chromium ('k') | trunk/src/third_party/clang_format/bin/linux/clang-format.sha1 » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698