| 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 80 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 91 ``` | 91 ``` |
| 92 | 92 |
| 93 ## Converting an existing Mac checkout into an iOS checkout | 93 ## Converting an existing Mac checkout into an iOS checkout |
| 94 | 94 |
| 95 If you want to convert your Mac checkout into an iOS checkout, follow the steps | 95 If you want to convert your Mac checkout into an iOS checkout, follow the steps |
| 96 below: | 96 below: |
| 97 | 97 |
| 98 1. Add `target_os = [ "ios" ]` to the bottom of your `chromium/.gclient` | 98 1. Add `target_os = [ "ios" ]` to the bottom of your `chromium/.gclient` |
| 99 file. | 99 file. |
| 100 | 100 |
| 101 1. Make sure you have the following in your `chromium/chromium.gyp_env` | 101 2. Make sure you have the following in your `chromium/chromium.gyp_env` |
| 102 file (removing the `chromium_ios_signing=0` if you want to make | 102 file (removing the `chromium_ios_signing=0` if you want to make |
| 103 developer-signed builds): | 103 developer-signed builds): |
| 104 | 104 |
| 105 ```json | 105 ```json |
| 106 { | 106 { |
| 107 "GYP_DEFINES" : "OS=ios chromium_ios_signing=0", | 107 "GYP_DEFINES" : "OS=ios chromium_ios_signing=0", |
| 108 "GYP_GENERATORS" : "ninja,xcode-ninja", | 108 "GYP_GENERATORS" : "ninja,xcode-ninja", |
| 109 } | 109 } |
| 110 ``` | 110 ``` |
| 111 | 111 |
| 112 1. Make sure to sync again to fetch the iOS specific dependencies and | 112 3. Make sure to sync again to fetch the iOS specific dependencies and |
| 113 regenerate build rules using: | 113 regenerate build rules using: |
| 114 | 114 |
| 115 ```shell | 115 ```shell |
| 116 gclient sync | 116 gclient sync |
| 117 ``` | 117 ``` |
| 118 | 118 |
| 119 ## Troubleshooting | 119 ## Troubleshooting |
| 120 | 120 |
| 121 If your build fails, check the iOS columns of [the Mac | 121 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 | 122 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 | 123 see if the bots are green. In general they should be, since failures on those |
| 124 bots will close the tree. | 124 bots will close the tree. |
| OLD | NEW |