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.8+. | 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), |
11 part of the | 11 part of the |
12 [depot_tools](http://dev.chromium.org/developers/how-tos/depottools) package | 12 [depot_tools](http://dev.chromium.org/developers/how-tos/depottools) package |
13 ([download](http://dev.chromium.org/developers/how-tos/install-depot-tools))
. | 13 ([download](http://dev.chromium.org/developers/how-tos/install-depot-tools))
. |
14 gclient is a wrapper around svn that we use to manage our working copies. | 14 gclient is a wrapper around svn that we use to manage our working copies. |
15 * Install [git](http://code.google.com/p/git-osx-installer/) on OSX 10.8. The | 15 * Install Xcode's "Command Line Tools" via Xcode menu -> Preferences -> |
16 system git shipping with OS X 10.9 / Xcode 5 works well too. | |
17 * (optional -- required if you don't have some commands such as svn natively) | |
18 Install Xcode's "Command Line Tools" via Xcode menu -> Preferences -> | |
19 Downloads | 16 Downloads |
| 17 * The OSX 10.10 SDK. Run |
| 18 ```sh |
| 19 ls `xcode-select -p`/Platforms/MacOSX.platform/Developer/SDKs |
| 20 ``` |
| 21 to check whether you have it. If you don't have it, you need to get one from |
| 22 an install of Xcode 6, and place it in the above directory. |
20 | 23 |
21 ## Getting the code | 24 ## Getting the code |
22 | 25 |
23 [Check out the source code](http://dev.chromium.org/developers/how-tos/get-the-c
ode) | 26 [Check out the source code](http://dev.chromium.org/developers/how-tos/get-the-c
ode) |
24 using Git. If you're new to the project, you can skip all the information about | 27 using Git. If you're new to the project, you can skip all the information about |
25 git-svn, since you will not be committing directly to the repository. | 28 git-svn, since you will not be committing directly to the repository. |
26 | 29 |
27 Before checking out, go to the | 30 Before checking out, go to the |
28 [waterfall](http://build.chromium.org/buildbot/waterfall/) and check that the | 31 [waterfall](http://build.chromium.org/buildbot/waterfall/) and check that the |
29 source tree is open (to avoid pulling a broken tree). | 32 source tree is open (to avoid pulling a broken tree). |
(...skipping 167 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
197 ((++i)) | 200 ((++i)) |
198 done | 201 done |
199 | 202 |
200 open -nWa /Applications/Emacs.app/Contents/MacOS/Emacs --args --no-desktop \ | 203 open -nWa /Applications/Emacs.app/Contents/MacOS/Emacs --args --no-desktop \ |
201 "${full_paths[@]}" | 204 "${full_paths[@]}" |
202 ``` | 205 ``` |
203 | 206 |
204 and in your `.bashrc` or similar, | 207 and in your `.bashrc` or similar, |
205 | 208 |
206 export EDITOR=$HOME/bin/EmacsEditor | 209 export EDITOR=$HOME/bin/EmacsEditor |
OLD | NEW |