OLD | NEW |
| (Empty) |
1 # Mojom Tool Binaries | |
2 | |
3 On supported systems | |
4 (as of this writing only 64-bit Linux) | |
5 the appropriate architecture-specific subdirectory will contain a file named | |
6 _mojom_ after `gclient sync` is executed. The file _mojom_ | |
7 is an executable built from (some version of) the Go code in | |
8 https://github.com/domokit/mojo/tree/master/mojom/mojom_tool. | |
9 | |
10 The file _mojom_ is downloaded by `gclient sync` from Google Cloud | |
11 Storage from a file named _mojo/mojom_tool/`arch`/`sha1`_ where `arch` | |
12 is an architecture-specific folder name and `sha1` is the SHA1 | |
13 digest of the file. Each architecture-specific subdirectory contains a | |
14 file named _mojom.sha1_, for example | |
15 [linux64/mojom.sha1](/mojom/mojom_tool/bin/linux64/mojom.sha1), | |
16 that specifies the SHA1 digest of the current version of the binary on that | |
17 architecture and lets `gclient sync` | |
18 decide whether or not the binary is already up-to-date. | |
19 | |
20 To browse the Google Cloud Storage bucket go to | |
21 https://console.developers.google.com/storage/browser/mojo/mojom_parser/. | |
22 | |
23 ### Updating the File | |
24 To update the version of _mojom_ that will be downloaded by | |
25 `gclient sync,` see | |
26 https://github.com/domokit/mojo/blob/master/mojom/tools/build_mojom_tool.py. | |
OLD | NEW |