| OLD | NEW |
| 1 # Checking out and building Chromium for Mac | 1 # Checking out and building Chromium for Mac |
| 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 152 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 163 ``` | 163 ``` |
| 164 $ out/Default/unit_tests --gtest_filter="PushClientTest.*" | 164 $ out/Default/unit_tests --gtest_filter="PushClientTest.*" |
| 165 ``` | 165 ``` |
| 166 | 166 |
| 167 You can find out more about GoogleTest at its | 167 You can find out more about GoogleTest at its |
| 168 [GitHub page](https://github.com/google/googletest). | 168 [GitHub page](https://github.com/google/googletest). |
| 169 | 169 |
| 170 ## Debugging | 170 ## Debugging |
| 171 | 171 |
| 172 Good debugging tips can be found | 172 Good debugging tips can be found |
| 173 [here](http://dev.chromium.org/developers/how-tos/debugging-on-os-x). If you | 173 [here](https://dev.chromium.org/developers/how-tos/debugging-on-os-x). If you |
| 174 would like to debug in a graphical environment, rather than using `lldb` at the | 174 would like to debug in a graphical environment, rather than using `lldb` at the |
| 175 command line, that is possible without building in Xcode (see | 175 command line, that is possible without building in Xcode (see |
| 176 [Debugging in Xcode](http://www.chromium.org/developers/how-tos/debugging-on-os-
x/building-with-ninja-debugging-with-xcode)). | 176 [Debugging in Xcode](https://www.chromium.org/developers/how-tos/debugging-on-os
-x/building-with-ninja-debugging-with-xcode)). |
| 177 | 177 |
| 178 ## Update your checkout | 178 ## Update your checkout |
| 179 | 179 |
| 180 To update an existing checkout, you can run | 180 To update an existing checkout, you can run |
| 181 | 181 |
| 182 ```shell | 182 ```shell |
| 183 $ git rebase-update | 183 $ git rebase-update |
| 184 $ gclient sync | 184 $ gclient sync |
| 185 ``` | 185 ``` |
| 186 | 186 |
| (...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 219 | 219 |
| 220 You may run into a problem where http://YES is opened as a new tab every time | 220 You may run into a problem where http://YES is opened as a new tab every time |
| 221 you launch Chrome. To fix this, open the scheme editor for the Run scheme, | 221 you launch Chrome. To fix this, open the scheme editor for the Run scheme, |
| 222 choose the Options tab, and uncheck "Allow debugging when using document | 222 choose the Options tab, and uncheck "Allow debugging when using document |
| 223 Versions Browser". When this option is checked, Xcode adds | 223 Versions Browser". When this option is checked, Xcode adds |
| 224 `--NSDocumentRevisionsDebugMode YES` to the launch arguments, and the `YES` | 224 `--NSDocumentRevisionsDebugMode YES` to the launch arguments, and the `YES` |
| 225 gets interpreted as a URL to open. | 225 gets interpreted as a URL to open. |
| 226 | 226 |
| 227 If you have problems building, join us in `#chromium` on `irc.freenode.net` and | 227 If you have problems building, join us in `#chromium` on `irc.freenode.net` and |
| 228 ask there. Be sure that the | 228 ask there. Be sure that the |
| 229 [waterfall](http://build.chromium.org/buildbot/waterfall/) is green and the | 229 [waterfall](https://build.chromium.org/buildbot/waterfall/) is green and the |
| 230 tree is open before checking out. This will increase your chances of success. | 230 tree is open before checking out. This will increase your chances of success. |
| 231 | 231 |
| 232 ### Improving performance of `git status` | 232 ### Improving performance of `git status` |
| 233 | 233 |
| 234 `git status` is used frequently to determine the status of your checkout. Due | 234 `git status` is used frequently to determine the status of your checkout. Due |
| 235 to the large number of files in Chromium's checkout, `git status` performance | 235 to the large number of files in Chromium's checkout, `git status` performance |
| 236 can be quite variable. Increasing the system's vnode cache appears to help. By | 236 can be quite variable. Increasing the system's vnode cache appears to help. By |
| 237 default, this command: | 237 default, this command: |
| 238 | 238 |
| 239 ```shell | 239 ```shell |
| (...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 276 | 276 |
| 277 ```shell | 277 ```shell |
| 278 $ xcodebuild -license | 278 $ xcodebuild -license |
| 279 ``` | 279 ``` |
| 280 | 280 |
| 281 Only accepting for all users of the machine requires root: | 281 Only accepting for all users of the machine requires root: |
| 282 | 282 |
| 283 ```shell | 283 ```shell |
| 284 $ sudo xcodebuild -license | 284 $ sudo xcodebuild -license |
| 285 ``` | 285 ``` |
| OLD | NEW |