OLD | NEW |
1 # Checking out and building Chromium for iOS | 1 # Checking out and building Chromium for iOS |
2 | 2 |
3 There are instructions for other platforms linked from the | 3 There are instructions for other platforms linked from the |
4 [get the code](get_the_code.md) page. | 4 [get the code](get_the_code.md) page. |
5 | 5 |
6 ## Instructions for Google Employees | 6 ## Instructions for Google Employees |
7 | 7 |
8 Are you a Google employee? See | 8 Are you a Google employee? See |
9 [go/building-chrome](https://goto.google.com/building-chrome) instead. | 9 [go/building-chrome](https://goto.google.com/building-chrome) instead. |
10 Google employee? See [go/building-chrome](https://goto.google.com/building-chrom
e) instead. | 10 Google employee? See [go/building-chrome](https://goto.google.com/building-chrom
e) instead. |
(...skipping 88 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
99 ``` | 99 ``` |
100 | 100 |
101 Note: you need to run `setup-gn.py` script every time one of the `BUILD.gn` | 101 Note: you need to run `setup-gn.py` script every time one of the `BUILD.gn` |
102 file is updated (either by you or after rebasing). If you forget to run it, | 102 file is updated (either by you or after rebasing). If you forget to run it, |
103 the list of targets and files in the Xcode solution may be stale. | 103 the list of targets and files in the Xcode solution may be stale. |
104 | 104 |
105 You can also follow the manual instructions on the | 105 You can also follow the manual instructions on the |
106 [Mac page](mac_build_instructions.md), but make sure you set the | 106 [Mac page](mac_build_instructions.md), but make sure you set the |
107 GN arg `target_os="ios"`. | 107 GN arg `target_os="ios"`. |
108 | 108 |
109 ## Running `ios_web_shell` | 109 ## Running apps from the commandline |
110 | 110 |
111 Any target that is built and runs on the bots (see [below](#Troubleshooting)) | 111 Any target that is built and runs on the bots (see [below](#Troubleshooting)) |
112 should run successfully in a local build. As of the time of writing, this is | 112 should run successfully in a local build. To run in the simulator from the |
113 only the `ios_web_shell` and `ios_chrome_unittests` targets—see the note at the | 113 command line, you can use `iossim`. For example, to run a debug build of |
114 top of this page. Check the bots periodically for updates; more targets (new | 114 `Chromium`: |
115 components) will come on line over time. | |
116 | |
117 To run in the simulator from the command line, you can use `iossim`. For | |
118 example, to run a debug build of `ios_web_shell`: | |
119 | 115 |
120 ```shell | 116 ```shell |
121 $ out/Debug-iphonesimulator/iossim out/Debug-iphonesimulator/ios_web_shell.app | 117 $ out/Debug-iphonesimulator/iossim out/Debug-iphonesimulator/Chromium.app |
122 ``` | 118 ``` |
123 | 119 |
124 ## Update your checkout | 120 ## Update your checkout |
125 | 121 |
126 To update an existing checkout, you can run | 122 To update an existing checkout, you can run |
127 | 123 |
128 ```shell | 124 ```shell |
129 $ git rebase-update | 125 $ git rebase-update |
130 $ gclient sync | 126 $ gclient sync |
131 ``` | 127 ``` |
(...skipping 60 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
192 | 188 |
193 ```shell | 189 ```shell |
194 $ xcodebuild -license | 190 $ xcodebuild -license |
195 ``` | 191 ``` |
196 | 192 |
197 Only accepting for all users of the machine requires root: | 193 Only accepting for all users of the machine requires root: |
198 | 194 |
199 ```shell | 195 ```shell |
200 $ sudo xcodebuild -license | 196 $ sudo xcodebuild -license |
201 ``` | 197 ``` |
OLD | NEW |