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