• Home
  • History
  • Annotate
  • only in /external/chromium_org/tools/gn/bin/
NameDateSize

..12-Mar-201512 KiB

gyp_flag_compare.py12-Mar-20157.5 KiB

help_as_html.py12-Mar-20153.1 KiB

linux/12-Mar-20154 KiB

mac/12-Mar-20154 KiB

README.txt12-Mar-20151 KiB

win/12-Mar-20154 KiB

README.txt

1This folder contains GN binaries. They should be automatically downloaded from
2Google Storage by gclient runhooks for the current platform.
3
4
5To upload a file:
6  python ~/depot_tools/upload_to_google_storage.py -b chromium-gn <FILENAME>
7
8To download a file given a .sha1 file:
9  python ~/depot_tools/download_from_google_storage.py -b chromium-gn -s <FILENAME>.sha1
10
11List the contents of GN's Google Storage bucket:
12  python ~/depot_tools/third_party/gsutil/gsutil ls gs://chromium-gn/
13
14To 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
25gsutil documentation:
26  https://developers.google.com/storage/docs/gsutil
27