Add doc link for installing Xcode
Change-Id: Ib1973d57fab3c7a509955451c3d65bf1828991e1 No-Try: true Reviewed-on: https://skia-review.googlesource.com/c/skia/+/551889 Auto-Submit: Kevin Lubick <kjlubick@google.com> Reviewed-by: Jorge Betancourt <jmbetancourt@google.com> Commit-Queue: Jorge Betancourt <jmbetancourt@google.com>
This commit is contained in:
parent
551f6185c9
commit
e2d686d96d
@ -61,9 +61,12 @@ bazel build //example:bazel_test_exe --config=clang_mac
|
||||
Similar to the Linux guide, this uses the `clang_mac` configuration (defined in `//.bazelrc`).
|
||||
|
||||
When building for Mac, we require the user to have Xcode installed on their device so that we can
|
||||
use system headers and Mac-specific includes when compiling. Our Bazel toolchain assumes you have
|
||||
`xcode-select` in your path so that we may symlink the user's current Xcode directory in the
|
||||
toolchain's cache. Make sure `xcode-select -p` returns a valid path.
|
||||
use system headers and Mac-specific includes when compiling. Googlers, as per usual, follow the
|
||||
instructions at [go/skia-corp-xcode](http://go/skia-corp-xcode) to install Xcode.
|
||||
|
||||
Our Bazel toolchain assumes you have `xcode-select` in your path so that we may symlink the
|
||||
user's current Xcode directory in the toolchain's cache. Make sure `xcode-select -p`
|
||||
returns a valid path.
|
||||
|
||||
Your Xcode path should resemble `/Applications/Xcode.app/Contents/Developer/`. Either move your
|
||||
Xcode or use `xcode-select` to use the Xcode in this location.
|
||||
|
@ -255,6 +255,9 @@ sudo mount -i -o remount,exec /home/chronos
|
||||
Mac users may want to pass `--ide=xcode` to `bin/gn gen` to generate an Xcode
|
||||
project.
|
||||
|
||||
Googlers should see [go/skia-corp-xcode](http://go/skia-corp-xcode) for
|
||||
instructions on setting up Xcode on a corp machine.
|
||||
|
||||
## iOS
|
||||
|
||||
Run GN to generate your build files. Set `target_os="ios"` to build for iOS.
|
||||
|
Loading…
Reference in New Issue
Block a user