Chromium Code Reviews| OLD | NEW |
|---|---|
| (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 | |
| OLD | NEW |