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

Side by Side 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 the SHA hashes Created 7 years 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 GN binaries. They should be automatically downloaded from 1 This folder contains clang-format binaries. They should be automatically
2 Google Storage by gclient runhooks for the current platform. 2 downloaded from Google Storage by gclient runhooks for the current platform.
3 3
4 4
5 To upload a file: 5 To upload a file:
6 python ~/depot_tools/upload_to_google_storage.py -b chromium-gn <FILENAME> 6 python ~/depot_tools/upload_to_google_storage.py -b chromium-clang-format <FIL ENAME>
7 7
8 To download a file given a .sha1 file: 8 To download a file given a .sha1 file:
9 python ~/depot_tools/download_from_google_storage.py -b chromium-gn -s <FILENA ME>.sha1 9 python ~/depot_tools/download_from_google_storage.py -b chromium-clang-format -s <FILENAME>.sha1
10 10
11 List the contents of GN's Google Storage bucket: 11 List the contents of GN's Google Storage bucket:
12 python ~/depot_tools/third_party/gsutil/gsutil ls gs://chromium-gn/ 12 python ~/depot_tools/third_party/gsutil/gsutil ls gs://chromium-clang-format/
13 13
14 To initialize gsutil's credentials: 14 To initialize gsutil's credentials:
15 python ~/depot_tools/third_party/gsutil/gsutil config 15 python ~/depot_tools/third_party/gsutil/gsutil config
16 16
17 That will give a URL which you should log into with your web browser. The 17 That will give a URL which you should log into with your web browser. The
18 username should be the one that is on the ACL for the "chromium-gn" bucket 18 username should be the one that is on the ACL for the "chromium-clang-format"
19 (probably your @google.com address). Contact the build team for help getting 19 bucket (probably your @google.com address). Contact the build team for help
20 access if necessary. 20 getting access if necessary.
21 21
22 Copy the code back to the command line util. Ignore the project ID (it's OK 22 Copy the code back to the command line util. Ignore the project ID (it's OK
23 to just leave blank when prompted). 23 to just leave blank when prompted).
24 24
25 gsutil documentation: 25 gsutil documentation:
26 https://developers.google.com/storage/docs/gsutil 26 https://developers.google.com/storage/docs/gsutil
OLDNEW
« .gitignore ('K') | « DEPS ('k') | third_party/clang_format/bin/linux/clang-format.sha1 » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698