Home | History | Annotate | Download | only in bin
      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 <FILENAME>.sha1
     10 
     11 List the contents of GN's Google Storage bucket:
     12   python ~/depot_tools/third_party/gsutil/gsutil ls gs://chromium-gn/
     13 
     14 To initialize gsutil's credentials:
     15   python ~/depot_tools/third_party/gsutil/gsutil config
     16 
     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
     19   (probably your @google.com address). Contact the build team for help getting
     20   access if necessary.
     21 
     22   Copy the code back to the command line util. Ignore the project ID (it's OK
     23   to just leave blank when prompted).
     24 
     25 gsutil documentation:
     26   https://developers.google.com/storage/docs/gsutil
     27