Chromium Code Reviews| OLD | NEW |
|---|---|
| 1 # iOS Build Instructions | 1 # iOS Build Instructions |
| 2 | 2 |
| 3 **Note:** Upstreaming of iOS code is still a work in progress. In particular, | 3 **Note:** Upstreaming of iOS code is still a work in progress. In particular, |
| 4 note that **it is not currently possible to build an actual Chromium app.** | 4 note that **it is not currently possible to build an actual Chromium app.** |
| 5 Currently, the buildable binaries are ios\_web\_shell (a minimal wrapper around | 5 Currently, the buildable binaries are ios\_web\_shell (a minimal wrapper around |
| 6 the web layer), and various unit tests. | 6 the web layer), and various unit tests. |
| 7 | 7 |
| 8 ## Prerequisites | 8 ## Prerequisites |
| 9 | 9 |
| 10 * A Mac with a version of OS X capable of running the latest version | 10 * A Mac with a version of OS X capable of running the latest version |
| (...skipping 23 matching lines...) Expand all Loading... | |
| 34 | 34 |
| 35 ```shell | 35 ```shell |
| 36 cat > chromium.gyp_env <<EOF | 36 cat > chromium.gyp_env <<EOF |
| 37 { | 37 { |
| 38 "GYP_DEFINES": "OS=ios chromium_ios_signing=0", | 38 "GYP_DEFINES": "OS=ios chromium_ios_signing=0", |
| 39 "GYP_GENERATORS": "ninja,xcode-ninja", | 39 "GYP_GENERATORS": "ninja,xcode-ninja", |
| 40 } | 40 } |
| 41 EOF | 41 EOF |
| 42 ``` | 42 ``` |
| 43 | 43 |
| 44 Also, you should [install API | 44 Before you build, you may want to |
|
tfarina
2016/03/08 14:58:14
Is this better in the "Building" section? Or is it
| |
| 45 keys](https://www.chromium.org/developers/how-tos/api-keys). | 45 [install API keys](https://sites.google.com/a/chromium.org/dev/developers/how-to s/api-keys) |
| 46 so that Chrome-integrated Google services work. This step is optional if you | |
| 47 aren't testing those features. | |
| 46 | 48 |
| 47 ## Getting the Code | 49 ## Getting the Code |
| 48 | 50 |
| 49 Next, [check out the | 51 Next, [check out the |
| 50 code](https://www.chromium.org/developers/how-tos/get-the-code), with: | 52 code](https://www.chromium.org/developers/how-tos/get-the-code), with: |
| 51 | 53 |
| 52 ```shell | 54 ```shell |
| 53 fetch ios | 55 fetch ios |
| 54 ``` | 56 ``` |
| 55 | 57 |
| (...skipping 59 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 115 ```shell | 117 ```shell |
| 116 gclient sync | 118 gclient sync |
| 117 ``` | 119 ``` |
| 118 | 120 |
| 119 ## Troubleshooting | 121 ## Troubleshooting |
| 120 | 122 |
| 121 If your build fails, check the iOS columns of [the Mac | 123 If your build fails, check the iOS columns of [the Mac |
| 122 waterfall](http://build.chromium.org/p/chromium.mac/console) (the last two) to | 124 waterfall](http://build.chromium.org/p/chromium.mac/console) (the last two) to |
| 123 see if the bots are green. In general they should be, since failures on those | 125 see if the bots are green. In general they should be, since failures on those |
| 124 bots will close the tree. | 126 bots will close the tree. |
| OLD | NEW |