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

Side by Side Diff: tools/gn/bin/README.txt

Issue 31083008: Pull gn binary (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: . Created 7 years, 1 month 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
« DEPS ('K') | « DEPS ('k') | tools/gn/bin/linux/gn.sha1 » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 This folder contains GN binaries. They should be automatically downloaded from
2 Google Storage by gclient runhooks for the current platform.
3
4
5 To upload a file:
6 python ~/depot_tools/upload_to_google_storage.py -b chromium-gn <FILENAME>
7
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
10
11 To delete a file:
12 python ~/depot_tools/third_party/gsutil/gsutil rm gs://chromium-gn/<SHA1_HASH>
Ryan Tseng 2013/10/25 22:10:03 I don't think we really need to note this. It's f
13
14 List the contents of GN's Google Storage bucket:
15 python ~/depot_tools/third_party/gsutil/gsutil ls gs://chromium-gn/
16
17 To initialize gsutil's credentials:
18 python ~/depot_tools/third_party/gsutil/gsutil config
19
20 That will give a URL which you should log into with your web browser. The
21 username should be the one that is on the ACL for the "chromium-gn" bucket
22 (probably your @google.com address). Contact the build team for help getting
23 access if necessary.
24
25 Copy the code back to the command line util. Ignore the project ID (it's OK
26 to just leave blank when prompted).
27
28 gsutil documentation:
29 https://developers.google.com/storage/docs/gsutil
OLDNEW
« DEPS ('K') | « DEPS ('k') | tools/gn/bin/linux/gn.sha1 » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698