| OLD | NEW |
| 1 # Mac Build Instructions | 1 # Mac Build Instructions |
| 2 | 2 |
| 3 [TOC] | 3 [TOC] |
| 4 | 4 |
| 5 ## Prerequisites | 5 ## Prerequisites |
| 6 | 6 |
| 7 * A Mac running 10.9+. | 7 * A Mac running 10.9+. |
| 8 * http://developer.apple.com/tools/xcode/XCode, 5+ | 8 * http://developer.apple.com/tools/xcode/XCode, 5+ |
| 9 * Install | 9 * Install |
| 10 [gclient](http://dev.chromium.org/developers/how-tos/install-depot-tools), | 10 [gclient](http://dev.chromium.org/developers/how-tos/install-depot-tools), |
| (...skipping 64 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 75 Full rebuilds are about the same speed in Debug and Release, but linking is a | 75 Full rebuilds are about the same speed in Debug and Release, but linking is a |
| 76 lot faster in Release builds. | 76 lot faster in Release builds. |
| 77 | 77 |
| 78 Run | 78 Run |
| 79 | 79 |
| 80 GYP_DEFINES=fastbuild=1 build/gyp_chromium | 80 GYP_DEFINES=fastbuild=1 build/gyp_chromium |
| 81 | 81 |
| 82 to disable debug symbols altogether, this makes both full rebuilds and linking | 82 to disable debug symbols altogether, this makes both full rebuilds and linking |
| 83 faster (at the cost of not getting symbolized backtraces in gdb). | 83 faster (at the cost of not getting symbolized backtraces in gdb). |
| 84 | 84 |
| 85 You might also want to [install ccache](ccache_cac.md) to speed up the build. | 85 You might also want to [install ccache](ccache_mac.md) to speed up the build. |
| 86 | 86 |
| 87 ## Running | 87 ## Running |
| 88 | 88 |
| 89 All build output is located in the `out` directory (in the example above, | 89 All build output is located in the `out` directory (in the example above, |
| 90 `~/chromium/src/out`). You can find the applications at | 90 `~/chromium/src/out`). You can find the applications at |
| 91 `{Debug|Release}/ContentShell.app` and `{Debug|Release}/Chromium.app`, depending | 91 `{Debug|Release}/ContentShell.app` and `{Debug|Release}/Chromium.app`, depending |
| 92 on the selected configuration. | 92 on the selected configuration. |
| 93 | 93 |
| 94 ## Unit Tests | 94 ## Unit Tests |
| 95 | 95 |
| (...skipping 131 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 227 be set in `/etc/sysctl.conf`: | 227 be set in `/etc/sysctl.conf`: |
| 228 | 228 |
| 229 echo kern.maxvnodes=$((512*1024)) | sudo tee -a /etc/sysctl.conf | 229 echo kern.maxvnodes=$((512*1024)) | sudo tee -a /etc/sysctl.conf |
| 230 | 230 |
| 231 Or edit the file directly. | 231 Or edit the file directly. |
| 232 | 232 |
| 233 If your `git --version` reports 2.6 or higher, the following may also improve | 233 If your `git --version` reports 2.6 or higher, the following may also improve |
| 234 performance of `git status`: | 234 performance of `git status`: |
| 235 | 235 |
| 236 git update-index --untracked-cache | 236 git update-index --untracked-cache |
| OLD | NEW |