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 * [Xcode](https://developer.apple.com/xcode) 5+. | 8 * [Xcode](https://developer.apple.com/xcode) 5+. |
9 * [depot\_tools](http://dev.chromium.org/developers/how-tos/depottools). | 9 * [depot\_tools](http://dev.chromium.org/developers/how-tos/depottools). |
10 * Install Xcode's "Command Line Tools" via Xcode menu -> Preferences -> | 10 * Xcode Command Line Tools. Run |
11 Downloads | 11 ``` |
| 12 xcode-select --install |
| 13 ``` |
| 14 to install them. |
12 * The OSX 10.10 SDK. Run | 15 * The OSX 10.10 SDK. Run |
13 ```sh | 16 ``` |
14 ls `xcode-select -p`/Platforms/MacOSX.platform/Developer/SDKs | 17 ls `xcode-select -p`/Platforms/MacOSX.platform/Developer/SDKs |
15 ``` | 18 ``` |
16 to check whether you have it. If you don't have it, you need to get one from | 19 to check whether you have it. If you don't have it, you need to get one from |
17 an install of Xcode 6, and place it in the above directory. | 20 an install of Xcode 6, and place it in the above directory. |
18 | 21 |
19 ## Getting the code | 22 ## Getting the code |
20 | 23 |
21 [Check out the source code](https://www.chromium.org/developers/how-tos/get-the-
code) | 24 [Check out the source code](https://www.chromium.org/developers/how-tos/get-the-
code) |
22 using Git. | 25 using Git. |
23 | 26 |
(...skipping 237 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
261 ``` | 264 ``` |
262 | 265 |
263 the Xcode license hasn't been accepted yet which (contrary to the message) any | 266 the Xcode license hasn't been accepted yet which (contrary to the message) any |
264 user can do by running: | 267 user can do by running: |
265 | 268 |
266 xcodebuild -license | 269 xcodebuild -license |
267 | 270 |
268 Only accepting for all users of the machine requires root: | 271 Only accepting for all users of the machine requires root: |
269 | 272 |
270 sudo xcodebuild -license | 273 sudo xcodebuild -license |
OLD | NEW |