• Home
Name Date Size #Lines LOC

..--

linux/03-May-2024-128

mac/03-May-2024-84

win/03-May-2024-74

README.txtD03-May-20241 KiB2718

gyp_flag_compare.pyD03-May-20247.5 KiB228176

help_as_html.pyD03-May-20243.1 KiB10680

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