| 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 129 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 140 configuration](https://www.chromium.org/developers/gn-build-configuration). | 140 configuration](https://www.chromium.org/developers/gn-build-configuration). |
| 141 The default will be a debug component build matching the current host | 141 The default will be a debug component build matching the current host |
| 142 operating system and CPU. | 142 operating system and CPU. |
| 143 * For more info on GN, run `gn help` on the command line or read the | 143 * For more info on GN, run `gn help` on the command line or read the |
| 144 [quick start guide](../tools/gn/docs/quick_start.md). | 144 [quick start guide](../tools/gn/docs/quick_start.md). |
| 145 | 145 |
| 146 ### Using the Visual Studio IDE | 146 ### Using the Visual Studio IDE |
| 147 | 147 |
| 148 If you want to use the Visual Studio IDE, use the `--ide` command line | 148 If you want to use the Visual Studio IDE, use the `--ide` command line |
| 149 argument to `gn gen` when you generate your output directory (as described on | 149 argument to `gn gen` when you generate your output directory (as described on |
| 150 the [get the code](http://dev.chromium.org/developers/how-tos/get-the-code) | 150 the [get the code](https://dev.chromium.org/developers/how-tos/get-the-code) |
| 151 page): | 151 page): |
| 152 | 152 |
| 153 ```shell | 153 ```shell |
| 154 $ gn gen --ide=vs out\Default | 154 $ gn gen --ide=vs out\Default |
| 155 $ devenv out\Default\all.sln | 155 $ devenv out\Default\all.sln |
| 156 ``` | 156 ``` |
| 157 | 157 |
| 158 GN will produce a file `all.sln` in your build directory. It will internally | 158 GN will produce a file `all.sln` in your build directory. It will internally |
| 159 use Ninja to compile while still allowing most IDE functions to work (there is | 159 use Ninja to compile while still allowing most IDE functions to work (there is |
| 160 no native Visual Studio compilation mode). If you manually run "gen" again you | 160 no native Visual Studio compilation mode). If you manually run "gen" again you |
| (...skipping 66 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 |