Skip to content

Commit

Permalink
[ios] Add build instructions for blink on iOS
Browse files Browse the repository at this point in the history
Add build instructions

Bug: 1411706
Change-Id: Ia131c997f535a08847e5e3c3f6e0abd02a684a22
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4228477
Commit-Queue: Dave Tapuska <dtapuska@chromium.org>
Reviewed-by: Ian Vollick <vollick@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1102392}
  • Loading branch information
dtapuska authored and Chromium LUCI CQ committed Feb 7, 2023
1 parent b331ef7 commit feb0745
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions docs/ios/build_instructions.md
Original file line number Diff line number Diff line change
Expand Up @@ -247,6 +247,26 @@ then it will be impossible to install the application on a device (Xcode will
display an error stating that "The application was signed with invalid
entitlements").
## Building Blink for iOS
The iOS build supports compiling the blink web platform. To compile blink
set a gn arg in your `.setup-gn` file. Note the blink web platform is
experimental code and should only be used for analysis.
```
[gn_args]
use_blink = true
```
Note that only certain targets support blink. `content_shell` being the
most useful.

```shell
$ autoninja -C out/Debug-iphonesimulator content_shell
```

To run on a live device you will need to set the
`com.apple.developer.kernel.extended-virtual-addressing` entitlement.

## Running apps from the command line

Any target that is built and runs on the bots (see [below](#Troubleshooting))
Expand Down

0 comments on commit feb0745

Please sign in to comment.