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 "ls `xcode-select -p`/Platforms/MacOSX.platform/Developer/SDKs" to check | |
19 whether you have it. If you don't have it, you need to get one from an | |
Bons
2015/09/25 18:18:38
I would write this as:
* The OSX 10.10 SDK. Run
erikchen
2015/09/25 18:23:53
Done.
| |
20 install of Xcode 6, and place it in the above directory. | |
20 | 21 |
21 ## Getting the code | 22 ## Getting the code |
22 | 23 |
23 [Check out the source code](http://dev.chromium.org/developers/how-tos/get-the-c ode) | 24 [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 | 25 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. | 26 git-svn, since you will not be committing directly to the repository. |
26 | 27 |
27 Before checking out, go to the | 28 Before checking out, go to the |
28 [waterfall](http://build.chromium.org/buildbot/waterfall/) and check that the | 29 [waterfall](http://build.chromium.org/buildbot/waterfall/) and check that the |
29 source tree is open (to avoid pulling a broken tree). | 30 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)) | 198 ((++i)) |
198 done | 199 done |
199 | 200 |
200 open -nWa /Applications/Emacs.app/Contents/MacOS/Emacs --args --no-desktop \ | 201 open -nWa /Applications/Emacs.app/Contents/MacOS/Emacs --args --no-desktop \ |
201 "${full_paths[@]}" | 202 "${full_paths[@]}" |
202 ``` | 203 ``` |
203 | 204 |
204 and in your `.bashrc` or similar, | 205 and in your `.bashrc` or similar, |
205 | 206 |
206 export EDITOR=$HOME/bin/EmacsEditor | 207 export EDITOR=$HOME/bin/EmacsEditor |
OLD | NEW |