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 | 10 |
(...skipping 63 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
74 *Optional*: You can also [install API | 74 *Optional*: You can also [install API |
75 keys](https://www.chromium.org/developers/how-tos/api-keys) if you want your | 75 keys](https://www.chromium.org/developers/how-tos/api-keys) if you want your |
76 build to talk to some Google services, but this is not necessary for most | 76 build to talk to some Google services, but this is not necessary for most |
77 development and testing purposes. | 77 development and testing purposes. |
78 | 78 |
79 ## Setting up the build | 79 ## Setting up the build |
80 | 80 |
81 Since the iOS build is a bit more complicated than a desktop build, we provide | 81 Since the iOS build is a bit more complicated than a desktop build, we provide |
82 `ios/build/tools/setup-gn.py`, which will create four appropriately configured | 82 `ios/build/tools/setup-gn.py`, which will create four appropriately configured |
83 build directories under `out` for Release and Debug device and simulator | 83 build directories under `out` for Release and Debug device and simulator |
84 builds, and generates an appropriate Xcode workspace as well. | 84 builds, and generates an appropriate Xcode workspace |
| 85 (`out/build/all.xcworkspace`) as well. |
85 | 86 |
86 You can customize the build by editing the file `$HOME/.setup-gn` (create it if | 87 You can customize the build by editing the file `$HOME/.setup-gn` (create it if |
87 it does not exist). Look at `src/ios/build/tools/setup-gn.config` for | 88 it does not exist). Look at `src/ios/build/tools/setup-gn.config` for |
88 available configuration options. | 89 available configuration options. |
89 | 90 |
90 From this point, you can either build from Xcode or from the command line using | 91 From this point, you can either build from Xcode or from the command line using |
91 `ninja`. `setup-gn.py` creates sub-directories named | 92 `ninja`. `setup-gn.py` creates sub-directories named |
92 `out/${configuration}-${platform}`, so for a `Debug` build for simulator use: | 93 `out/${configuration}-${platform}`, so for a `Debug` build for simulator use: |
93 | 94 |
94 ```shell | 95 ```shell |
(...skipping 226 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
321 | 322 |
322 ```shell | 323 ```shell |
323 $ xcodebuild -license | 324 $ xcodebuild -license |
324 ``` | 325 ``` |
325 | 326 |
326 Only accepting for all users of the machine requires root: | 327 Only accepting for all users of the machine requires root: |
327 | 328 |
328 ```shell | 329 ```shell |
329 $ sudo xcodebuild -license | 330 $ sudo xcodebuild -license |
330 ``` | 331 ``` |
OLD | NEW |