aboutsummaryrefslogtreecommitdiffhomepage
path: root/site/user
diff options
context:
space:
mode:
authorGravatar Hal Canary <halcanary@skia.org>2017-03-03 08:29:18 -0500
committerGravatar Skia Commit-Bot <skia-commit-bot@chromium.org>2017-03-03 14:12:15 +0000
commit34a3256e6c38b00932a648f9caaf36c4919fcdf2 (patch)
treebe353457cb5cec485ce86e41419df01d0e3f0200 /site/user
parent2f49314227053dd5acc011e04681faee05c5e0ff (diff)
Documentation: detailed iOS
NOTRY=true Change-Id: I24328509fc902f4f41198e249e82e88eda5dd21d Reviewed-on: https://skia-review.googlesource.com/9189 Reviewed-by: Mike Klein <mtklein@chromium.org> Commit-Queue: Hal Canary <halcanary@google.com>
Diffstat (limited to 'site/user')
-rw-r--r--site/user/build.md6
1 files changed, 6 insertions, 0 deletions
diff --git a/site/user/build.md b/site/user/build.md
index 97add23ebc..17f7857fe4 100644
--- a/site/user/build.md
+++ b/site/user/build.md
@@ -83,6 +83,12 @@ Mac users may want to pass `--ide=xcode` to `bin/gn gen` to generate an Xcode pr
iOS
---
+Run GN to generate your build files. Set `target_os="ios"` to build for iOS.
+This defaults to `target_cpu="arm64"`.
+
+ bin/gn gen out/ios64 --args='target_os="ios"'
+ bin/gn gen out/ios32 --args='target_os="ios" target_cpu="arm"'
+
Googlers who want to sign and run iOS test binaries can do so by running something like
python gn/package_ios.py out/Debug/dm