OLD | NEW |
---|---|
1 # Checking out and Building Chromium for Windows | 1 # Checking out and Building Chromium for Windows |
2 | 2 |
3 There are instructions for other platforms linked from the | 3 There are instructions for other platforms linked from the |
4 [get the code](get_the_code.md) page. | 4 [get the code](get_the_code.md) page. |
5 | 5 |
6 ## Instructions for Google Employees | 6 ## Instructions for Google Employees |
7 | 7 |
8 Are you a Google employee? See | 8 Are you a Google employee? See |
9 [go/building-chrome](https://goto.google.com/building-chrome) instead. | 9 [go/building-chrome](https://goto.google.com/building-chrome) instead. |
10 | 10 |
(...skipping 81 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
92 long as the full path has no spaces): | 92 long as the full path has no spaces): |
93 | 93 |
94 ```shell | 94 ```shell |
95 $ mkdir chromium && cd chromium | 95 $ mkdir chromium && cd chromium |
96 ``` | 96 ``` |
97 | 97 |
98 Run the `fetch` tool from `depot_tools` to check out the code and its | 98 Run the `fetch` tool from `depot_tools` to check out the code and its |
99 dependencies. | 99 dependencies. |
100 | 100 |
101 ```shell | 101 ```shell |
102 $ fetch ios | 102 $ fetch chromium |
Dirk Pranke
2016/12/04 22:05:31
Whoops, yes :).
| |
103 ``` | 103 ``` |
104 | 104 |
105 If you don't want the full repo history, you can save a lot of time by | 105 If you don't want the full repo history, you can save a lot of time by |
106 adding the `--no-history` flag to `fetch`. | 106 adding the `--no-history` flag to `fetch`. |
107 | 107 |
108 Expect the command to take 30 minutes on even a fast connection, and many | 108 Expect the command to take 30 minutes on even a fast connection, and many |
109 hours on slower ones. | 109 hours on slower ones. |
110 | 110 |
111 When `fetch` completes, it will have created a hidden `.gclient` file and a | 111 When `fetch` completes, it will have created a hidden `.gclient` file and a |
112 directory called `src` in the working directory. The remaining instructions | 112 directory called `src` in the working directory. The remaining instructions |
(...skipping 114 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
227 $ gclient sync | 227 $ gclient sync |
228 ``` | 228 ``` |
229 | 229 |
230 The first command updates the primary Chromium source repository and rebases | 230 The first command updates the primary Chromium source repository and rebases |
231 any of your local branches on top of tip-of-tree (aka the Git branch `origin/mas ter`). | 231 any of your local branches on top of tip-of-tree (aka the Git branch `origin/mas ter`). |
232 If you don't want to use this script, you can also just use `git pull` or | 232 If you don't want to use this script, you can also just use `git pull` or |
233 other common Git commands to update the repo. | 233 other common Git commands to update the repo. |
234 | 234 |
235 The second command syncs the subrepositories to the appropriate versions and | 235 The second command syncs the subrepositories to the appropriate versions and |
236 re-runs the hooks as needed. | 236 re-runs the hooks as needed. |
OLD | NEW |