From feb0745ba6e47d2a1bf5230d64797db632d97f95 Mon Sep 17 00:00:00 2001 From: Dave Tapuska Date: Tue, 7 Feb 2023 21:47:47 +0000 Subject: [PATCH] [ios] Add build instructions for blink on iOS Add build instructions Bug: 1411706 Change-Id: Ia131c997f535a08847e5e3c3f6e0abd02a684a22 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4228477 Commit-Queue: Dave Tapuska Reviewed-by: Ian Vollick Cr-Commit-Position: refs/heads/main@{#1102392} --- docs/ios/build_instructions.md | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/docs/ios/build_instructions.md b/docs/ios/build_instructions.md index 3dacc2717c91f7..e45bfcb5711ec7 100644 --- a/docs/ios/build_instructions.md +++ b/docs/ios/build_instructions.md @@ -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))